# AutoGPT on ORB Cloud

AutoGPT reads `OPENAI_API_BASE_URL` from `.env`. Zero config.

## orb.toml

```toml
[agent]
name = "autogpt"
lang = "python"
entry = "autogpt/main.py"

[agent.env]
HOME = "/root"
OPENAI_API_KEY = "${OPENAI_API_KEY}"

[source]
git = "https://github.com/Significant-Gravitas/AutoGPT"
branch = "master"

[build]
steps = [
  "pip install --break-system-packages -r requirements.txt",
]

[llm]
base_url = "https://api.openai.com"

[resources]
runtime = "4GB"
disk = "8GB"
```

ORB sets `OPENAI_API_BASE_URL=http://127.0.0.1:8080`. AutoGPT reads it automatically.
