PocketFlow
Minimalist 100-line LLM framework for building agents and workflows.
Updated
✨ Try AgentScout's free AI image generator →Good for: automating workflows, building AI agents
Use cases
About PocketFlow
PocketFlow is listed in our frameworks category and is aimed at builders. Minimalist 100-line LLM framework for building agents and workflows. Pricing, as the maker states it: Open source. Maturity: Mature. We last checked the official link on 2026-10-16.
What is PocketFlow?
PocketFlow is a minimalist LLM framework in 100 lines, with zero dependencies and no vendor lock-in. It still supports agents, multi-agent setups, workflows and RAG.
Its makers encourage agentic coding, letting AI agents such as Cursor build agents with it, and ports exist for TypeScript, Java and other languages. You can install it or simply copy the source.
Sources: the official README and our directory listing, checked 2026-10-18. Official site: the-pocket.github.io/PocketFlow.
Who is PocketFlow for?
Developers who want to understand and control every line of their LLM framework.
PocketFlow at a glance
- Open source: Yes (MIT License)
- GitHub: The-Pocket/PocketFlow · 11,269 stars (as of Oct 21, 2026)
Key features
- 100 lines, zero dependencies
- Agents, workflows and RAG
- Ports to other languages
PocketFlow FAQ
What is PocketFlow?
PocketFlow is a minimalist LLM framework in 100 lines, with zero dependencies and no vendor lock-in. It still supports agents, multi-agent setups, workflows and RAG.
Who is PocketFlow for?
Developers who want to understand and control every line of their LLM framework.
Is PocketFlow free?
PocketFlow's pricing, as the maker states it: Open source. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.
Is PocketFlow open source?
Yes. PocketFlow is released under the MIT License, according to its GitHub repository.
What are alternatives to PocketFlow?
Similar tools include LangGraph, Haystack, Marvin, EvoAgentX, Ax and LazyLLM.
PocketFlow ratings and reviews
Be the first to rate PocketFlow: tap 1 to 5 stars below. A written review is optional.
PocketFlow alternatives
Other frameworks tools in our directory. See all frameworks tools →
LangGraph
Framework for stateful, graph-based agent workflows.
Haystack
Open-source orchestration framework for building production LLM apps, RAG and agents.
Marvin
Python library from Prefect for building AI agents and structured LLM workflows.
EvoAgentX
Framework for building, evaluating and automatically evolving LLM agents and agentic workflows.
Ax
DSPy-style framework for building LLM programs and agents in TypeScript.
LazyLLM
Low-code framework for building multi-agent LLM applications.
Related lists
🏆 Ranked in: AutoGPT alternatives · LangGraph alternatives
🔁 Listed in: LangGraph alternatives · AutoGPT alternatives
🧭 Task guides: AI workflow automation tools
💲 Estimate API cost: compare per-request and monthly costs for GPT, Claude, Gemini and Grok models.
Badge for makers
Built PocketFlow? Add this badge to your README or site. It links back to this page. About badges