Skip to main content

A easy way to create structured AI agents

Project description

Rootflo

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.

GitHub stars GitHub release (latest) GitHub commit activity License


Checkout the docs »

GithubWebsiteRoadmap


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:


Built with ❤️ by the Rootflo team
CommunityDocumentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flo_ai-0.0.4rc1.tar.gz (25.0 kB view details)

Uploaded Source

Built Distribution

flo_ai-0.0.4rc1-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file flo_ai-0.0.4rc1.tar.gz.

File metadata

  • Download URL: flo_ai-0.0.4rc1.tar.gz
  • Upload date:
  • Size: 25.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/22.6.0

File hashes

Hashes for flo_ai-0.0.4rc1.tar.gz
Algorithm Hash digest
SHA256 61cf0a4c891d47ad59de9a3596f2ea3aa71bad362c2186b5a3b7a5c6bb3c84ff
MD5 d399a7280c85a7f66ebe0ba7ec61de5b
BLAKE2b-256 f2de6d9bcda92d236eac03d309a7f1b7771442a48732cf7e617436de0594cbc5

See more details on using hashes here.

File details

Details for the file flo_ai-0.0.4rc1-py3-none-any.whl.

File metadata

  • Download URL: flo_ai-0.0.4rc1-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/22.6.0

File hashes

Hashes for flo_ai-0.0.4rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 eaf4376078a5ec7ccbc16bf4069faa7fdc82a1acadcbce46c1c32a3101e1e620
MD5 8a94b5e666745fad6e5698d97812be40
BLAKE2b-256 3f050ae46bc46069f2539bf6ff53f549138498dffa91f7837773726d8085ffa1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page