Factory for Pi
Define the workflow. Let agents work. Stay in control.
Factory adds /factory to Pi: combine shell commands, agent tasks, and human checkpoints in project-local YAML. Progress and agent history are saved so interrupted work can resume without starting over.
Start here
Get started → Install with npm, run your first pipeline, and let /factory init set up a workflow for your project.
Find your way
| Page | What you’ll find |
|---|---|
| Getting started | Installation, automatic setup, and first run |
| User guide | Commands, credentials, local development, and the repository workflow |
| Syntax reference | Copyable pipelines, agent definitions, skills, and outputs |
| Architecture | Why pi-durable, component boundaries, run lifecycle, and recovery trade-offs |
Work at your own pace
- Run a pipeline and approve important steps in Pi.
- Resume interrupted work with saved inputs and agent histories.
- Refine a completed run with a follow-up instruction.
Run only trusted workflows
Factory is not a sandbox. Commands and agents can change project files. Keep side effects idempotent and secrets out of saved outputs.