CRE-2025-0169: AutoGPT Agent Runaway Loop Detection#147
Open
piyzard wants to merge 1 commit intoprequel-dev:mainfrom
Open
CRE-2025-0169: AutoGPT Agent Runaway Loop Detection#147piyzard wants to merge 1 commit intoprequel-dev:mainfrom
piyzard wants to merge 1 commit intoprequel-dev:mainfrom
Conversation
Contributor
Author
Contributor
|
@piyzard thanks for submitting the rule! if you don't mind could you please share the test repo with me aswell as right now the repo link is pointing to the actual cre repo and it's giving 404. Here's me username: amanycodes |
amanycodes
suggested changes
Oct 30, 2025
| window: 300s | ||
| event: | ||
| source: cre.log.autogpt | ||
| match: |
Contributor
There was a problem hiding this comment.
Hi @piyzard mostly LGTM just wanted to mention that the test logs contain all the 6 issues you mentioned but the regex pattern only covers 2 cases:
- regex: 'REASONING.*I need to.*research'
count: 3
- regex: 'REASONING.*I should.*research'
count: 2
why is that?
| - metadata: | ||
| kind: prequel | ||
| id: AG3xK8mP2qQzYvWr9aLfT7 | ||
| hash: YpQ9Lm4Zk8TnVb2Ry6HwGs |
Contributor
There was a problem hiding this comment.
hash is not a valid field.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #129
/claim #129
🎯 Overview
This PR introduces a comprehensive detection rule for AutoGPT Agent Runaway Loop Execution - addressing critical silent failures where agents get stuck in endless planning/research cycles without making meaningful progress. The rule identifies repetitive reasoning patterns that can consume excessive resources and prevent task completion even when left running for hours.
CRE Playground Links
CRE-2025-0169 Playground: Test Rule
📊 AutoGPT Issues Covered
REASONING: I need to research the Volvo V60 turning circle specificationsREASONING: I should research and gather information about the exact specificationsLoop iteration 8 detected...Attempting to fix JSON by finding outermost brackets...REASONING: I need to research and analyze the turning circle in both metric and imperial units🧪 Testing & Validation
cat rules/cre-2025-0169/test.log | preq -r rules/cre-2025-0169/autogpt-runaway-loop.yaml -d🎬 Demo Environment
Repo link: https://github.com/prequel-dev/cre/tree/main/examples/autogpt-cre-demo
Screencast.from.2025-09-01.14-57-08.mp4
Features:
References