Patterns¶
Recipes for things people keep asking the framework to do but that compose cleanly from existing primitives.
The split between Concepts and Patterns is intentional: Concepts explain what OpenArmature is — typed state, nodes, edges, middleware, checkpointing, observers. Patterns explain ways to use it — opinionated shapes for common downstream questions like "how do I run an agent loop?" or "how do I skip work that's already been done?".
When to read which¶
- You don't know what a
Stateis, or how nodes and edges fit together → start with Concepts. - You know the primitives but you're asking "how do I do X with them?" → look here.
Patterns are user-level recipes, not framework contracts. New patterns can be added without spec coordination — they're how-to docs composing existing primitives.
The catalog¶
- Parameterized entry point — start the graph at an arbitrary node via state-driven routing.
- Tool-dispatch-as-node — model an agent tool-call loop as a graph cycle.
- Session-as-checkpoint-resume — carry multi-turn agent state across turns using the existing checkpointer.
- Bypass-if-output-exists — short-circuit a node whose external output already exists, via middleware.