A radically minimalist AI framework (just 300 lines! 🤯)
Build Powerful AI Agents with Minimal Code, Maximum Freedom.
Let Agents build Agents with Zero bloat, dependencies, or vendor lock-in 😮
BrainyFlow is a framework enabling Agentic Coding through powerful abstractions.
It provides a simple interface for building complex AI applications based on nested directed graphs with shared state.
It enables both humans and AI assistants to collaborate effectively on designing and implementing AI systems.
Features
Brain-Easy 🧠: Intuitive for both humans and AI assistants
Minimalist Design ✨: Core abstractions in just (you heard it right!) 300 lines of code
Freedom 🔓: Zero bloat, dependencies, or vendor lock-in
Composable 🧩: Build complex systems from simple, reusable components
Agentic-Coding 🤖: Designed for AI-assisted development
Universal 🌈: Works with any LLM provider or API
Polyglot 🌍: Python and Typescript are both supported
Documentation
Our documentation is inclusive, suitable for both biological and synthetic minds.
Start by selecting your condition - or perhaps the one you've been conditioned to believe:
New to BrainyFlow? Check out our Getting Started guide to build your first flow in no time.
Ready to Build Self-Coding Apps?
Check out Agentic Coding Guidance, the fastest way to develop self-coding LLM projects with BrainyFlow!
Acknowledgement
We would like to extend our deepest gratitude to the creators and contributors of the PocketFlow framework, from which brainyFlow originated as a fork.
Contributors Wanted!
We're looking for contributors for all aspects of the project. Whether you're interested in documentation, testing, or implementing features, we'd love your help!
BrainyFlow is provided "as is" without any warranties or guarantees.
We do not take responsibility for how the generated output is used, including but not limited to its accuracy, legality, or any potential consequences arising from its use.