MD. Abul Hossain

MD. Abul Hossain

Aspiring Full Stack Web Engineer

About

I’m a Full-Stack Web Developer with hands-on experience in building scalable, high-performance, and user-focused web applications. I combine strong technical skills with business understanding to deliver solutions that actually drive results. 🔴 What I Do Best > Build modern web applications using Python, Django, React.js & JavaScript > Create clean, responsive UIs with Tailwind CSS, HTML5 & CSS3 > Develop and customize CMS websites using Wix & Webflow > Optimize websites for performance, SEO, and conversion

Forums

How can one stop AI agents from looping when performing multiple steps?

Month our autonomous research agent spent $180 in API credits during one weekend. The AI agent got stuck while trying to read a webpage. We thought the AI agent would notice the mistake and go to another source. Instead the AI agent kept doing the step every four seconds until the rate limit stopped it.

To solve this problem we stopped letting the AI agent decide when it was stuck. We made an external state tracker that stores the last three actions of the AI agent and checks them before each new call. If the AI agent makes the same tool call twice in a five step period the system stops the loop away and tells the AI agent to use a fallback tool or ask the user for help.

We also set a limit of eight steps for each sub task no matter how hard the user request is. This single rule cut our wasted token spend by 65% in the week. It also made the time needed to finish tasks more predictable.

Always put loops, inside deterministic code instead of depending on prompt instructions to stop them.

Relay is now in ChatGPT

We ve published Relay in ChatGPT.
Working on a deck or doc there? You can now prepare a relay from that conversation, review the context you want to share, and send it with the doc. The person gets your work. Their agent gets the thinking behind it.
Try it on something you actually need to send this week. We d love to help you get your first relay out.
https://chatgpt.com/plugins/plug...

•

7d ago

Cleared for reporting, but for AI? How do you track what data can be used for?

I m the PM on a B2B product (not an engineer, so plain words). A lot of our customer data was cleared long ago for one thing, like dashboards and monthly reports. Now someone wants to use the same tables for an AI feature.

A made-up example: support tickets that were fine for counting volume are now going to be summarized, word for word, by an outside model.

View more