Pocket Flow
简介
号称「100 行」的极简 Agent 工作流框架:只抽象节点与共享存储两个概念,其余全部交给提示词,配套大量「从零实现 XX Agent」教程,极适合学习原理。
English
A minimalist agent workflow framework in ~100 lines: only nodes and shared store abstractions, plus tons of build-from-scratch tutorials.
适用场景
- 想彻底看懂 Agent 框架的本质抽象
- 教学/分享需要最小可解释的实现
- 嫌弃大框架的隐性魔法,想要全可控
快速上手
- clone 仓库,通读 flow.py 的 100 行源码
- 跑通官方教程(如 YouTube 摘要 Agent)
- 把框架嵌进自己的项目做编排
- 对照教程系列挑一个 Agent 亲手实现
标签
相关资源
LangChain 精选
最流行的 LLM 应用开发框架,提供链式调用、Agent 编排、工具调用与 RAG 全套能力,Python 与 JS 双语言生态,适合快速搭建各类 AI Agent 应用。The most popular framework for building LLM applications: chains, agent orchestration, tool calling and RAG out of the box, in both Python and JavaScript.
LangGraph 精选
基于图(状态机)的 Agent 编排框架,擅长多 Agent 协作、循环与人工介入流程,是 LangChain 官方推荐的复杂 Agent 生产方案。Graph-based agent orchestration from the LangChain team. Ideal for multi-agent collaboration, loops and human-in-the-loop workflows in production.
AutoGen
微软开源的多 Agent 对话框架,让多个 Agent 通过对话协作完成复杂任务,支持人机混合参与,学术与工业界应用广泛。Microsoft's open-source framework where multiple agents converse to solve complex tasks, with human-in-the-loop support.