Alessandro 25542e9950 Require remote terminal permission for input_remote
input_remote forwards keyboard text as terminal code, allowing a custom
profile to bypass a blocked code_execution_remote capability through an
independently enabled input tool.

Require the canonical bundled remote terminal action in shared policy
resolution while retaining input_remote's independent permission. Apply
the dependency to execution, text prompts, and native tool schemas, and
recheck it inside the input wrapper before rewriting args or dispatching.
Output-only grants, default-deny policies, and profile tool-name overrides
cannot authorize the terminal operation.

Document the permission dependency and add 19 regressions covering zero
dispatch on denial, action-specific grants, prompt/schema visibility,
authorized input, host access controls, and framework-owned allow_running.

Validation: 232 focused tests passed in both Conda a0 and Docker's framework
runtime. A smoke test through the real CLI shell backend verified denied
dispatch, authorized idle and interactive input, and permission revocation.
Restarted the live Agent Zero runtime and verified HTTP health.
2026-11-01 07:49:29 +01:00
2026-07-10 18:38:07 +02:00
2026-03-10 22:23:30 +01:00
2024-11-18 21:16:50 +01:00
2026-07-16 21:36:59 +02:00
2025-07-29 12:52:20 +02:00
2025-07-18 10:52:01 +02:00
2026-03-05 17:28:11 +01:00
2026-03-06 09:14:27 +01:00
2025-01-03 23:01:21 +01:00

Agent Zero Banner

Agent Zero

Give your agent a full Linux computer.

Agent Zero is an open-source AI agent with its own Linux workspace. It can research, write code, create and work with documents using a terminal, browser, and desktop apps. It runs in a sandbox, but you can step in, and connect it to local files on your own computer when needed.

Get started · Installation guide

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

Quick Start

A0 Launcher guides you through installing and opening Agent Zero. You will also need a supported AI account, a provider API key, or a local model server. Launcher helps set up Docker, which runs Agent Zero's Linux workspace.

Your computer Download Launcher v1.9
Windows x64 · ARM64
macOS Apple Silicon · Intel
Linux x64 · ARM64
  1. Open Launcher and follow any Docker setup prompt.
  2. Create an Instance, which is a separate Agent Zero setup. Choose Download Agent Zero or Run Agent Zero, keep the default version and persistent workspace, then click Create. Wait for Running and click Open UI.
  3. Send a message from the welcome screen. Try: "Create a one-page plan for a 15-minute team kickoff. Save it as a Markdown file and give me a link."
  4. Connect a model when the chat asks. Choose Cloud provider, AI account, or Local model. If your provider is missing, the provider-plugin link opens the Hub filtered to providers; follow the OpenCode Go example to install one. Choose a Main model for conversations and a Utility model for summaries and chat names. They can use the same provider.
  5. Click Finish setup to resume your message, then Continue to close setup. Watch for the reply in the same chat and open the returned file link. You do not need to send the message again.

For screenshots and help, follow Installation. The Codex guide shows ChatGPT account sign-in; the OpenCode Go guide shows how to add a provider plugin.

Other install paths

A0 Install

Use A0 Install from a terminal or SSH session. It helps set up Docker, creates Agent Zero, and keeps its data in a persistent workspace.

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.

Open the URL printed by the installer. With the port above on your own computer, it is http://localhost:5080. For a remote server, follow the VPS guide to configure access and authentication.

Docker already installed? Run this directly

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

Open http://localhost:5080, then follow steps 3 to 5 above. The a0_usr volume keeps your data when the container is replaced. Keep backups too. This command makes the Web UI available only on the Docker host; see the Installation guide for other setups.

Troubleshooting

  • Docker is not running: start Docker Desktop or your Docker service, then reopen the Launcher or rerun the install command.
  • Linux download won't open: allow the AppImage to run as a program in its file properties, then open it again.
  • Port is already in use: choose another in Launcher. For the Docker command above, replace 5080 with a free port and use that port in your browser URL.
  • No first reply: check that setup finished and both models are available through your chosen provider. Read any connection or account error shown in the chat.
  • Still blocked: see the Troubleshooting guide.

Try These First

  • Make a plan: "Create a one-page plan for a 15-minute team kickoff, with a goal, three agenda items, and next steps. Save it as a Markdown file and give me a link."
  • Work with a document: attach a document, then ask, "Summarize the main points and list anything I need to follow up on."
  • Research a topic: "Compare three places for a weekend trip by train from Rome. Link your sources and make a shortlist."

Once you are comfortable, try the Browser and Desktop:

  • Annotate a design you like: "Open this site in the Browser. I'll point out the parts I like, then help me build something similar for my project."
  • Cowork on a spreadsheet: "Create an editable ODS budget model with assumptions and monthly projections."
  • Drive a desktop app: "Use the Linux Desktop to open Blender and create a simple 3D logo for me."
  • Review a web UI: "Open my local app in the Browser. I will annotate the page with comments; then implement the requested UI fixes."

Coming from another agent?

Bring chats from Pi, Hermes Agent, or Claude Code into Agent Zero with Migrate Agents. Preview the import before saving it, then continue the conversation here. Project files are copied separately; importing a chat does not move its workspace.

Why Agent Zero

What you can do Where to start
Use desktop apps and work on documents together Desktop and Cowork
Browse the web and point out exactly what needs changing Browser and annotations
Keep each job's files, instructions, and memory together Projects
Add providers, tools, and integrations Plugin Hub
Work on files on your own computer Launcher Host access, or A0 CLI
Adapt the agent to how you work Agent Profiles and Skills

Deep Dives

A Real Linux Desktop in the Canvas

The Canvas is the panel beside your chat for browsers, documents, and the desktop. Open Desktop there to see Agent Zero's Linux workspace. It can use Blender, a terminal, a file manager, and other desktop apps. You can watch and take over with your own mouse and keyboard.

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

Browse and Annotate

Annotating a webpage element in the Agent Zero browser

The built-in Browser opens pages, fills forms, uploads files, and takes screenshots. Open it in the Canvas to follow along. In Annotate mode, click a page element to inspect it, request a change, capture a design reference, or leave a comment for the agent.

Browser history keeps screenshots of important steps. You can also install Chrome extensions or connect a browser on your own computer through Launcher Host access or A0 CLI.

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

Ask Agent Zero to write a plan or meeting notes as a Markdown file, then open it in the Canvas editor. You can type, format text, and edit tables while the agent works on the same document.

LibreOffice Integration

Use the Desktop toolbar to create a Writer document, spreadsheet, or presentation. Agent Zero can work on these LibreOffice files alongside you and save the result as ODT, ODS, or ODP.

Plugin Hub

Agent Zero Plugin Hub showing community plugins

Open the Plugin Hub to find community providers, tools, memory systems, integrations, and UI additions. Read a plugin's description and setup instructions before installing it. You can also build and publish your own.

See the Plugin Hub guide, the Create a Small Plugin tutorial, and the MCP setup guide for connecting external tools.

Use Codex with Your ChatGPT Account

Account setup with the Codex/ChatGPT connection option

Sign in with your ChatGPT account, choose Codex models, and continue in Agent Zero. Enable device code sign-in in ChatGPT, open Account in Agent Zero's onboarding, and connect Codex/ChatGPT. After you authorize on OpenAI's page and choose Main and Utility models, your first message resumes in the same chat.

Follow the Codex account setup guide for the complete walkthrough with screenshots.

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 connects your terminal to a running Agent Zero instance. It can give the agent access to files, commands, and a browser on your own computer.

Using Launcher? Its optional Host access controls manage the supporting CLI for you. Follow the Host access guide to choose what to allow. Install A0 CLI yourself when you want to chat from a terminal or connect another computer.

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.

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

Agent Zero can delegate parts of a task to other agents. Each works with its own instructions and conversation, then reports back. This can help divide research, coding, and review work.

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.

You can add tools through plugins or MCP, connect other agents through A2A, and give each project its own instructions and settings. See DeepWiki for how the parts fit together.

Time Travel

Time Travel keeps snapshots of Agent Zero's workspace under /a0/usr. 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

  • Software engineering: inspect a codebase, make scoped edits, run tests, explain tradeoffs, and keep a recoverable history of file changes.
  • Local development: use Launcher Host access or a0 to work in a local repository, or clone it into an Agent Zero project.
  • Design inspiration and UI iteration: browse the web, annotate elements you like, and pull components into your own stack.
  • Financial analysis and charting: collect data, correlate events, create spreadsheets, and generate editable charts.
  • Office deliverables: cowork on documents, spreadsheets, and presentation decks instead of trapping the result in chat text.
  • Web and mobile QA: browse an app, annotate UI issues, install browser extensions, and turn visual comments into actionable fixes.
  • API integration: paste an API snippet, let the agent build a working example, and store the pattern for future use.
  • Client/project isolation: keep memory, secrets, instructions, files, and model choices separated by project.
  • Scheduled operations: run recurring checks and monitoring tasks with project-scoped context and credentials.

Documentation

I want to... Start here
Install or update Agent Zero Installation
Learn the UI and basic workflow Quickstart
Connect your ChatGPT account and use Codex models Codex account setup
Add OpenCode Go or another provider plugin OpenCode Go setup
Bring chats from Pi, Hermes, or Claude Code Migrate Agents
Browse, annotate, and use Browser screenshots Browser guide
Use the Linux desktop and LibreOffice Desktop guide
Work on files and run commands on my computer Launcher Host access or A0 CLI
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 a related project from the Agent Zero team.

Agent Zero is available under the MIT License.

Safety Model

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

  • Keep it running inside Docker or another isolated environment.
  • Do not mount your entire home directory unless you understand the risk.
  • Give Launcher or A0 CLI permission to edit files and run commands only when you trust the connected Instance.
  • Store credentials in project secrets or settings, not in prompts or public files.
  • Review actions that touch accounts, money, production systems, or private data.
  • Keep backups for important workspaces.
Languages
Python 63.7%
JavaScript 18.9%
HTML 15.5%
CSS 1.6%
Shell 0.3%