mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-05 20:35:10 -05:00
Add a layered permission system that controls agent command execution:
- Create autogpt.yaml in .autogpt/ folder with default allow/deny rules
- File operations in workspace allowed by default
- Sensitive files (.env, .key, .pem) blocked by default
- Dangerous shell commands (sudo, rm -rf) blocked by default
- Interactive prompts for unknown commands (y=agent, Y=workspace, n=deny)
- Agent-specific permissions stored in .autogpt/agents/{id}/permissions.yaml
Files added:
- forge/forge/config/workspace_settings.py - Pydantic models for settings
- forge/forge/permissions.py - CommandPermissionManager with pattern matching
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🚀 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.