Agents are orchestrated by hierarchical state machines (HSMs).
The HSMs and agents are defined in YAML, with hooks and webhooks for additional functionality.
* FlatAgent: A single LLM call: model + prompts + output schema.
* FlatMachine: A state machine that orchestrates multiple agents, actions, and state machines.
Examples: - https://github.com/memgrafter/flatagents/tree/main/sdk/pytho... - https://github.com/memgrafter/research-crawler-flatagents - https://github.com/memgrafter/claude-skills-flatagents