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