Files
AutoGPT/classic/forge
Nicholas Tindle 864c5a7846 fix(classic): approve+feedback now executes command then sends feedback
Previously, when a user selected "Once" or "Always" with feedback (via Tab),
the command was NOT executed because UserFeedbackProvided was raised before
checking the approval scope. This fix changes the architecture from
exception-based to return-value-based.

Changes:
- Add PermissionCheckResult class with allowed, scope, and feedback fields
- Change check_command() to return PermissionCheckResult instead of bool
- Update prompt_fn signature to return (ApprovalScope, feedback) tuple
- Add pending_user_feedback mechanism to EpisodicActionHistory
- Update execute() to handle feedback after successful command execution
- Feedback message explicitly states "Command executed successfully"
- Add on_auto_approve callback for displaying auto-approved commands
- Add comprehensive tests for approval/denial with feedback scenarios

Behavior:
- Once + feedback → Execute command, then send feedback to agent
- Always + feedback → Execute command, save permission, send feedback
- Deny + feedback → Don't execute, send feedback to agent

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 22:32:43 -06:00
..

🚀 AutoGPT-Forge: Build Your Own AutoGPT Agent! 🧠

🌌 Dive into the Universe of AutoGPT Creation! 🌌

Ever dreamt of becoming the genius behind an AI agent? Dive into the Forge, where you become the creator!


🛠️ Why AutoGPT-Forge?

  • 💤 No More Boilerplate! Don't let the mundane tasks stop you. Fork and build without the headache of starting from scratch!
  • 🧠 Brain-centric Development! All the tools you need so you can spend 100% of your time on what matters - crafting the brain of your AI!
  • 🛠️ Tooling ecosystem! We work with the best in class tools to bring you the best experience possible!

🚀 Get Started!

The getting started tutorial series will guide you through the process of setting up your project all the way through to building a generalist agent.

  1. AutoGPT Forge: A Comprehensive Guide to Your First Steps
  2. AutoGPT Forge: The Blueprint of an AI Agent
  3. AutoGPT Forge: Interacting with your Agent
  4. AutoGPT Forge: Crafting Intelligent Agent Logic