BigHugger
GH Repository · The-Pocket

PocketFlow

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

stars
11,177
30-day movement
starts with the next reading
Related entries
60
Connections
2
pythonagent-frameworkPythonlarge-language-modelslarge-language-modelai-frameworkagentspocketflowworkflow-orchestrationartificial-intelligenceai-frameworksflow-based-programmingflow-engineeringpocket-flowretrieval-augmented-generationllm-agentllm-frameworkagentic-workflowagentic-aiworkflowagentic-frameworkaiagentaiagents

PocketFlow is a minimal LLM agent framework written in roughly 100 lines of Python, using a flow-based programming approach for workflows. It ships cursor-rules and is MIT licensed.

You want a tiny, readable framework for building LLM agents and workflows without heavy dependencies.

Use it to

  • Build LLM agent workflows
  • Orchestrate multi-step agentic pipelines
  • Experiment with flow-based agent design
  • Integrate retrieval-augmented generation patterns
  • Let agents scaffold other agents

For Python developers building LLM agents

Role
agent-framework
Language
Python
Licence
MIT
Forks
1,213
Open issues
60
Last push
2026-07-26
Latest release
v0.0.0 · 2025-03-25
topicsagentsllm-frameworkworkflow-orchestrationflow-based-programmingpythonagentic-workflow