The-Pocket/PocketFlow
Pocket Flow: 100-line LLM framework. Let Agents build Agents!
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #385 of 525 repositories GStars tracks this week (top 73%).
No releases in the last 90 days; the most recent was 578 days ago, with 23 contributors on GitHub.
Peaked at #57 in the weekly ranking the week of Feb 15, its best in the past year.
Use Cases & Benefits
- Provides a minimalist 100-line Python framework for building and orchestrating large language model (LLM) agents and workflows using a graph-based abstraction.
- Delivers a lightweight, dependency-free, and vendor-neutral solution that enables expressive multi-agent, workflow, and retrieval-augmented generation patterns with minimal code.
- Use for rapidly prototyping and deploying custom LLM-powered agents and workflows without the bloat of larger frameworks.
- Use for implementing agentic coding paradigms where AI agents autonomously create and manage other agents to boost development productivity.
- Use for educational purposes to learn core LLM framework concepts and design patterns through simple, clear, and extensible examples.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Pocket Flow is a 100-line minimalist LLM framework
Current LLM frameworks are bloated... You only need 100 lines for LLM Framework!
The 100 lines capture the core abstraction of LLM frameworks: Graph!
From there, it's easy to implement popular design patterns like (Multi-)Agents, Workflow, RAG, etc.
👀 Want to see other tutorials for dummies? Create an issue!
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
1.2K+6
Open issues
76+4
Compared with peers in AI
Fastest-growing repositories GStars tracks in this cohort for the week of Oct 25, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| heygen-com/hyperframes | 71.5K | +5.6K | 75 | today |
| Comfy-Org/ComfyUI | 142.6K | +4.6K | 75 | 5 days ago |
| thesysdev/openui | 13.6K | +2.1K | 75 | 9 days ago |
| vxcontrol/pentagi | 32.3K | +1.5K | 75 | 19 days ago |
| vllm-project/vllm | 95.3K | +1.4K | 75 | 6 days ago |
| The-Pocket/PocketFlow | 11.3K | +0 | 75 | 578 days ago |
| Category median | 71.5K | +2.1K | 75 | — |
Discover Repositories
Search across tracked repositories by name or description