The entry point is the README: what zagent is, what it can do, how to build it and how to run it. This folder holds the details behind that overview.
| Page | Read it when |
|---|---|
| Configuration | You are setting the config file, the environment variables, the output budget or the retries |
| Providers | You need to pick or autodetect a provider, or point zagent at any Responses- or Messages-compatible endpoint |
| ChatGPT / Codex | You want to use a ChatGPT subscription with zagent login |
| Interface | You want to know what the screen, the prompt and the keyboard do |
| Page | Covers |
|---|---|
| The agent loop | Tool chaining, how a turn ends, retries |
| Tools | The built-in tool set, bash, read, write, edit, ls, and the result limits |
| Searching | rg, grep, fd, find and how the programs are selected |
| Patching | apply_patch, Git unified diffs, permissions and renames |
| Web search and fetching | The web_search and web_fetch tools, their services, redirects and limits |
| Sub-agents | Handing a task to a second agent, its self-checks and deadline |
| MCP servers | mcp.json, lazy tool loading and the protocol zagent speaks |
| Skills | Folders with a SKILL.md: the catalog, load_skill and read_skill_resource |
| Debug tracing | --debug: every request, response and tool call, and the HTML report of a run |
| Page | Covers |
|---|---|
| Sessions | Durable conversations, --resume, and what happens to context |
| Plan | The checklist of the work in progress |
| Memory | Durable notes between sessions and how they are found |
| Page | Covers |
|---|---|
| Security and state | Execution policy, directory trust, the global state folder, the scratch directory |
| Page | Covers |
|---|---|
| Development | Build, tests and the project structure |