Please enable JavaScript.
Coggle requires JavaScript to display documents.
AutoGPT - Coggle Diagram
AutoGPT
Execution cycle
Load current state
Current task and plan
Conversation / run history
Relevant memory
Select next task
Choose an eligible task
Check dependencies
Check run limits
Reason & choose action
Decide what to do next
Select suitable tool
Prepare structured arguments
Validate before action
Tool exists and schema is valid
Permissions and policy allow it
Budget and limits allow it
Human approval gate
Pause for sensitive / consequential actions
Ask user to approve or deny
On denial: stop or choose a safe alternative
Execute action
Call tool / integration
Run untrusted code in a sandbox
Observe result
Capture output
Capture errors
Retain evidence and provenance
Evaluate task result
Did the action work?
Is the output useful and relevant?
Update task state
Mark task status
Record observations
Update execution history
Continue or finish
More tasks → select next task
Goal reached → final verification
Agent configuration
Model & reasoning
Select LLM
Set model parameters
Agent instructions
Role and objective
Operating rules
Success criteria
Tools & integrations
Browser / search
Code execution
Files
APIs and databases
Memory settings
Short-term / run context
Long-term memory
Knowledge sources
Execution controls
Approval policy
Iteration / time limits
Token or cost budget
Memory & context
Read memory
Retrieve relevant facts before reasoning
Load task-specific context
Working memory
Current objective
Plan and task state
Recent observations
Long-term memory
Store reusable information
Avoid storing unnecessary or sensitive data
Write / update memory
After useful observations
After task completion
Keep memory consistent with updated state
Safety & human oversight
Guardrails
Policy checks
Input / output validation
Sensitive data handling
Permission checks
Tool access permissions
Scope of allowed actions
Human-in-the-loop
Plan approval
Action approval
Clarification requests
Limits
Maximum iterations
Time limits
Cost / token budgets
Final delivery & feedback
Final verification
Success criteria met?
Output complete?
Evidence and format checked?
Prepare deliverable
Generate requested output
Attach files / artifacts
Summarize actions and results
Communicate limitations
Report failures or partial completion
State assumptions and uncertainty
User feedback
User accepts → complete
User requests changes → update goal and run again
Tool & environment layer
Tool registry
Available tools
Tool descriptions and schemas
Tool routing
Choose tool for the current action
Select an alternative if unavailable
Execution environment
Browser / API environment
File workspace
Code sandbox
Tool failure handling
Transient failure → bounded retry
Bad arguments → correct and retry
Unavailable tool → alternative
Plan problem → send back to planner
Evaluation & verification
Task-level evaluation
Evaluate each tool result
Detect failure or low-quality output
Trigger retry or replanning
Goal-level evaluation
Compare final result with success criteria
Check completeness and correctness
Evidence checks
Validate claims against outputs / sources
Identify uncertainty and limitations
If verification fails
Return to planner
Revise plan and resume execution
Observability & run management
Run lifecycle
Create run
Pause / resume
Stop / cancel
Tracing & logs
LLM calls
Tool calls
Decisions and transitions
Monitoring
Progress
Errors
Latency and resource usage
Recovery
Resume from saved state
Inspect failed step
User entry & onboarding
Open AutoGPT
Choose workspace
Create or select an agent
Set up account / environment
Connect required integrations
Review permissions
Start a task
Enter goal
Provide context and files
Define constraints
Specify expected output
Goal understanding
Interpret user request
Identify intent
Extract constraints
Identify deliverable
Check missing information
If essential details are missing → ask user
Merge clarification into task context
Define completion criteria
What counts as success?
What evidence is required?
Planning & task decomposition
Build task plan
Break goal into subtasks
Identify dependencies
Order tasks
Define expected result per task
Review plan
Show plan when approval is required
User can approve
User can request revision
Revise plan
Update steps and dependencies
Return for review when needed