memgrafter/flatagents

Flat, declarative agents and state machines for orchestrating LLMs.

55
/ 100
Established

Supports both single-agent tasks (FlatAgent) and multi-step orchestration via state machines (FlatMachine) with conditional branching, retry logic, and parallel execution—all defined in YAML with Jinja2 templating. Built around language-agnostic TypeScript schemas with lockstep versioning across Python and JavaScript SDKs, plus distributed worker patterns for scaling via registration and work backends. Integrates with multiple LLM providers (Anthropic, OpenAI, Cerebras) through centralized model profiles, with checkpoint/restore for fault tolerance and webhook hooks for remote execution.

27 stars and 1,618 monthly downloads. Available on PyPI.

Maintenance 13 / 25
Adoption 14 / 25
Maturity 18 / 25
Community 10 / 25

How are scores calculated?

Stars

27

Forks

3

Language

Python

License

Apache-2.0

Last pushed

Mar 10, 2026

Monthly downloads

1,618

Commits (30d)

0

Dependencies

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/memgrafter/flatagents"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.