# General

URL: https://docs.usestitch.ai/docs



Stitch reads `stitch-factory.yaml` from a connected repository's default branch.
A factory binds **triggers** (when), **harnesses** (agent), and **sandboxes** (compute).

## Start here [#start-here]

* [Getting Started](/docs/getting-started): connect a repository and validate the starter.
* [Factory](/docs/factory): configuration contract and CLI.
* [Resources](/docs/resources): harnesses, sandboxes, and managed secrets.
* [Triggers](/docs/triggers): events, filters, and admission guards.

## Agent interface [#agent-interface]

| Resource                                     | Purpose                                        |
| -------------------------------------------- | ---------------------------------------------- |
| [/llms.txt](/llms.txt)                       | Page index                                     |
| [/llms-full.txt](/llms-full.txt)             | All documentation as Markdown                  |
| `/docs/<page>.md`                            | One page as Markdown; root is `/docs/index.md` |
| [/schema/factory.json](/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 [#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.
