Agent Zero
Maintained by Agent Zero project (agent0ai)
An open source, general-purpose agent framework that works inside its own Linux environment and can delegate tasks to subordinate agents.
Note
Practise with Agent Zero in a hosted lab
Overview
Agent Zero is an open source, MIT-licensed agentic framework. It runs as an AI agent with its own Linux workspace, usually inside a Docker container, where it can use a terminal, a built-in browser and desktop applications to research, write and run code, and work with documents. It is general purpose rather than a dedicated coding client. The agent can hand parts of a task to subordinate agents, each with its own instructions and conversation, and then combine their results. Its behaviour is driven by prompt files that you can inspect and change, and it can be extended with plugins, skills, agent profiles, MCP servers and agent-to-agent connections. Projects keep memory, instructions and secrets separate per job, and a task scheduler can run work later. You use it through a web UI, and you choose a main model for chat and a utility model for background work such as summaries.
What it does
- Runs an autonomous agent inside its own Linux environment with a terminal, a browser and desktop apps.
- Delegates parts of a task to subordinate agents and combines their results.
- Keeps memory, instructions and secrets separate per project.
- Lets you inspect and change the prompt files that define the agent's behaviour.
- Extends tools through plugins, skills, MCP servers and agent-to-agent connections.
- Schedules tasks to run later from its task scheduler.
Suitable use cases
- Exploring how a general-purpose autonomous agent plans, uses tools and delegates work
- Research and prototyping tasks that combine web browsing, code and documents
- Building customised agents by editing prompts, profiles and plugins
- Experimenting with multi-agent delegation in an isolated environment
Prerequisites
- Docker, or the Agent Zero desktop launcher for Windows, macOS or Linux, or the install script for a server
- A supported AI account, a model provider API key, or a local model server
- Familiarity with containers, isolated environments and reviewing what an autonomous agent did
Limitations
- It acts autonomously in a real environment; the project advises running it in Docker or another isolated environment.
- Mounting your home directory or granting broad file and command permissions exposes those files to the agent.
- It is a general-purpose agent, not an IDE-integrated coding client, so code changes need a separate review step.
- Prompts, files and tool output are sent to the configured model provider unless a local model is used.
- Actions that involve accounts, money, production systems or private data need human review.
- In a Code Crushers lab it runs directly in the lab machine rather than in its own Docker image, so features that need that image's extra services, such as its built-in web search, may not work.
Authentication
You sign in inside the tool. Code Crushers never sees these credentials.
- Sign in with an account or plan at a model provider
- Use a model-provider API key
- Works with a local or self-hosted model
Agent Zero itself needs no account. During onboarding you choose a cloud provider with an API key, an AI account sign-in, or a local model server. Documented account sign-ins include a ChatGPT account for Codex models, through device code sign-in, and provider plugins such as OpenCode Go. Keys belong in its project secrets or settings, not in prompts. Code Crushers never collects or stores these credentials.
Model usage
Charged separately from Code Crushers credits
Model usage is billed by the provider you configure: your API account at that provider or your subscription plan when you sign in with an account. Local models have no provider charge. Code Crushers credits pay only for lab infrastructure and never pay for model usage.
