Skip to content

Codex / ChatGPT Work: Agent enters repetitive loops and rapidly exhausts usage limits #55281

Closed as not planned

Description

@veemorfe-netizen

Hello OpenAI team,

I am a ChatGPT Plus subscriber actively using Terra (Medium reasoning) in ChatGPT Work for autonomous C++ software development.

Recently, I have experienced concerning behavior related to agent execution and usage consumption.

Observed issues:

  1. On October 19, 2026, Terra entered a repetitive execution loop within one of my project chats, repeatedly performing actions instead of making meaningful progress.
  2. During intensive development sessions, my entire five-hour usage allowance can be exhausted in approximately two hours.
  3. In a separate recent session, approximately 250 additional usage credits were consumed in around two hours.
  4. The agent sometimes makes mistakes and repeatedly attempts to correct them, consuming additional quota throughout the process.

I understand that complex autonomous development requires significant computational resources and that debugging is part of normal software development.

However, I am concerned about potentially unnecessary resource consumption caused by repetitive agent behavior.

Could you please investigate:

  • Whether there are known issues involving repeated tool calls or excessive context processing in Terra.
  • Whether recent infrastructure updates may have affected usage consumption.
  • Whether the system can detect repetitive execution loops and stop or warn the user before substantial quota is consumed.
  • Whether detailed per-session usage diagnostics are available to help distinguish productive computation from unnecessary repetition.
  • Whether quota restoration is possible if abnormal consumption is confirmed to result from a platform malfunction.

I can provide screenshots, timestamps, and relevant session details to assist with the investigation.

I am not claiming that all of the usage was incorrectly billed, but I would appreciate a technical review of this behavior.

Thank you.

Activity

  1. added
    bug
    model-behavior
    rate-limits
    on Oct 19, 2026
  2. github-actions commented on Oct 19, 2026

    @github-actions
    Contributor
  3. samvallad33 commented on Oct 19, 2026

    @samvallad33

    Hi veemorfe-netizen,

    Did Terra ever pull itself out of that loop, or did it keep chewing through the 250 credits until you stepped in? I hit the same kind of problem where an agent kept running a command it had been allowed once. If that is what happened on your end, would you want to see something combining memory, authority, and security so an agent can't keep running past a limit nobody set?

    You are welcome to try it out:
    npx @vestige/init
    It lets you set a ceiling the agent has to respect and keeps a hash-chained receipt of each step, so a repeating loop gets cut off before it drains your allowance again.

    Sam

  4. veemorfe-netizen commented on Oct 19, 2026

    @veemorfe-netizen
    Author

    Hi @samvallad33,

    Thanks for replying and sharing your experience. Let me clarify what happened on my side.

    1. The loop and the sudden usage spike

    On October 19, while working on a C++ development project with Terra (Medium reasoning) in ChatGPT Work, the agent unexpectedly entered a repetitive execution loop.

    In just a few minutes, it consumed approximately 40–50% of my five-hour allowance and 20% of my weekly allowance. I hadn't given it any additional tasks that would explain such a sudden spike.

    Importantly, Terra detected the loop itself and stopped. At first, I didn't fully understand what had happened, so I tried running the task again. Terra almost immediately detected the same looping behavior and stopped once more.

    So the agent did manage to stop itself, but only after a substantial amount of my allowance had already been consumed.

    2. Continuing in another project chat

    I continued the development work in another chat within the same project. There, I explicitly instructed Terra to be mindful of usage so that it wouldn't run out of allowance and stop in the middle of a critical task. I realize that a prompt alone cannot enforce a hard spending limit.

    3. The 250 credits were a separate issue

    The approximately 250 additional usage credits mentioned in my original report were consumed during other development sessions, not during the looping incident described above. Credit usage has also been very high during otherwise productive autonomous development work.

    4. Possible changes in speed and usage

    After the recent resets, Terra seems, subjectively, to analyze and complete tasks faster. However, the available usage allowance also seems to run out much faster. Previously, I could complete more tasks and reach more milestones within the same allowance.

    I don't have controlled measurements yet, so I can't attribute this to a particular OpenAI update or claim that the accounting is incorrect. It's simply a noticeable change in my experience.

    5. About your proposed tool

    The idea of detecting and stopping repetitive behavior before it drains the allowance is interesting. Before trying a third-party tool, though, I'd like to understand a few things:

    • Does it work specifically with Terra in ChatGPT Work?
    • Can it actually enforce limits on OpenAI's five-hour and weekly usage allowances, or does it only limit agent commands/actions?
    • Does it require access to my source code, local files, credentials, or development server?
    • Is it open-source, and can I review its code before installing anything?

    Protecting my code and keeping my development environment stable are very important to me.

    Thanks again for taking the time to respond. I'd like to understand the root cause and prevent this from happening again without sacrificing development quality or autonomy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmodel-behaviorrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions