Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

PocketFlow

> DevOps
Open source

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

11.1K stars0 likes2 views
WebsiteGitHub

About

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

English | 中文 | Español | 日本語 | Deutsch | Русский | Português | Français | 한국어

Pocket Flow is a 100-line minimalist LLM framework

  • Lightweight: Just 100 lines. Zero bloat, zero dependencies, zero vendor lock-in.

  • Expressive: Everything you love—(Multi-)Agents, Workflow, RAG, and more.

  • Agentic Coding: Let AI Agents (e.g., Cursor AI) build Agents—10x productivity boost!

Get started with Pocket Flow:

  • To install, pip install pocketflowor just copy the source code (only 100 lines).
  • To learn more, check out the video tutorial and documentation
  • Join our Discord to connect with other developers building with Pocket Flow!
  • Pocket Flow now has Typescript, Java, C++, Go, Rust and PHP versions!

Why Pocket Flow?

Current LLM frameworks are bloated... You only need 100 lines for LLM Framework!

How does Pocket Flow work?

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.


✨ Below are basic tutorials:

Want to see other tutorials for dummies? Create an issue!

How to Use Pocket Flow?

Through Agentic Coding—the fastest LLM App development paradigm-where humans design and agents code!



✨ Below are examples of more complex LLM Apps:

  • Want to learn Agentic Coding?

    • Check out my YouTube for video tutorial on how some apps above are made!

    • Want to build your own LLM App? Read this post! Start with this template!

Issues· 75 open

View all issuesOpen on GitHub
  • #78

    pocketflow-agent utils NameError: name 'search_web' is not defined

    Updated Sep 5, 2026
  • #100

    关于LLM流式输出的疑问

    Updated Aug 12, 2026
  • #105

    Is there a plan to support Checkpointers?

    Updated Aug 12, 2026
  • #140

    RLM Example Cookbook

    Updated Jun 14, 2026
  • #117

    I would like to see a tutorial for the agent to interact with a Database to extract meaningful information in natural language.

    Updated May 27, 2026
  • #110

    PocketFlow编排能力进一步增强的思考

    Updated May 8, 2026
  • #135

    help needed for ArXiv endorsement

    Updated Apr 1, 2026
  • #106

    Turn SharedData into generic for improved code intelligence / type checking

    Updated Mar 31, 2026
  • #119

    Proposal: Create a Rust Template Repository for PocketFlow

    Updated Mar 25, 2026
  • #132

    [Proposal] PocketFlow example: 100-line RAG with WFGY 16-problem debug mode

    Updated Mar 5, 2026

> Tags

Pythonagentic-aiagentic-frameworkagentic-workflowagents

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理