General
Run coding agents when repository events match your rules.
Stitch reads stitch-factory.yaml from a connected repository's default branch.
A factory binds triggers (when), harnesses (agent), and sandboxes (compute).
Start here
- Getting Started: connect a repository and validate the starter.
- Factory: configuration contract and CLI.
- Resources: harnesses, sandboxes, and managed secrets.
- Triggers: events, filters, and admission guards.
Agent interface
| Resource | Purpose |
|---|---|
| /llms.txt | Page index |
| /llms-full.txt | All documentation as Markdown |
/docs/<page>.md | One page as Markdown; root is /docs/index.md |
| /schema/factory.json | Hosted factory input schema |
Every page has a Copy Markdown action. Schema links describe input shapes;
stitch validate also checks cross-field rules and repository references.
Safety contract
Ask before replacing files, changing workflows, adding secrets, enabling triggers, or pushing. Never put credentials in chat, YAML, command arguments, or logs. Validation is read-only. A push to an unmerged branch does not apply configuration.