flo-ai
flo-ai copied to clipboard
๐ฅ๐ฅ๐ฅ Simple way to create composable AI agents
Composable AI Agentic Workflow
Rootflo is an alternative to Langgraph, and CrewAI. It lets you easily build composable agentic workflows from using simple components to any size, unlocking the full potential of LLMs.
Checkout the docs ยป
Github
โข
Website
โข
Roadmap
Flo AI ๐
Build production-ready AI agents and teams with minimal code
Flo AI is a Python framework that makes building production-ready AI agents and teams as easy as writing YAML. Think "Kubernetes for AI Agents" - compose complex AI architectures using pre-built components while maintaining the flexibility to create your own.
โจ Features
- ๐ Truly Composable: Build complex AI systems by combining smaller, reusable components
- ๐๏ธ Production-Ready: Built-in best practices and optimizations for production deployments
- ๐ YAML-First: Define your entire agent architecture in simple YAML
- ๐ง Flexible: Use pre-built components or create your own
- ๐ค Team-Oriented: Create and manage teams of AI agents working together
- ๐ RAG Support: Built-in support for Retrieval-Augmented Generation
- ๐ Langchain Compatible: Works with all your favorite Langchain tools
๐ Quick Start
Installation
pip install flo-ai
# or using poetry
poetry add flo-ai
Create Your First AI Team in 30 Seconds
from flo_ai import Flo, FloSession
from langchain_openai import ChatOpenAI
# Define your team in YAML
yaml_config = """
apiVersion: flo/alpha-v1
kind: FloRoutedTeam
name: research-team
team:
name: ResearchTeam
router:
name: TeamLead
kind: supervisor
agents:
- name: Researcher
role: Research Specialist
job: Research latest information on given topics
tools:
- name: TavilySearchResults
- name: Writer
role: Content Creator
job: Create engaging content from research
"""
# Set up and run
llm = ChatOpenAI(temperature=0)
session = FloSession(llm).register_tool(name="TavilySearchResults", tool=TavilySearchResults())
flo = Flo.build(session, yaml=yaml_config)
# Start streaming results
for response in flo.stream("Write about recent AI developments"):
print(response)
๐ Documentation
Visit our comprehensive documentation for:
- Detailed tutorials
- Architecture deep-dives
- API reference
- Best practices
- Advanced examples
๐ Why Flo AI?
For AI Engineers
- Faster Development: Build complex AI systems in minutes, not days
- Production Focus: Built-in optimizations and best practices
- Flexibility: Use our components or build your own
For Teams
- Maintainable: YAML-first approach makes systems easy to understand and modify
- Scalable: From single agents to complex team hierarchies
- Testable: Each component can be tested independently
๐ฏ Use Cases
- ๐ค Customer Service Automation
- ๐ Data Analysis Pipelines
- ๐ Content Generation
- ๐ Research Automation
- ๐ฏ Task-Specific AI Teams
๐ค Contributing
We love your input! Check out our Contributing Guide to get started. Ways to contribute:
- ๐ Report bugs
- ๐ก Propose new features
- ๐ Improve documentation
- ๐ง Submit PRs
๐ License
Flo AI is MIT Licensed.
๐ Acknowledgments
Built with โค๏ธ using: