AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
ToolsCategoriesTrendingNewCompare
Home/
RAG / Knowledge Base/
PocketFlow
PocketFlow logo

PocketFlow

Active·★ 11.0k·MIT·Updated 2026-03-27
★ Trending★ Essential

Pocket Flow is a 100-line minimalist LLM framework designed to simplify the development of large language model applications. It leverages a core graph abstraction, enabling users to easily implement popular design patterns like multi-agents, workflows, and RAG without bloat or dependencies.

PocketFlow is currently grouped under RAG / Knowledge Base, which makes it easier to evaluate through workflow fit instead of isolated features alone. Based on the available data, it leans most heavily toward Lightweight and minimalist (100 lines, zero dependencies). and Building and orchestrating AI agents (e.g., research agents, multi-agents).. The listed license is MIT, which is useful when adoption constraints matter. It also shows measurable community traction with 11.0k GitHub stars.

© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

#LLM Framework#AI Agents#Python#Minimalist#Workflow Automation#Coding
$ Install
$ pip install pocketflow
↗ Visit site★ GitHub
01

Features

01Lightweight and minimalist (100 lines, zero dependencies).
02Expressive, supporting popular LLM design patterns (Agents, Workflow, RAG).
03Facilitates "Agentic Coding" for 10x productivity with AI Agents.
04Core abstraction based on Graphs for flexible LLM application building.
05Cross-language support with versions in Typescript, Java, C++, Go, Rust, and PHP.
02

Why choose it

+Lightweight and minimalist (100 lines, zero dependencies).
+Building and orchestrating AI agents (e.g., research agents, multi-agents).
+Covers 7 supported environments or platforms, which is helpful for broader deployment needs.
+Ships with a public repository and a MIT license, which makes adoption and review easier.
03

Trade-offs

!There are at least 8 related tools in the same category, so the best choice is easier to make after side-by-side comparison.
04

Compatibility

Python
Native
Verified via docs
Typescript
Supported
Verified via docs
Java
Supported
Verified via docs
C++
Supported
Verified via docs
Go
Supported
Verified via docs
Rust
Supported
Verified via docs
05

Quick start

1
$ pip install pocketflow
06

Use cases

↳Building and orchestrating AI agents (e.g., research agents, multi-agents).
↳Implementing LLM-powered workflows (e.g., writing, batch processing, code generation).
↳Developing Retrieval-Augmented Generation (RAG) applications.
07

How it compares

≈PocketFlow sits in the RAG / Knowledge Base category, so it makes more sense to evaluate it alongside tools like mindsdb instead of in isolation.
≈If your main need is closer to "Building and orchestrating AI agents (e.g., research agents, multi-agents).", that use case is a better lens for comparison than broad feature checklists alone.
≈PocketFlow uses a MIT license, and community traction are both easier to judge in category context.
08

Alternatives

mindsdb logo
mindsdb★ 39.5k
Federated Query Engine for AI - The only MCP Server you'll ever need
vs →
Brave Search MCP logo
Brave Search MCP★ 88.6k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
headroom logo
headroom★ 60.2k
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.

Related searches

PocketFlow AlternativesBest RAG / Knowledge Base Tools 2026Open Source RAG / Knowledge BasePocketFlow TutorialPocketFlow Vs CompetitorsLLM FrameworkAI AgentsPython

Comments

Log in to leave a comment
  • ?
    usr_seed_0366May 14, 2026

    100-line LLM framework is the right size for understanding what's actually happening under the hood.

  • ?
    usr_seed_0474Apr 24, 2026

    Production use is possible but the real value is understanding agent patterns without framework magic.

  • ?
    usr_seed_0430Mar 26, 2026

    Used as a teaching tool for LLM agent concepts. The small surface area makes it genuinely learnable.

  • ?
    usr_seed_0660Mar 25, 2026

    Letting Agents build Agents is a compelling meta-capability when the framework is this minimal.

  • ?
    usr_seed_0111Mar 13, 2026

    The simplicity is the feature. Most frameworks hide too much — PocketFlow makes tradeoffs explicit.

On this page
01Features02Why choose it03Trade-offs04Compatibility05Quick start06Use cases
vs →
Context7 logo
Context7★ 59.4k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
vs →
GitHub MCP Server logo
GitHub MCP Server★ 31.6k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
vs →
n8n logo
n8n★ 197.1k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
vs →
Microsoft AutoGen logo
Microsoft AutoGen★ 59.8k
A framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
vs →
CrewAI logo
CrewAI★ 55.8k
Framework for orchestrating role-playing, autonomous AI agents. By working together, your Crew can tackle complex tasks.
vs →
See all alternatives →
07
How it compares
08Alternatives
Stats
GitHub Stars★ 11.0k
Last commit3mo ago
StatusActive
LicenseMIT
CategoryRAG / Knowledge Base
Trend (30d)
+0.4k↑ 4.6%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad