README
¶
This is the table of contents for the Agent Factory documentation.
The installed CLI also packages a fixed reference surface under
you docs. Run you docs to list the packaged topics, or
run you docs <topic> for packaged topics such as agents,
authoring-factories, config, mock-workers, record-replay, guards,
relationships, work, workstations, workers, resources, models,
batch-inputs, or templates.
For agents
- Run
you docs agentsfirst for end-to-end agent orientation (read order, work submission, command matrix, planner vs executor, and the packaged topic router). - Before submitting work in a checked-in factory, read
factory.jsonplus factory-local docs when present:- prefer
factory/docs/overview.mdfor the instance pipeline, work types, and read-before-submit guidance; - otherwise
factory/docs/README.mdwhen that file exists.
- prefer
- Repo-level factory pointers live in
factory/README.md; do not duplicate instance walkthroughs in the root factory README.
Packaged CLI Reference Topics
These are the fixed topic names accepted by you docs <topic>.
agentsis the packaged agent orientation guide. Runyou docs agentsfor read order, work submission, the command matrix, planner vs executor, and factory-local docs discovery.authoring-factoriesis the packaged practical factory authoring guide. Runyou docs authoring-factoriesfor workflow sequencing, runnable examples, mock-worker checks, and replay recording.configis the packagedfactory.jsontopology reference. Runyou docs configfor work types, states, workers, workstations, resources, portability, and top-level layout fields.mock-workersis the packaged mock-worker reference. Runyou docs mock-workersfor--with-mock-workersand themockWorkersJSON contract.record-replayis the packaged record and replay reference. Runyou docs record-replayfor default recording,--record,--replay, and incompatible flag combinations.guardsis the packaged guards reference. Runyou docs guardsfor workstation, input, and factory guards plus guarded loop breakers.relationshipsis the packaged batch and lineage relations reference. Runyou docs relationshipsforDEPENDS_ON,PARENT_CHILD, and runtimeSPAWNED_BYsemantics.workis the packaged submitted-work reference. Runyou docs workforPOST /work, tags, batch cross-links, and submission-oriented runtime flow.workstationsis the packaged workstation reference.workstationremains accepted as a compatibility alias for the same raw markdown. Runyou docs workstationsfor the canonical workstation guide.workersis the packaged worker quick reference. Runyou docs workersfor the canonical worker guide.resourcesis the packaged bounded-concurrency reference. Runyou docs resourcesfor the resource slice andyou docs configfor top-level topology fields.modelsis the packaged model operations quick reference. Runyou docs modelsfor model discovery, invocation, and local or hosted model setup.batch-inputsis the packaged batch-request reference. Runyou docs batch-inputsfor submitted payload fields and watched-file placement.batch-workremains accepted as a compatibility alias for the same raw markdown.templatesis the packaged template syntax reference. Runyou docs templatesfor template surfaces, the complete variable inventory, and JSON-versus-Markdown quoting rules.
Customer Guides
- CLI reference is the package-owned topic index for the stable packaged reference pages.
- Canonical concept guides:
you docs configowns work types, work states, top-levelfactory.json, routing behavior, runtime resources, and portability fields.you docs workownsPOST /work, submitted-work tags, and batch cross-links.you docs workstationsowns workstation kinds, route fields, runtime step behavior, and workstation-scoped execution settings.you docs workersowns worker types, worker-scoped runtime fields, and splitworkers/<name>/AGENTS.mdplacement.you docs batch-inputsownsFACTORY_REQUEST_BATCHingress, watched-file placement, and authored relation types (batch-workremains a CLI alias for the same guide).
- Run
you docs configfor the canonical split layout,factory.json, and where worker, workstation, and input files live. - Run
you docs resourcesfor top-level resource pools and workstation or worker resource requirements. - Run
you docs templatesfor supported Go-template surfaces, the complete variable inventory, and the JSON-versus-Markdown quoting rule. - Run
you docs authoring-factoriesto configure and run factories end to end, including mock-worker checks, replay recording, and reusable inputs under docs/examples. - Author AGENTS.md explains split
AGENTS.mdfile shape, prompt placement, and authoring patterns. - The Zen of flow explains the project’s workflow philosophy.
- Understand a run timeline explains how
/events, recordings, replay, and the dashboard use one ordered event timeline.
Maintainer workflow (packaged CLI reference)
- Edit topic markdown only under
docs/reference/. - Run
make docs-reference-smokefrom the repository root before shipping. - Do not maintain a parallel copy under
pkg/cli/docs/;you docsserves the embeddeddocs/reference/tree.
Contributor Guides
Click to show internal directories.
Click to hide internal directories.