memgrafter/flatagents
Flat, declarative agents and state machines for orchestrating LLMs.
This project helps developers orchestrate complex, multi-step workflows involving Large Language Models (LLMs) by defining their behavior using declarative YAML configurations rather than extensive Python code. It takes YAML files describing agents, states, and transitions, and outputs a managed, resilient LLM application capable of handling retries, parallelism, and error recovery. This is for software developers and AI engineers who are building robust LLM-powered applications and need to manage intricate interaction patterns between AI agents.
Available on PyPI.
Use this if you are building an application that requires several LLM calls or agents to work together in a structured sequence, need built-in reliability for these interactions, and prefer to manage workflow logic through configuration files.
Not ideal if your application involves a single, straightforward LLM call or if you need to implement highly dynamic, code-driven control flows for your agents.
Stars
27
Forks
3
Language
Python
License
Apache-2.0
Category
Last pushed
Mar 10, 2026
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.
Higher-rated alternatives
microsoft/agent-framework
A framework for building, orchestrating and deploying AI agents and multi-agent workflows with...
fetchai/uAgents
A fast and lightweight framework for creating decentralized agents with ease.
i-am-bee/beeai-framework
Build production-ready AI agents in both Python and Typescript.
Intelligent-Internet/ii-agent
II-Agent: a new open-source framework to build and deploy intelligent agents
agentuniverse-ai/agentUniverse
agentUniverse is a LLM multi-agent framework that allows developers to easily build multi-agent...