ControlFlow  by PrefectHQ

Python framework for agentic AI workflows

created 1 year ago
1,348 stars

Top 30.4% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

ControlFlow is a Python framework for building structured, observable, and controllable AI agentic workflows. It targets developers seeking to integrate LLMs into applications with predictable outcomes, offering task-centric architecture, structured results, and multi-agent orchestration.

How It Works

ControlFlow breaks down complex AI processes into discrete, observable tasks. Each task can be assigned to specialized AI agents, allowing for modularity and focused execution. The framework bridges AI outputs with traditional software by enabling type-safe, validated results via Pydantic models. This approach provides flexible control over AI autonomy and integrates seamlessly with the Prefect 3.0 observability stack.

Quick Start & Requirements

  • Install with: pip install controlflow
  • Requires an LLM provider configuration (defaults to OpenAI, needs OPENAI_API_KEY environment variable).
  • Full documentation and example projects are available.

Highlighted Details

  • Task-centric architecture for manageable, observable steps.
  • Structured results with type-safe, validated outputs.
  • Support for specialized agents and multi-agent orchestration.
  • Native integration with Prefect 3.0 for observability.

Maintenance & Community

  • Community support is available via Slack.
  • Links to documentation and example projects are provided.

Licensing & Compatibility

  • The license is not explicitly stated in the README.

Limitations & Caveats

The README does not specify licensing details, which may impact commercial use or closed-source integration.

Health Check
Last commit

3 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
73 stars in the last 90 days

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Boris Cherny Boris Cherny(Creator of Claude Code; MTS at Anthropic), and
9 more.

marvin by PrefectHQ

0.3%
6k
Python framework for agentic AI workflows
created 2 years ago
updated 1 week ago
Feedback? Help us improve.