PocketFlow icon indicating copy to clipboard operation
PocketFlow copied to clipboard

Pocket Flow: 100-line LLM framework. Let Agents build Agents!

Results 58 PocketFlow issues
Sort by recently updated
recently updated
newest added

在运行官方提供的Research Supervisor Demo时正确结束会报错: 以下是结束什么都不return,然后flow不写结束流程,报错: ![Image](https://github.com/user-attachments/assets/6b951395-5959-421c-8730-84f4dd19575e) ![Image](https://github.com/user-attachments/assets/75ee086b-c004-4103-969e-439086a33c03) ![Image](https://github.com/user-attachments/assets/cee2ee0c-9f3c-4fe2-a0b1-0e90037c0f5f) 以下是结束return end,然后flow写个end结束流程,报错: ![Image](https://github.com/user-attachments/assets/cb1014d6-ff48-4f8f-bb68-14c9e9a2e757) ![Image](https://github.com/user-attachments/assets/e1776e4c-afb0-4d19-a8f9-7e4e9477c952) ![Image](https://github.com/user-attachments/assets/52c3bd90-8ba8-4f44-a810-b5cfaa4fbaff) UserWarning: Flow ends: 'end' not found in ['retry', 'end'] 是为什么额,求大佬解答

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress....

Hello, First of all, I really appreciate the great work done on **PocketFlow**. I primarily work with **Rust**, and I’d like to contribute by creating a **Rust template repository** similar...

PocketFlow的设计理念非常出色。在当前Agent应用场景中,大部分都是基于工作流模式的,因此采用Flow的方式确实能带来显著效果。经过深入使用后,我认为可以进一步优化其组件设计,将其原子化程度提升到更高水平。理想状态下,开发者只需编写简单的流程编排代码即可完成复杂任务,例如:`QuestionNode >> LLMNode >> RAGNode`。更进一步说,如果原子化能力足够强大,甚至可以将Dify这样的低代码编排流程转换为PocketFlow的高代码实现。我已经验证过这个方向的可行性,目前遇到的主要挑战在于数据共享机制。当前PocketFlow通过`shared`对象在Node间共享数据,每个Node可以自由定义输出到shared的数据。然而在实际应用中,由于每个Node的输入需求各不相同,导致在流程编排时经常需要重新调整每个Node的输入输出配置,这给使用带来了诸多不便。 举一个简单的例子: ```python class QuestionNode(Node): def prep(self, shared): return shared def exec(self, prep_res): question = prep_res["question"] return question def post(self, shared, prep_res, exec_res): shared["question"] = exec_res...

Hi @rhiza-fr, Your work on PocketFlowTyped and runtime wrappers stood out to me. I’m prototyping Aura, a YAML-driven runtime that builds directly on PocketFlow’s model, adding governance layers (policy tuning,...

Hi, it would be very interesting to see a cookbook example for an implementation of an agent similar to how Claude Code works with todos and subagents. Similar to the...

The ability to interact with databases using natural language is a rapidly evolving field that empowers users to extract meaningful insights from their data without needing to write complex SQL...

有没有计划支持Checkpointers 机制? langgraph 文档:https://langchain-ai.github.io/langgraph/reference/checkpoints/ 用途主要是 human-in-loop 阶段的 interurpt 后的 resume(恢复现场)

Hi! Congrats for this great project. I saw this [video](https://www.youtube.com/watch?v=Cf38Bi8U0Js) on Youtube and got curious about your project. I was reading the code on this [Link](https://github.com/The-Pocket/PocketFlow/blob/main/cookbook/pocketflow_demo.ipynb) and I was wondering...

Hi there, Thanks for sharing your excellent works! I'm creator of the Dart implementation of the PocketFlow, please merge this PR for the updated README files. Thank you.