Discover and explore top open-source AI tools and projects—updated daily.
shoucOrchestrate complex agentic workflows as programmatic graphs
Top 44.8% on SourcePulse
Summary
AgentFlow is a Python framework for programmatically orchestrating complex AI agent workflows. It enables users to define dependency graphs of agents (like Codex, Claude, Kimi) and execute them with advanced features such as parallel fanout, iterative cycles, and remote execution across SSH, EC2, and ECS. This empowers developers to build sophisticated, scalable, and distributed AI systems.
How It Works
AgentFlow models agent interactions as directed acyclic graphs (DAGs) defined in Python. Core functionalities include parallel fanout, where a single agent's task can be distributed to numerous parallel instances based on count, list items, or Cartesian products. Results can be aggregated using batch (merge(size=N)) or grouped (merge(by=...)) strategies. Iterative cycles allow agents to loop until specific success_criteria are met, with a max_iterations limit. Remote execution is a key feature, supporting deployment to SSH, EC2, and ECS targets with minimal configuration. A scratchboard option provides shared memory across all agents in a graph.
Quick Start & Requirements
Installation is streamlined via a one-line bash script: curl -fsSL https://raw.githubusercontent.com/shouc/agentflow/master/install.sh | bash. This command installs AgentFlow, adds it to the system's PATH, and includes necessary agent skills. Alternatively, manual installation involves setting up a Python virtual environment and running pip install -e .[dev]. The framework requires Python 3.
Highlighted Details
success_criteria and max_iterations for agent tasks.scratchboard=True option enables a shared memory file accessible by all agents within a graph.Maintenance & Community
The project acknowledges contributions from "gepa", "kiss-ai", "claude-code-telegram", and "linux.do". No specific community channels (e.g., Discord, Slack) or detailed contributor information are provided in the README snippet.
Licensing & Compatibility
The license type is not specified in the provided README content.
Limitations & Caveats
No explicit limitations are detailed in the README. The complexity inherent in managing large-scale, distributed agent graphs and configuring remote execution environments may present adoption challenges.
6 days ago
Inactive
ag2ai