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

PocketFlow

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

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

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.

#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

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
03

Quick start

1
$ pip install pocketflow
04

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.
05

Alternatives

mindsdb logo
mindsdb★ 39.2k
Federated Query Engine for AI - The only MCP Server you'll ever need
vs →
Brave Search MCP logo
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
Context7 logo
Context7★ 56.4k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
vs →
GitHub MCP Server logo
GitHub MCP Server★ 30.3k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
vs →
n8n logo
n8n★ 190.2k
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★ 58.5k
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★ 52.4k
Framework for orchestrating role-playing, autonomous AI agents. By working together, your Crew can tackle complex tasks.
vs →
ToolJet logo
ToolJet★ 37.9k
ToolJet is the open-source foundation of ToolJet AI - the AI-native platform for building internal tools, dashboard, business applications, workflows and AI agents 🚀
vs →
See all alternatives →

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
  • P
    Parker MartinezMay 14, 2026

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

  • P
    Peyton ThompsonApr 24, 2026

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

  • E
    Elliot JohnsonMar 26, 2026

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

  • A
    Avery AndersonMar 25, 2026

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

  • B
    Blake RiveraMar 13, 2026

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

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 10.7k
Last commit2mo 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
© 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.