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

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

Decision brief

Unverified catalog guidance: 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

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

Avoid when

  • Unverified catalog guidance: If your project requires extensive features and integrations that go beyond the minimalist design of PocketFlow.
  • Unverified catalog guidance: 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

Package installation is not established from the available documentation. Check the source repository for setup instructions.

git clone https://github.com/the-pocket/pocketflow
Source repository

Relationship proposals(9)

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

Alternatives

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Relationship types and rationales are stored proposals, not independently verified integrations, migration guidance or endorsements.

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.