What you need
Python 3.10+ and pip installed.
OpenAI API key or compatible endpoint.
At least 2 GB of free RAM.
Step 1: Install AutoGPT
Clone the repository: `git clone https://github.com/Significant-Gravitas/AutoGPT.git`.
Navigate to the AutoGPT directory and install dependencies: `pip install -r requirements.txt`.
Step 2: Configure your API keys
Copy `.env.template` to `.env` and add your OpenAI API key.
Optionally configure additional API keys for web search, image generation, or file storage.
Set the AI model (default: gpt-4) and token limits.
Step 3: Define your first goal
Run `python -m autogpt` and enter a goal: 'Research the current state of AI agent frameworks and compile a markdown report.'
AutoGPT breaks down the goal into sub-tasks, executes them sequentially, and adjusts based on results.
Step 4: Monitor and control execution
AutoGPT will prompt for approval at each step by default. You can allow or deny individual actions.
Review the reasoning trace to understand why the agent chose specific actions.
Use the continuous mode for trusted tasks where you want minimal interruptions.
Step 5: Add tools and plugins
AutoGPT supports plugins for web browsing, code execution, file operations, and more.
Enable only the tools your task needs. Disable write/file tools for read-only tasks.
Test plugin configurations with small tasks before deploying to larger workflows.
FAQ
Is AutoGPT safe to run unattended?
Always supervise the first few runs. Use approval mode initially, then switch to continuous mode only after you trust the agent's behavior with your specific setup.
Can AutoGPT use local models?
Yes. AutoGPT supports any OpenAI-compatible API endpoint, including Ollama and LocalAI.
Install AutoGPT
- Clone the AutoGPT repository
- Install Python dependencies
- Configure API keys in .env
- Run with a goal in approval mode
- Add tools per task requirements
- Monitor execution and adjust permissions
Ready to see the full catalog?
Browse all 42 agent-ready business kits. Each includes pre-configured agent roles, prompts, workflows, install steps, and approval gates.
Shop all business kits