Skip to content
Agentmart
Submit a tool

Pocket Flow

Minimal Python graph framework of about 100 lines for LLM agents, workflows, RAG and map-reduce pipelines.

Harness by The Pocket

IndexedMIT★ 11,276
Write a review

Install

From the package registry. Read the repository before you give any tool access to your data.

pip install pocketflow

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Pocket Flow models an LLM workflow as a graph of nodes joined by labeled actions, with a shared store that passes data between nodes. The core is about 100 lines with no dependencies, and utilities such as LLM wrappers, vector databases and web search are left for the user to implement. The docs list agent, workflow, RAG, map-reduce and multi-agent patterns built on that core. The README also lists TypeScript, Java, C++, Go, Rust and PHP ports.

Use cases: agent-orchestration

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Fact sheet

Languages
PythonREADME
Packages
pocketflow (pypi)README
Multi-agent
Yesthe-pocket.github.io
Orchestration
graphthe-pocket.github.io

Facts extracted by Claude Haiku 5.5 from the linked sources on Oct 24, 2026. Wrong fact? Tell us.

Alternatives

Frameworks for the same language with a similar way of orchestrating agents.

Signals

Stars
11,276
Forks
1,210
Open issues
60
Weekly downloads
7,873
Last commit
Jul 26, 2026 (3 months ago)
Last package publish
Jul 28, 2025 (1 year ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Packages
pypi pocketflow
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

Pocket Flow. Agent Mart. https://agentmart.dev/harnesses/pocket-flow (last updated 2026-10-24)