|
| 1 | + |
| 2 | +<!DOCTYPE html> |
| 3 | +<html lang="en-US"> |
| 4 | + <head> |
| 5 | + <meta name="google-site-verification" content="53bFr8c4aQ4Umpc1T4tHJbtbKv3giVCEfEWvyVxE65c" /> |
| 6 | + <meta charset="UTF-8"> |
| 7 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 9 | + |
| 10 | +<!-- Begin Jekyll SEO tag v2.8.0 --> |
| 11 | +<title>flo-ai | 🔥🔥🔥 Simple way to create composable AI agents</title> |
| 12 | +<meta name="generator" content="Jekyll v3.10.0" /> |
| 13 | +<meta property="og:title" content="flo-ai" /> |
| 14 | +<meta property="og:locale" content="en_US" /> |
| 15 | +<meta name="description" content="🔥🔥🔥 Simple way to create composable AI agents" /> |
| 16 | +<meta property="og:description" content="🔥🔥🔥 Simple way to create composable AI agents" /> |
| 17 | +<link rel="canonical" href="https://rootflo.github.io/flo-ai/" /> |
| 18 | +<meta property="og:url" content="https://rootflo.github.io/flo-ai/" /> |
| 19 | +<meta property="og:site_name" content="flo-ai" /> |
| 20 | +<meta property="og:type" content="website" /> |
| 21 | +<meta name="twitter:card" content="summary" /> |
| 22 | +<meta property="twitter:title" content="flo-ai" /> |
| 23 | +<script type="application/ld+json"> |
| 24 | +{"@context":"https://schema.org","@type":"WebSite","description":"🔥🔥🔥 Simple way to create composable AI agents","headline":"flo-ai","name":"flo-ai","url":"https://rootflo.github.io/flo-ai/"}</script> |
| 25 | +<!-- End Jekyll SEO tag --> |
| 26 | + |
| 27 | + <link rel="stylesheet" href="/flo-ai/assets/css/style.css?v=826032176717d70098ac1c76ba74b4c8a6f9f498"> |
| 28 | + <!-- start custom head snippets, customize with your own _includes/head-custom.html file --> |
| 29 | + |
| 30 | +<!-- Setup Google Analytics --> |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | +<!-- You can set your favicon here --> |
| 35 | +<!-- link rel="shortcut icon" type="image/x-icon" href="/flo-ai/favicon.ico" --> |
| 36 | + |
| 37 | +<!-- end custom head snippets --> |
| 38 | + |
| 39 | + </head> |
| 40 | + <body> |
| 41 | + <div class="container-lg px-3 my-5 markdown-body"> |
| 42 | + |
| 43 | + <h1><a href="https://rootflo.github.io/flo-ai/">flo-ai</a></h1> |
| 44 | + |
| 45 | + |
| 46 | + <p align="center"> |
| 47 | + <img src="./images/rootflo-logo.png" alt="Rootflo" width="150" /> |
| 48 | +</p> |
| 49 | + |
| 50 | +<h1 align="center">Composable AI Agentic Workflow</h1> |
| 51 | + |
| 52 | +<p align="center"> |
| 53 | +Rootflo is an alternative to <b>Langgraph</b>, and <b>CrewAI</b>. It lets you easily build composable agentic workflows from using simple components to any size, unlocking the full potential of LLMs. |
| 54 | +</p> |
| 55 | + |
| 56 | +<p align="center"> |
| 57 | + <a href="https://github.com/rootflo/flo-ai/stargazers"><img src="https://img.shields.io/github/stars/rootflo/flo-ai?style=for-the-badge" alt="GitHub stars" /></a> |
| 58 | + <a href="https://github.com/rootflo/flo-ai/releases"> |
| 59 | + <img src="https://img.shields.io/github/v/release/rootflo/flo-ai?display_name=release&style=for-the-badge" alt="GitHub release (latest)" /> |
| 60 | + </a> |
| 61 | + <a href="https://github.com/rootflo/flo-ai/graphs/commit-activity"><img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/rootflo/flo-ai/develop?style=for-the-badge" /> |
| 62 | + </a> |
| 63 | + <a href="https://github.com/rootflo/flo-ai/blob/develop/LICENSE"><img src="https://img.shields.io/github/license/rootflo/flo-ai?style=for-the-badge" alt="License" /> |
| 64 | + </a> |
| 65 | + <br /> |
| 66 | +</p> |
| 67 | + |
| 68 | +<p align="center"> |
| 69 | + <br /> |
| 70 | + <a href="https://flo-ai.rootflo.ai" rel=""><strong>Checkout the docs »</strong></a> |
| 71 | + <br /> |
| 72 | + <br /> |
| 73 | + <a href="https://rootflo.ai">Website</a> |
| 74 | + • |
| 75 | + <a href="https://github.com/rootflo/flo-ai/blob/develop/ROADMAP.md">Roadmap</a> |
| 76 | + </p> |
| 77 | + |
| 78 | +<hr /> |
| 79 | + |
| 80 | +<h1 id="flo-ai-">Flo AI 🌊</h1> |
| 81 | + |
| 82 | +<blockquote> |
| 83 | + <p>Build production-ready AI agents and teams with minimal code</p> |
| 84 | +</blockquote> |
| 85 | + |
| 86 | +<p>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.</p> |
| 87 | + |
| 88 | +<h2 id="-features">✨ Features</h2> |
| 89 | + |
| 90 | +<ul> |
| 91 | + <li>🔌 <strong>Truly Composable</strong>: Build complex AI systems by combining smaller, reusable components</li> |
| 92 | + <li>🏗️ <strong>Production-Ready</strong>: Built-in best practices and optimizations for production deployments</li> |
| 93 | + <li>📝 <strong>YAML-First</strong>: Define your entire agent architecture in simple YAML</li> |
| 94 | + <li>🔧 <strong>Flexible</strong>: Use pre-built components or create your own</li> |
| 95 | + <li>🤝 <strong>Team-Oriented</strong>: Create and manage teams of AI agents working together</li> |
| 96 | + <li>📚 <strong>RAG Support</strong>: Built-in support for Retrieval-Augmented Generation</li> |
| 97 | + <li>🔄 <strong>Langchain Compatible</strong>: Works with all your favorite Langchain tools</li> |
| 98 | +</ul> |
| 99 | + |
| 100 | +<h2 id="-quick-start">🚀 Quick Start</h2> |
| 101 | + |
| 102 | +<h3 id="installation">Installation</h3> |
| 103 | + |
| 104 | +<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pip <span class="nb">install </span>flo-ai |
| 105 | +<span class="c"># or using poetry</span> |
| 106 | +poetry add flo-ai |
| 107 | +</code></pre></div></div> |
| 108 | + |
| 109 | +<h3 id="create-your-first-ai-team-in-30-seconds">Create Your First AI Team in 30 Seconds</h3> |
| 110 | + |
| 111 | +<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">from</span> <span class="nn">flo_ai</span> <span class="kn">import</span> <span class="n">Flo</span><span class="p">,</span> <span class="n">FloSession</span> |
| 112 | +<span class="kn">from</span> <span class="nn">langchain_openai</span> <span class="kn">import</span> <span class="n">ChatOpenAI</span> |
| 113 | + |
| 114 | +<span class="c1"># Define your team in YAML |
| 115 | +</span><span class="n">yaml_config</span> <span class="o">=</span> <span class="s">""" |
| 116 | +apiVersion: flo/alpha-v1 |
| 117 | +kind: FloRoutedTeam |
| 118 | +name: research-team |
| 119 | +team: |
| 120 | + name: ResearchTeam |
| 121 | + router: |
| 122 | + name: TeamLead |
| 123 | + kind: supervisor |
| 124 | + agents: |
| 125 | + - name: Researcher |
| 126 | + role: Research Specialist |
| 127 | + job: Research latest information on given topics |
| 128 | + tools: |
| 129 | + - name: TavilySearchResults |
| 130 | + - name: Writer |
| 131 | + role: Content Creator |
| 132 | + job: Create engaging content from research |
| 133 | +"""</span> |
| 134 | + |
| 135 | +<span class="c1"># Set up and run |
| 136 | +</span><span class="n">llm</span> <span class="o">=</span> <span class="n">ChatOpenAI</span><span class="p">(</span><span class="n">temperature</span><span class="o">=</span><span class="mi">0</span><span class="p">)</span> |
| 137 | +<span class="n">session</span> <span class="o">=</span> <span class="n">FloSession</span><span class="p">(</span><span class="n">llm</span><span class="p">).</span><span class="n">register_tool</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">"TavilySearchResults"</span><span class="p">,</span> <span class="n">tool</span><span class="o">=</span><span class="n">TavilySearchResults</span><span class="p">())</span> |
| 138 | +<span class="n">flo</span> <span class="o">=</span> <span class="n">Flo</span><span class="p">.</span><span class="n">build</span><span class="p">(</span><span class="n">session</span><span class="p">,</span> <span class="n">yaml</span><span class="o">=</span><span class="n">yaml_config</span><span class="p">)</span> |
| 139 | + |
| 140 | +<span class="c1"># Start streaming results |
| 141 | +</span><span class="k">for</span> <span class="n">response</span> <span class="ow">in</span> <span class="n">flo</span><span class="p">.</span><span class="n">stream</span><span class="p">(</span><span class="s">"Write about recent AI developments"</span><span class="p">):</span> |
| 142 | + <span class="k">print</span><span class="p">(</span><span class="n">response</span><span class="p">)</span> |
| 143 | +</code></pre></div></div> |
| 144 | + |
| 145 | +<h2 id="-documentation">📖 Documentation</h2> |
| 146 | + |
| 147 | +<p>Visit our <a href="https://flo-ai.rootflo.ai">comprehensive documentation</a> for:</p> |
| 148 | +<ul> |
| 149 | + <li>Detailed tutorials</li> |
| 150 | + <li>Architecture deep-dives</li> |
| 151 | + <li>API reference</li> |
| 152 | + <li>Best practices</li> |
| 153 | + <li>Advanced examples</li> |
| 154 | +</ul> |
| 155 | + |
| 156 | +<h2 id="-why-flo-ai">🌟 Why Flo AI?</h2> |
| 157 | + |
| 158 | +<h3 id="for-ai-engineers">For AI Engineers</h3> |
| 159 | +<ul> |
| 160 | + <li><strong>Faster Development</strong>: Build complex AI systems in minutes, not days</li> |
| 161 | + <li><strong>Production Focus</strong>: Built-in optimizations and best practices</li> |
| 162 | + <li><strong>Flexibility</strong>: Use our components or build your own</li> |
| 163 | +</ul> |
| 164 | + |
| 165 | +<h3 id="for-teams">For Teams</h3> |
| 166 | +<ul> |
| 167 | + <li><strong>Maintainable</strong>: YAML-first approach makes systems easy to understand and modify</li> |
| 168 | + <li><strong>Scalable</strong>: From single agents to complex team hierarchies</li> |
| 169 | + <li><strong>Testable</strong>: Each component can be tested independently</li> |
| 170 | +</ul> |
| 171 | + |
| 172 | +<h2 id="-use-cases">🎯 Use Cases</h2> |
| 173 | + |
| 174 | +<ul> |
| 175 | + <li>🤖 Customer Service Automation</li> |
| 176 | + <li>📊 Data Analysis Pipelines</li> |
| 177 | + <li>📝 Content Generation</li> |
| 178 | + <li>🔍 Research Automation</li> |
| 179 | + <li>🎯 Task-Specific AI Teams</li> |
| 180 | +</ul> |
| 181 | + |
| 182 | +<h2 id="-contributing">🤝 Contributing</h2> |
| 183 | + |
| 184 | +<p>We love your input! Check out our <a href="/flo-ai/CONTRIBUTING.md">Contributing Guide</a> to get started. Ways to contribute:</p> |
| 185 | + |
| 186 | +<ul> |
| 187 | + <li>🐛 Report bugs</li> |
| 188 | + <li>💡 Propose new features</li> |
| 189 | + <li>📝 Improve documentation</li> |
| 190 | + <li>🔧 Submit PRs</li> |
| 191 | +</ul> |
| 192 | + |
| 193 | +<h2 id="-license">📜 License</h2> |
| 194 | + |
| 195 | +<p>Flo AI is <a href="/flo-ai/LICENSE">MIT Licensed</a>.</p> |
| 196 | + |
| 197 | +<h2 id="-acknowledgments">🙏 Acknowledgments</h2> |
| 198 | + |
| 199 | +<p>Built with ❤️ using:</p> |
| 200 | +<ul> |
| 201 | + <li><a href="https://github.com/hwchase17/langchain">LangChain</a></li> |
| 202 | + <li><a href="https://github.com/langchain-ai/langgraph">LangGraph</a></li> |
| 203 | +</ul> |
| 204 | + |
| 205 | +<hr /> |
| 206 | + |
| 207 | +<div align="center"> |
| 208 | + <strong>Built with ❤️ by the Rootflo team</strong> |
| 209 | + <br /><a href="https://github.com/rootflo/flo-ai/discussions">Community</a> • |
| 210 | + <a href="https://flo-ai.rootflo.ai">Documentation</a> |
| 211 | +</div> |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + <div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray"> |
| 216 | + This site is open source. <a href="https://github.com/rootflo/flo-ai/edit/develop/README.md">Improve this page</a>. |
| 217 | + </div> |
| 218 | + |
| 219 | + </div> |
| 220 | + <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script> |
| 221 | + <script>anchors.add();</script> |
| 222 | + </body> |
| 223 | +</html> |
0 commit comments