The-Pocket/PocketFlow
Pocket Flow: 100-line LLM framework. Let Agents build Agents! observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 94
- Release rhythm 8
- Longevity 44
Flags: prerelease_only
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 617
- days_rel: 526
- days_push: 38
- n_releases_24m: 1
Adoption not part of the score
11135 stars · 1215 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Pocket Flow is a minimalist 100-line LLM framework in Python with zero dependencies, modeling LLM applications as a graph of nodes connected by actions with a shared store. It supports agents, workflows, RAG, multi-agent coordination, and batch/async patterns while leaving vendor-specific utilities to the user.
Use cases
- build llm agents in python without heavy frameworks
- orchestrate multi-step llm workflows as a graph
- implement rag pipelines with a minimal framework
- coordinate multiple ai agents
- let ai coding assistants generate agent code
- avoid vendor lock-in when calling llm apis
When to choose
- you want a tiny, zero-dependency LLM framework you can read and copy entirely
- you need agents, workflows, or RAG without vendor lock-in
- you plan to use AI coding agents to build LLM applications
- you want to implement your own LLM wrappers and utilities
When to avoid
- you need built-in integrations for LLM providers, vector databases, or web search
- you want production-grade features like observability, retries, and tooling out of the box
- you prefer batteries-included frameworks like LangChain
Facets
framework · maturity active
agent-framework rag workflow-automation llm-inference prompt-engineering artificial-intelligence large-language-models developer-tools python cross-platform minimalist zero-dependency graph-based flow-based-programming agentic-coding multi-agent llm-orchestration mit-license ai-agents retrieval-augmented-generation
3 sources
- readme: https://github.com/The-Pocket/PocketFlow · fetched 2026-08-28 · 8ae40f8daa9e
- homepage: https://the-pocket.github.io/PocketFlow/ · fetched 2026-08-29 · 23e81ac9613f
- registry_pypi: https://pypi.org/pypi/pocketflow/json · fetched 2026-08-29 · 201df6de95c5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| The-Pocket/PocketFlow | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="The-Pocket/PocketFlow")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem