You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you would prefer a different python interpreter you can set PYO3_PYTHON=python3.12 (or whichever version > 3.7) during
83
+
your installation to change which is linked against.
84
+
78
85
79
86
### Environment Variables
80
-
You will need to set the following environment variables if you depend on nodes that
81
-
require them.
87
+
Chidori's interactions with LLMs default to http://localhost:4000 to hook into LiteLLM's proxy.
88
+
If you'd like to leverage gpt-3.5-turbo the included config file will support that.
82
89
```bash
83
90
OPENAI_API_KEY=...
91
+
litellm --config ./litellm_config.yaml
92
+
rye sync
84
93
```
85
94
86
95
## Examples
87
96
88
-
The following examples show how to build a simple agent that fetches the top stories from Hacker News and call the OpenAI API to filter to AI related launches and then format that data into markdown.
97
+
The following example shows how to build a simple agent that fetches the top stories from Hacker News and call the OpenAI API to filter to AI related launches and then format that data into markdown.
89
98
90
99
------
91
100
92
101
### Beginning here is an example executable Chidori agent:
93
102
94
103
Chidori agents can be a single file, or a collection of files structured as a typical Typescript or Python project.
95
-
The following example is a single file agent.
104
+
The following example is a single file agent. Consider this similar to something like a jupyter/iPython notebook
At its core, Chidori brings a reactive runtime that orchestrates interactions between different agents and their components. The runtime is comprised of "nodes", which react to system changes they subscribe to, providing dynamic and responsive behavior in your AI systems.
@@ -187,25 +189,6 @@ Chidori comes with first-class support for code interpreter environments like [D
187
189
This is an early open source release and we're looking for collaborators from the community.
188
190
A good place to start would be to join our [discord](https://discord.gg/CJwKsPSgew)!
189
191
190
-
## FAQ
191
-
192
-
### Why Another AI Framework?
193
-
Chidori focuses on the specifics of how LLM+code execution operates rather than providing specific compositions of prompts. Other frameworks haven’t focused on this space, and it's an important one. We reduce accidental complexity in building systems for long-running agents; this helps developers build successful systems.
194
-
195
-
### Why Chidori?
196
-
Chidori is the name of the lightning blade technique used by Kakashi in the Naruto anime series.
197
-
It also happens to [mean Thousand Birds in Japanese](https://en.wikipedia.org/wiki/Chidori), which is a nice coincidence.
198
-
199
-
### Well then why Thousand Birds?
200
-
Thousand Birds is a reference to flocks of birds (or a murmuration) and the emergent behavior that arises from their interactions.
201
-
We think this is a good metaphor for the behavior of long running agents, the internal units of LLM execution within them, and the emergent behavior that arises from their interactions.
202
-
203
-
### Why Rust?
204
-
Rust is a great language for building systems, we like the type system and the guarantees provided by it.
205
-
We also like the performance characteristics of Rust, and the ability to build a single binary that can be deployed anywhere.
206
-
The Rust ecosystem makes it fairly easy to provide bindings to other languages, which is important for us to provide a good developer experience.
207
-
208
-
209
192
## Inspiration
210
193
Our framework is inspired by the work of many others, including:
211
194
*[Temporal.io](https://temporal.io) - providing reliability and durability to workflows
0 commit comments