PocketFlow
活跃·★ 10.7k·MIT·更新于 2026-03-27
★ 时下流行★ 必备神器
Pocket Flow 是一个仅有100行代码的极简LLM框架。
Pocket Flow 是一个仅有100行代码的极简LLM框架,旨在简化大型语言模型应用的开发。它利用核心图抽象,使用户能够轻松实现多智能体、工作流和RAG等流行设计模式,且无冗余或依赖。
#LLM框架#AI智能体#Python#极简主义#工作流自动化
Pocket Flow 是一个仅有100行代码的极简LLM框架。
Pocket Flow 是一个仅有100行代码的极简LLM框架,旨在简化大型语言模型应用的开发。它利用核心图抽象,使用户能够轻松实现多智能体、工作流和RAG等流行设计模式,且无冗余或依赖。
100-line LLM framework is the right size for understanding what's actually happening under the hood.
Production use is possible but the real value is understanding agent patterns without framework magic.
Used as a teaching tool for LLM agent concepts. The small surface area makes it genuinely learnable.
Letting Agents build Agents is a compelling meta-capability when the framework is this minimal.
The simplicity is the feature. Most frameworks hide too much — PocketFlow makes tradeoffs explicit.