What OpenAPI is for REST APIs, OpenAgentFlow (
.oaf) is for AI agent workflows.
Welcome to the OpenAgentFlow documentation. OpenAgentFlow is an open, portable specification and compiler for defining executable multi-agent AI workflows using a clean, human-readable text format.
New to OpenAgentFlow? Start here:
git clone https://github.com/OpenAgentFlow/OpenAgentFlow-starter.git) for instant, zero-config workflow executionUnderstand how OpenAgentFlow works under the hood:
.oaf source to live execution.oaf Language — Complete language syntax: workflow, state, agent, flow, and config blocksDeep dives into each compiler module:
The formal language specifications live in the spec/ directory:
| Document | Description |
|---|---|
| SPEC.md | Core language syntax and constructs |
| GRAMMAR.md | Formal EBNF grammar |
| SEMANTICS.md | 3-phase semantic validation rules |
| IR.md | Intermediate Representation schema |
| Phase | Status |
|---|---|
| Phase 1 — Specification | ✅ Complete |
| Phase 2 — Compiler MVP | ✅ Complete |
| Phase 3 — Runtime Integration | ✅ Complete |
| Phase 4 — State Initialization | ✅ Complete |
| Phase 4.5 — Multi-Provider, Auth & Tooling | ✅ Complete |
| Phase 5 — Additional Adapters | 🔲 Planned |
| Phase 6 — Developer Tooling | 🔲 Planned |
OpenAgentFlow is open-source under the MIT License.