-
Notifications
You must be signed in to change notification settings - Fork 2
Home
lacause edited this page Mar 29, 2026
·
10 revisions
Welcome to the OCC documentation. OCC is a workflow orchestration engine for Claude AI agents — define multi-step chains in YAML, execute them with parallel processing, and access everything via MCP or REST API.
- Getting Started — Install, configure, run your first chain in 5 minutes
-
Configuration — Environment variables,
.mcp.json, deployment options
- Chain Format — Complete YAML reference for chain definitions
- Step Types — All 11 step types explained with examples
- Pre-Tools — Inject data before steps (web search, API calls, files, bash)
- Pipelines — Chain multiple chains together
- CLI — Command-line interface: run, validate, dry-run, cost estimate
- REST API — All HTTP endpoints with request/response examples
- MCP Tools — All 25 MCP tools for Claude Code / Claude Desktop
- Architecture — How OCC works internally (execution engine, dependency graph, process management)
- Token Optimization — Minimize cost with caching, transforms, context strategies
- Cookbook — Practical recipes and patterns
- FAQ — Common questions and troubleshooting
| Concept | Description |
|---|---|
| Chain | A YAML file defining a multi-step workflow. Each step is an LLM call, data transform, or control flow. |
| Step | One unit of work in a chain. Can be an agent (LLM), router, evaluator, gate, transform, loop, merge, browser, subchain, debate, or webhook. |
| Pipeline | Multiple chains executed in sequence, with outputs passed between them. |
| Pre-tool | Data injection that runs before a step — web search, HTTP fetch, file read, bash command, or env var. |
| Variable | Outputs from steps are stored as variables (output_var) and interpolated into later prompts via {variable_name}. |
| Wave | A group of steps with no dependencies between them — they execute in parallel. |
| Gate | A step that pauses execution until a human approves or rejects via the API. |
| Execution | A running instance of a chain, with its own ID, status, step results, and SSE stream. |