AutoGPT
Significant Gravitas
An open-source autonomous AI agent framework capable of autonomously completing complex multi-step tasks.
Overview
AutoGPT is one of the earliest autonomous AI agent projects to attract widespread attention, released in 2023. It can autonomously complete multi-step tasks based on high-level goals provided by users. AutoGPT combines GPT-4's reasoning capabilities, internet search, file storage, and execution capabilities to handle complex tasks such as research, content creation, and data analysis. The latest AutoGPT Platform provides visual building tools, allowing users to create custom agents via drag-and-drop.
Installation
AutoGPT can be installed via Docker or directly from source. Docker is recommended to simplify dependency management. Python 3.10+, Docker, and an OpenAI API key are required. After installation, you need to configure the environment variables file.
# Clone the repository
git clone https://github.com/Significant-Gravitas/AutoGPT.git
cd AutoGPT
# Use Docker
cp .env.example .env
# Edit .env to add API key
docker compose run --rm auto-gpt
# Or run directly
cd autogpts/autogpt
pip install -e .
./run.shConfiguration
AutoGPT is configured via a .env file, including LLM provider, API keys, memory backend, plugins, and more. Multiple LLMs can be configured, such as OpenAI, Anthropic, and local models. Redis is supported as a memory backend, providing persistent storage.
# .env configuration
OPENAI_API_KEY=your-key-here
MEMORY_BACKEND=redis
REDIS_HOST=localhost
REDIS_PORT=6379
ALLOWED_COMMANDS=web_search,write_file,read_file
FAST_LLM=gpt-4o-mini
SMART_LLM=gpt-4oSetting Goals
When using AutoGPT, users set high-level goals and the agent autonomously decomposes and executes them. Goals should be specific, measurable, and achievable. AutoGPT generates a task list, executes it step by step, and adjusts the plan based on results.
# Start AutoGPT and set a goal
./run.sh
# Enter agent name: ResearchAssistant
# Enter goals:
# 1. Research the latest AI agent technologies
# 2. Summarize key findings
# 3. Write to the research_report.md fileAgents
AutoGPT supports multiple agent types, including general agents, specialized agents, and custom agents. Each agent has its own role, goals, and constraints. You can visually create and configure agents via the AutoGPT Platform, defining workflows and tools.
Memory
AutoGPT has long-term memory capabilities, supporting both file system and Redis memory backends. Agents can store and retrieve information, maintaining context across sessions. The memory system uses vector embeddings for semantic search, supporting efficient information retrieval.
# Configure Redis memory
MEMORY_BACKEND=redis
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your-password
# Or use the file system
MEMORY_BACKEND=local
MEMORY_PATH=./memoryPlugins
AutoGPT supports a plugin system to extend functionality. Plugins can add new tools, data sources, operational capabilities, and more. The community provides a large number of plugins, such as web search, email sending, and database access. Users can also develop custom plugins.
# Install plugins
pip install autogpt-plugin-twitter
pip install autogpt-plugin-discord
# Enable in configuration
ALLOWLISTED_PLUGINS=TwitterPlugin,DiscordPluginWorkspaces
AutoGPT uses the concept of workspaces to manage an agent's files and resources. Each agent has an independent workspace that stores generated files, configurations, and data. Workspaces support persistence, allowing agents to maintain state across multiple runs.
Voice Mode
AutoGPT supports voice interaction mode, allowing users to converse with agents via voice. Voice mode uses text-to-speech and speech recognition technologies, providing a more natural interaction experience. It is suitable for accessibility and mobile scenarios.
# Enable voice mode
./run.sh --speak
# Or in configuration
SPEECH_MODE=TrueDocker Setup
Docker deployment simplifies the installation and running of AutoGPT. With docker-compose, you can start all services with one click, including AutoGPT, Redis, plugins, and more. Docker ensures environment consistency and facilitates deployment and scaling.
# docker-compose.yml
version: '3'
services:
autogpt:
image: significantgravitas/auto-gpt
env_file: .env
volumes:
- ./workspace:/app/workspace
depends_on:
- redis
redis:
image: redis:alpine
ports:
- "6379:6379"More AI Guides
Claude Code
A terminal-native AI coding agent from Anthropic that autonomously understands codebases, edits files, runs commands, and completes multi-step development tasks.
OpenAI Codex
An official command-line AI coding assistant from OpenAI, built on the GPT model family and optimized for code generation and development workflows.
Trae
ByteDance's AI-native IDE—the first of its kind in China—deeply integrates LLMs such as Doubao and DeepSeek, supporting natural-language interaction and multimodal collaboration.
Cursor
A next-generation AI code editor from Anysphere with a built-in Composer agent that can run multiple coding tasks in parallel.
GitHub Copilot
An AI coding assistant co-developed by GitHub and OpenAI, offering code completion, chat, and an Agent mode.
Windsurf
An AI-native IDE from Codeium with a built-in Cascade agent that deeply couples the terminal and editor.