Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 2.21 KB

index.md

File metadata and controls

48 lines (37 loc) · 2.21 KB

zagent documentation

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.

Start here

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

How it works

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

What survives a turn

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

Running it safely

Page Covers
Security and state Execution policy, directory trust, the global state folder, the scratch directory

Working on zagent

Page Covers
Development Build, tests and the project structure