agent-zero README

The project's README from github.com/agent0ai/agent-zero. As one markdown file: README.md.

Agent Zero Banner

Agent Zero

Give your agent a full Linux computer.

Agent Zero is an open agent framework for work that needs more than chat: a Dockerized Linux desktop, a browser with DOM annotation, live document cowork, projects, skills, plugins, and a bridge back to your host machine.

Website Docs Discord GitHub Sponsors Ask DeepWiki

Quick Start | Why Agent Zero | Try These First | Deep Dives | Docs

Agent Zero driving Blender in its built-in XFCE desktop

Why Agent Zero

Feature Why it matters
Full Linux desktop The agent can use real GUI software, terminals, files, and desktop apps inside the Canvas.
Browser DOM annotation Click page elements and turn them into inspect, change, lift, or review instructions.
Live document cowork Edit Markdown, Writer, Spreadsheet, and Presentation files together instead of losing work in chat.
Plugin Hub Install 100+ community plugins or publish your own extension points.
Projects and memory Keep files, instructions, secrets, memories, repositories, and model-preset choices isolated per project.
Host-machine bridge Connect with the A0 CLI so the same agent can work in your real local repositories.
Multi-agent cooperation Let agents delegate research, coding, analysis, or review tasks to focused subagents.
Transparent internals Prompts, tools, plugins, skills, and settings are inspectable and editable.

Quick Start

The desktop A0 Launcher is the fastest guided path on a personal machine. Download it, open it, and let it check Docker, create Instances, manage ports, and connect to local or remote Agent Zero installs.

Agent Zero runs wherever Docker runs, from a $6 VPS or Raspberry Pi to a local workstation or GPU server.

Architecture macOS Linux Windows
x86 Mac Intel Linux x86 Windows x86
ARM64 Mac Apple Silicon Linux ARM64 Windows ARM64

See the A0 Launcher v1.7 release for release notes and updater metadata. See the Launcher guide for the first-run walkthrough.

Other install paths

A0 Install

Use A0 Install when you want the terminal path: SSH sessions, servers, recovery shells, or a scriptable setup. It creates Dockerized Agent Zero instances, mounts each instance's data into /a0/usr inside the container, and uses a reuse-before-setup policy: it tries your current Docker CLI configuration, DOCKER_HOST, Docker contexts, and known local Docker-compatible endpoints before setting up a runtime.

macOS / Linux

curl -fsSL https://bash.agent-zero.ai | bash

Windows PowerShell

irm https://ps.agent-zero.ai | iex

Headless / scripted

For servers and automation, run the installer in Quick Start mode so it creates one instance and exits without opening menus:

curl -fsSL https://bash.agent-zero.ai | bash -s -- --quick-start --name agent-zero --port 5080
& ([scriptblock]::Create((irm https://ps.agent-zero.ai))) -QuickStart -Name agent-zero -Port 5080

Use --skip-runtime-setup / -SkipRuntimeSetup when Docker must already be working and the installer should not try to set up a runtime. See the A0 Install repository for all installer flags.

Docker already installed? Run this directly

docker run -p 80:80 -v a0_usr:/a0/usr agent0ai/agent-zero

Open the Web UI, configure your LLM provider, and start with a concrete task. For the full setup and onboarding experience, see the Installation guide.

Troubleshooting

Try These First

Deep Dives

A Real Linux Desktop in the Canvas

Agent Zero opens its own Linux desktop inside the right-side Canvas. Not a remote VM, not a shared clipboard, but a real XFCE desktop session running in the container.

That means the agent can drive real desktop software: open Blender to model a 3D object, jump into a terminal window, manage files visually, run a GUI tool that has no API.

You watch every action, and you can intervene at any moment because your mouse and keyboard share the same desktop.

See the Desktop guide for the walkthrough, prompt examples, and how Desktop differs from Browser.

Native Browser With DOM Annotations

Annotating a webpage element in the Agent Zero browser

Agent Zero ships a built-in Browser with an optional live surface in the Canvas. The agent can open pages, read them, click, type, upload files, and take screenshots - the usual. The unusual part is Annotate mode.

Annotate mode turns any webpage into an interactive directive surface. Click an element to:

The Docker browser is the default live Browser surface. Browser history keeps screenshots of important steps, so older chats can still show what the agent saw. The Browser also supports Chrome extensions inside the Docker browser, and Bring Your Own Browser through the A0 CLI Connector lets the agent drive Chrome, Edge, Brave, Opera, Vivaldi, or Chromium on your own machine.

See the Browser guide for screenshots, settings, host-browser setup, and troubleshooting.

Cowork on Documents

Markdown Editor With Live Cowork

Agent Zero writing a TODO plan in the Canvas markdown editor

The Canvas includes a rich Markdown editor designed for genuine cowork. Ask the agent to "write a plan to do X in a TODO.md in the open doc" and you'll see the file appear in the editor, character by character, while you keep typing in another section.

It's not a preview pane. It's a real editor with toolbar, formatting buttons, tables, and an editable source view - built so that the agent's edits and yours are equal first-class operations on the same document.

Use it for plans, TODOs, meeting notes, RFCs, project handoffs, or any artifact where the deliverable should live as text rather than be trapped inside chat scrollback.

LibreOffice Integration

LibreOffice Writer, Calc, and Impress are wired up so you can type by hand while Agent Zero creates, updates, saves, and verifies the same files in real time.

ODT, ODS, and ODP binary formats are first-class citizens in the Agent Zero Desktop environment to align with the Open Document Format (ODF).

Use the Desktop toolbar to create and edit Writer, Spreadsheet, and Presentation LibreOffice files.

Plugin Hub - 100+ Community Plugins

Agent Zero Plugin Hub showing community plugins

Agent Zero is built for extension, not just configuration. The built-in Plugin Hub browses a growing catalog of community plugins - currently more than 100, covering:

Install with a click from the Web UI, or publish your own to the index repository. Combined with custom prompts in prompts/, custom tools in tools/, MCP servers, A2A connectors, and project-scoped configuration, Agent Zero gives you a real surface area to shape the agent into whatever you need.

See the Skills guide, the Create a Small Plugin tutorial, and the MCP setup guide.

Use Your OpenAI Codex Plan

OAuth LLM plans in Agent Zero

Agent Zero connects to your OpenAI Codex plan through the new OAuth flow. Sign in with your account, pick the Codex-backed provider, and let Agent Zero use the plan you already have. Click "Connect", enter the device code in the OpenAI page, choose your model, and you're set.

This is the first step toward account-backed LLM plans in Agent Zero. More integrations are coming, including Gemini CLI and Claude Code through extra-usage.

A0 CLI Connector: Extend Onto Your Host Machine

A0 CLI driving the host browser through a Google Cloud VM creation flow

The A0 CLI Connector is not a separate CLI agent. It connects to a running Agent Zero instance and gives that instance a terminal-native bridge to your host machine - so the same agent (with all its memory, projects, and skills) can also work on real files outside the Docker container.

Install the connector on the machine you want Agent Zero to work on, not inside the Agent Zero container.

macOS / Linux

curl -LsSf https://cli.agent-zero.ai/install.sh | sh

Windows PowerShell

irm https://cli.agent-zero.ai/install.ps1 | iex

Then run a0 to connect your terminal to an existing Agent Zero instance. It can usually discover a local instance automatically, or you can point it at a remote URL hosted somewhere else, such as a VPS or tunnel.

This is especially useful if you:

For full setup, see the A0 CLI Connector guide (or the in-repo guide).

Projects, Skills, Agent Profiles, and Model Presets

Projects isolate workspaces, instructions, memory, secrets, knowledge, repositories, and model-preset choices. Clone a public or private Git repo into a project and give the agent context that belongs to that work alone.

Skills can be loaded on demand by Agent Zero, or pinned from the chat input when you want a specific procedure to stay active.

Agent Profiles change the broader working style of the current chat.

Model Presets are named shortcuts for model setups, so you can quickly switch between fast, balanced, cheap, local, or high-power model choices.

Multi-Agent Cooperation

Every agent can create subordinate agents to break down work. The superior gives tasks and receives reports; subagents keep their own contexts focused and return their findings when done.

This makes Agent Zero useful for research, software engineering, data analysis, plugin development, and tasks where several specialized perspectives are better than one overloaded context.

Transparent and Extensible by Design

Almost nothing is hidden. Prompts live in prompts/, tools live in tools/ or plugins, and built-in behavior can be inspected, changed, replaced, or extended.

Agent Zero supports plugins, MCP, A2A, custom tools, custom prompts, project-scoped configuration, environment-based deployment settings, and a Web UI designed to keep the agent's work readable in real time.

Time Travel

Time Travel gives Agent Zero-owned /a0/usr workspaces snapshot history, diff inspection, travel, and revert. It is designed for recoverable agent work: see what changed, compare files, inspect a past state, and roll back when needed.

Time Travel

It is not a replacement for Git or backups. It is a practical safety layer for the workspace where agents are actively creating and editing files.

Real-World Use Cases

Documentation

I want to... Start here
Install or update Agent Zero Installation
Learn the UI and basic workflow Quickstart
Browse, annotate, and use Browser screenshots Browser guide
Use the Linux desktop and LibreOffice Desktop guide
Connect Agent Zero to host-machine files and shell A0 CLI Connector
Use projects and Git workspaces Projects guide
Create a small plugin Create a Small Plugin
Add or remove active skills Skills guide
Create or switch Agent Profiles Agent Profiles
Create or switch Model Presets Model Presets
Manage and curate memories Memory guide
Learn the everyday chat controls Usage guide
Configure MCP or external tools MCP setup
Understand the architecture and internals DeepWiki for Agent Zero
Build an advanced extension Extensions
Contribute to the project Contributing
Troubleshoot problems Troubleshooting

Build With Us

Agent Zero is built for people who want to understand and shape their tools.

You can help by improving docs, creating skills, publishing plugins, testing model/provider setups, reporting bugs, sharing workflows, or contributing core improvements. Start with the Contributing guide, browse the Plugin Hub, or bring ideas to Discord.

Community and Support

Space Agent is the related, more polished product direction for the agent-shaped workspace. Agent Zero remains the open framework and Linux-powered workbench.

Safety Model

Agent Zero is powerful because it can use a real environment.

agent-zero (agent0ai/agent-zero)

Searching Database…

这是什么?Agent Zero 是一个开源的智能体框架,给你的 AI 智能体配备一台完整的 Docker 化 Linux 电脑——有真正的桌面、浏览器、文档和插件——而不只是一个聊天窗口。
这是一个安装就能用的成品应用,还是需要我写代码调用的框架?其实两者都是:它是一个以独立应用形式交付的框架。你运行一个 Docker 实例,通过 Web 界面操作一切,同时提示词、工具和插件都是用 Python 写的,可以查看和修改。
我怎么把它跑起来?最简单的方式是用桌面版 A0 Launcher:下载并打开它,它会自动检查 Docker、创建实例和管理端口。如果你已经装好了 Docker,也可以直接运行镜像,然后打开 Web 界面。
我需要提前装好什么?只需要 Docker——智能体的一整套 Linux 桌面、浏览器和工具都在容器里,不需要其他东西。第一次执行任务前,你可以在 Web 界面里选择你的 LLM 提供商。
安装时有什么容易踩的坑?常见的坑是环境问题:Docker 必须已安装并在运行,而且默认的 80 端口经常被占用——在 Launcher 里换一个端口,或者自己映射一个,比如 -p 5080:80。
我的电脑能运行它吗?macOS(Intel 和 Apple 芯片)、Windows 和 Linux 都支持,各有 x86 和 ARM64 版本,无界面的服务器和树莓派也行——只要 Docker 能跑的地方它就能跑。
它对一个网页实际能做些什么?内置浏览器可以打开网页、点击、输入、上传文件和截图。特别的是 Annotate 模式:点击页面上的任何元素就能查看它的 DOM、修改样式、把组件提取到你自己的项目里,或者钉上评审批注,然后让智能体去实现。
它能和我实时共同编辑文档吗?可以——Canvas 里有一个 Markdown 编辑器,智能体和你可以同时在一个文件里输入,LibreOffice Writer、Calc 和 Impress 也已接入,ODT、ODS 和 ODP 都是原生支持的格式。
如果智能体把我的工作区文件搞坏了怎么办?Time Travel 会为 /a0/usr 工作区保留快照历史:可以查看差异、对比过去的状态并还原。README 强调它只是一层安全保障,不能替代 Git 或备份。
它是一直待在容器里,还是能碰到我的真实电脑?默认情况下它隔离在 Docker 里。如果你在某个机器上安装 A0 CLI Connector 并运行 a0,同一个智能体——连同它的记忆、项目和技能——就能通过一条受控通道在你的真实本地仓库里工作。
Creator
agent0ai
Size
62.7 MB
Stars
19.5K
Age
2y
Commits · 90 Days