Home/AI Agents/PocketFlow
PocketFlow logo

PocketFlow

The-Pocket/PocketFlow

100-line minimalist LLM framework

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

86views this month

11k stars1.2k forksLast push Jul 26, 2026 Python MIT

Decision brief

PocketFlow is a minimalist LLM framework, designed for agentic coding and AI agent development, with support for multi-agents, workflow, and RAG, all in just 100 lines of Python code.

Good fit when

  • When you need a lightweight framework with minimal dependencies for developing AI agents and workflows.
  • If you are looking for a tool that supports agentic coding, allowing AI agents to build other agents, potentially boosting productivity.

Avoid when

  • If your project requires extensive features and integrations that go beyond the minimalist design of PocketFlow.
  • When you need a more comprehensive framework with a larger codebase to support complex functionalities not covered by PocketFlow.

Observed Sep 18, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Steady (53d since push)
As of Sep 18, 2026
Provenance
Not a fork · Organization account
As of Sep 18, 2026
Security (OSV)
No lockfile
As of Sep 18, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install PocketFlow
PyPI

How it fits your stack(9)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Alternative

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Pocket Flow is a lightweight, 100-line LLM framework that supports multi-agents, workflow, and RAG, enabling agentic coding and AI agent development.

Capability facts

Languages
python

Source: github.language · Sep 18, 2026

Categories

Graph entities

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

LangChain integrationLangChain

Source: README excerpt (regex_v1, Sep 18, 2026)

| LangChain | Agent, Chain | Many <br><sup><sub>(e.g., QA, Summarization)</s
Source link
Python runtimePython

Source: README excerpt (regex_v1, Sep 18, 2026)

- To install, ```pip install pocketflow```or just copy the [source code](https://github.com/The-Pocket/Pocke
Source link
Works with CursorCursor

Source: README excerpt (regex_v1, Sep 18, 2026)

uang.substack.com/p/agentic-coding-the-most-fun-way-to)**: Let AI Agents (e.g., Cursor AI) build Agents—10x productivity boost!
Source link

Tags

README

<div align="center" <img src="https://github.com/The Pocket/.github/raw/main/assets/title.png" alt="Pocket Flow – 100 line minimalist LLM framework" width="600"/ </div English 中文 Español 日本語 Deutsch Русский Português Français 한국어 <a href="https://discord.gg/hUHHE9Sa6T" <img src="...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.