# Usage Guide

This guide is the practical tour of Agent Zero after installation. It explains
what you can do in the Web UI, what to try first, and where to go when you want
the deeper source-linked explanation.

For architecture, backend flow, Web UI internals, plugin lifecycle, and API
details, use [DeepWiki for Agent Zero](https://deepwiki.com/agent0ai/agent-zero).

![Agent Zero first task](../res/usage/first-task.png)

## Basic Operations

Agent Zero is built around a chat, a working Linux environment, and a Web UI that
lets you watch and steer the work.

Common places to start:

- **New Chat:** start a clean conversation.
- **Projects:** give a chat its own workspace, files, memory, secrets, and instructions.
- **Memory:** review what Agent Zero has learned or imported.
- **Tasks:** create scheduled, planned, or manual automations.
- **Files:** open the Agent Zero file browser.
- **Settings:** configure models, credentials, preferences, plugins, and backup.
- **Browser:** open the live Browser surface when you want to watch browsing or annotate a page.
- **Desktop:** open the live Linux desktop when you want GUI apps, a terminal window, or LibreOffice Cowork.

![Dashboard actions](../res/usage/webui/dashboard.png)

The chat input also has action buttons for attachments, pausing, nudging, compacting,
and opening helpful views such as context or history.

![Action buttons](../res/usage/action-btns.png)

Use **Restart** from the sidebar when you need the framework to reload after
settings or code changes.

## Plugins And Plugin Hub

Plugins add integrations, tools, panels, and automation helpers.

Open **Plugins** from the dashboard or sidebar to see what is installed.

![Plugins](../res/usage/plugins/plugins-list-01.png)

Use the **Browse** tab or **Install** button to open the Plugin Hub.

![Plugin Hub](../res/usage/plugins/plugin-hub-main-view.png)

Before installing a plugin, read its description, README, permissions, and source
link. Treat plugins like any other code you run in your workspace: install the
ones you trust and remove what you do not use.

When you want to make your own first plugin, start with something small and
visible. The [Create a Small Plugin](create-plugin.md) guide walks through a
local Web UI plugin that adds an unread dot to the chat list and then reviews it
with `a0-review-plugin`.

## Skills, Agent Profiles, And Model Presets

The small controls around the chat input let you shape the current conversation
without opening the full Settings screen.

### Skills

Skills are focused instructions Agent Zero can load when it needs them. You can
also pin a skill manually for the current chat.

Click the **+** button in the chat input, then click **Skills**.

![Open Skills from chat input](../res/usage/webui/chat-more-actions-skills.png)

Use the selector to add or remove active skills.

![Skills selector](../res/usage/webui/skills-selector-checked.png)

Active skills are added to the **Extras** part of the system prompt, so keep the
list short and intentional. See the [Skills guide](skills.md).

### Agent Profiles

Agent Profiles change the role, tone, and prompt instructions for the selected
chat.

![Agent Profile selector](../res/usage/webui/agent-profile-selector.png)

Use the profile menu near the chat input to switch the current chat. Use
**Settings -> Agent Config** when you want to change the default for new chats.

The same menu includes **Create new Agent Profile**. It places a ready-to-send
message in the input so Agent Zero can guide you through creating a new profile.

![Create Agent Profile prompt](../res/usage/webui/agent-profile-create-prompt.png)

See the [Agent Profiles guide](agent-profiles.md).

### Model Presets

Model Presets are named shortcuts for model choices. Use them for setups like
`Best`, `Balanced`, `Fast Cheap`, or a model name you can spot quickly.

![Model preset selector](../res/usage/webui/model-preset-selector.png)

Click **Edit presets** when you want to add or rename presets.

![Model presets editor](../res/usage/webui/model-presets-editor.png)

See the [Model Presets guide](model-presets.md).

## File Attachments

Attach files when the agent should read, summarize, transform, or organize them.

![File attachments](../res/usage/attachments-1.png)

You can attach one file or several files, then describe what should happen:

```text
Read these PDFs and create a short comparison table.
```

```text
Move these files into a clean folder structure and explain what changed.
```

Attached files are visible in the chat input before you send the message, so you
can remove mistakes before Agent Zero starts working.

## Tool Usage

You usually do not need to name tools. Say what you want done and Agent Zero will
choose whether it needs the browser, code execution, files, knowledge, plugins,
or another available capability.

Good prompts are specific about the desired result:

```text
Research three deployment options for this app. Cite sources and finish with a recommendation.
```

```text
Open the attached CSV, find the main trend, and create a chart I can edit later.
```

```text
Inspect this repository and propose the safest first improvement before changing files.
```

When you do want internals, use
[DeepWiki for Agent Zero](https://deepwiki.com/agent0ai/agent-zero).

### Browser Tool And Surface

The Browser has two parts:

- the `browser` tool, which the agent can call directly;
- the visible Browser surface in the Canvas, where you can watch and annotate pages.

![Browser Canvas and tool history](../res/usage/browser/browser-canvas-wide.png)

Ask naturally:

```text
Use the Browser tool to compare these pages and take screenshots of the important parts.
```

```text
Open my local app in the Browser. I will annotate the page, then you can fix the issues.
```

For screenshots, history, annotations, Docker browser mode, host-browser mode
through A0 CLI, privacy controls, and Chrome extensions, see the
[Browser Guide](browser.md).

External browser MCP tools are still useful for specialized setups. See
[MCP Setup](mcp-setup.md).

### Desktop Surface

The Desktop surface opens Agent Zero's own Linux desktop in the Canvas.
Use it when you want the agent to work visually with GUI apps, open a terminal,
or cowork with you in LibreOffice.

![Desktop Canvas](../res/usage/webui/desktop-canvas.png)

The **New** menu can create Markdown, Writer, Spreadsheet, and Presentation
files. Writer, Calc, and Impress run inside the Desktop, so you can edit by hand
while Agent Zero creates, updates, saves, and verifies the same files.

For the screenshot walkthrough and prompt examples, see the
[Desktop Guide](desktop.md).

### Agent-To-Agent Communication

Agent Zero instances can communicate through A2A when you want multiple
instances to collaborate.

Use A2A when you have a clear reason to split work across Agent Zero instances,
such as a specialist server, a remote machine, or a project-specific agent. See
[A2A Setup](a2a-setup.md).

### Multi-Agent Cooperation

Inside a single Agent Zero instance, the main agent can create subordinate agents
to investigate focused parts of a larger job.

![Multi-agent cooperation](../res/usage/multi-agent.png)

This is useful for research, code review, comparison work, and tasks where one
agent should gather information while another keeps the main plan moving.

## Projects

Projects tell Agent Zero what world it is working in. Use one when a chat needs
its own files, instructions, memory, secrets, or model settings.

![Project active in chat](../res/usage/webui/project-active-chat.png)

The simple flow:

1. Open **Projects** from the dashboard.
2. Click **Create project**.
3. Give it a clear title.
4. Add a short description.
5. Write practical instructions.
6. Save it.
7. Open a chat and choose the project from the top-right project picker.

![Project instructions](../res/usage/webui/project-instructions-filled.png)

Good project instructions tell Agent Zero what should be different in that
workspace:

```markdown
When this project is active:
- Explain steps in plain language before technical detail.
- Prefer screenshots, checklists, and concrete examples.
- Keep generated files inside this project unless I ask otherwise.
- Ask before using credentials, private data, or external accounts.
```

Use projects for client work, code repositories, research topics, recurring
reports, and any workflow where context matters.

See the [Projects guide](projects.md) for the full screenshot walkthrough.

## Tasks And Scheduling

Tasks let Agent Zero run work later, repeatedly, or on demand.

Use tasks for:

- morning or weekly reports;
- monitoring a source and summarizing changes;
- recurring cleanup or export jobs;
- project-specific checks;
- manual batch jobs you want to run again.

Open **Tasks** from the dashboard or sidebar.

![Task scheduler](../res/usage/tasks/scheduler-1.png)

When creating a task, focus on four things:

- **Name:** what you will recognize later.
- **Type:** scheduled, planned, or ad-hoc.
- **Project:** optional, but recommended when the task needs specific context or secrets.
- **Prompt:** the actual work Agent Zero should perform.

![Edit task](../res/usage/tasks/edit-task.png)

Example:

```text
Name: Weekly docs review
Type: Scheduled
Project: Documentation
Prompt: Check the docs project for stale screenshots, broken links, and confusing sections. Summarize what needs attention.
```

Project-scoped tasks inherit project instructions, variables, secrets, files, and
memory. That means you can improve task behavior later by improving the project
instead of repeating every rule in every task.

## Secrets And Variables

Use **Secrets** for sensitive values such as API keys, tokens, passwords, and
credentials.

Use **Variables** for non-sensitive settings such as regions, URLs, usernames,
formats, or feature flags.

Refer to them by name in chat:

```text
Use the project GITHUB_TOKEN to check repository status.
```

Do not paste credentials into chat messages or public files. Keep your own copy
of important secrets because backups may not include every secret.

## Remote Access Via Tunneling

Tunnels let you reach your local Agent Zero instance from another device or
share it temporarily.

Before creating a tunnel:

- set UI authentication;
- understand that anyone with the tunnel URL can try to open your instance;
- stop the tunnel when you no longer need it.

Open **Settings -> External Services -> Flare Tunnel** to create or stop a tunnel.

## Voice Interface

Agent Zero supports text-to-speech and speech-to-text through built-in voice plugins:

- `_kokoro_tts` provides container-side Kokoro speech synthesis when enabled.
- `_whisper_stt` provides local Whisper transcription and adds the microphone control when enabled.
- Browser-native `speechSynthesis` remains the fallback output path when `_kokoro_tts` is disabled.

Use the **Voice** section in Agent settings or the plugin settings in **Agent Plugins** to configure providers. Use the sidebar **Speech** preference when you want Agent Zero to read responses automatically.

Use speech when you want to listen while doing something else, dictate a prompt,
or make the interface more accessible.

![Text to speech controls](../res/usage/ui-tts-stop-speech1.png)

Speech-to-text settings live in the Whisper STT plugin card and include model size, language code, voice message handling, silence threshold, and recording behavior. The microphone button appears in the chat input when `_whisper_stt` is enabled.

![Speech to text settings](../res/usage/ui-settings-5-speech-to-text.png)

> [!IMPORTANT]
> Whisper STT and Kokoro TTS operate locally within the Docker/container runtime when their plugins are enabled.
> Browser fallback TTS runs locally in the browser. No voice path requires OpenAI APIs.

## Mathematical Expressions

Agent Zero can render mathematical notation with KaTeX.

![KaTeX display](../res/usage/ui-katex-2.png)

Ask for the format you want:

```text
Solve this step by step and show the final equations in KaTeX.
```

## File Browser

The File Browser lets you inspect and manage files inside the Agent Zero
environment.

![File Browser](../res/usage/file-browser.png)

Use it to:

- upload files;
- download generated work;
- create folders;
- rename or delete files;
- open editable text files;
- inspect the project or `/a0/usr` workspace.

For file-based work, prefer `/a0/usr` or a project workspace. Avoid storing
important work only in temporary directories.

## Memory Management

Memory is where Agent Zero keeps useful remembered information from conversations
and imported knowledge. It is powerful, but it is not magic. Long-term AI memory
still needs curation; this is not fully solved even by the largest AI labs and
companies.

Open **Memory** when you want to search, review, edit, copy, or remove stored
entries.

![Memory dashboard](../res/usage/memory-dashboard.png)

The controls let you choose a memory directory, filter by area, set a result
limit, search, adjust match threshold, and clear filtered results.

![Memory dashboard controls](../res/usage/webui/memory-dashboard-controls.png)

Use memory deliberately:

- keep durable facts and useful patterns;
- remove old test data;
- edit memories that became inaccurate;
- use project memory for project-specific context;
- create a backup before large cleanup.

If Agent Zero does something unexpected, repeats a wrong behavior, or seems to
remember the wrong thing, Memory is one of the first places to look. A stale or
incorrect memory can poison the processing instead of helping it.

Click a memory row to inspect its full content and metadata. From the detail
view you can copy, edit, or delete the entry.

![Memory editing](../res/usage/memory-editing.png)

For a practical cleanup checklist, see the [Memory Guide](memory.md).

## Backup And Restore

Backups protect your chats, projects, knowledge, memory, settings, skills, and
workspace files.

Create a backup before:

- major updates;
- plugin experiments;
- bulk memory cleanup;
- moving to a new machine;
- deleting or reorganizing important project files.

Open **Settings -> Backup & Restore** to create or restore a backup.

Secrets are sensitive and may not always be included in backup archives. Keep a
separate secure copy of credentials you depend on.

## Next Steps

- [Quick Start](../quickstart.md)
- [Projects guide](projects.md)
- [Browser guide](browser.md)
- [A0 CLI Connector](a0-cli-connector.md)
- [Skills guide](skills.md)
- [Agent Profiles guide](agent-profiles.md)
- [Model Presets guide](model-presets.md)
- [MCP Setup](mcp-setup.md)
- [Troubleshooting](troubleshooting.md)
- [DeepWiki for Agent Zero](https://deepwiki.com/agent0ai/agent-zero)
