The best PocketFlow alternatives
8 tools that do a similar job to PocketFlow, 8 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.
You're replacing
PocketFlowA tiny Python framework (about 100 lines) for wiring LLM calls into graphs of steps and agents.
- 1

LangChain
Open source · MIT · ★ 149k
A Python framework for building AI agents and apps powered by language models.
Best for: Python developers building LLM-powered applications; Teams that want to switch between model providers without rewriting code
- 2

LangGraph
Open source · MIT · ★ 44.3k
A Python framework for building long-running agents that keep state and can resume after failures.
Best for: Python developers building multi-step AI agents that must survive failures or long waits; Teams that want fine-grained control over agent state and execution flow
- 3

CrewAI
Open source · MIT · ★ 60.4k
Python framework for building teams of role-playing AI agents that work together on tasks.
Best for: Python developers prototyping multi-agent workflows; Teams that want role-based agents collaborating on a task
- 4

Microsoft Agent Framework
Open source · MIT · ★ 14.5k
A Microsoft framework for building and running AI agents and multi-agent workflows in Python and .NET.
Best for: Developers building agents or multi-agent workflows they plan to run in production; Teams that need orchestration beyond a single prompt or stateless chat loop
- 5

PageIndex
Open source · MIT · ★ 40k
Lets an AI find answers in long documents by reading a table-of-contents-style tree, not vector search.
Best for: Developers building question-answering over long PDFs such as annual reports or manuals; Teams who want retrieved answers to be traceable to explicit sections of a document
- 6

Rete.js
Open source · MIT · ★ 12.3k
A JavaScript framework for building visual node editors and dataflow graphs.
Best for: Developers adding a node-based visual editor to a web application; Teams building visual workflow or dataflow tools in JavaScript or TypeScript
- 7

React Flow
Open source · MIT · ★ 38.9k
Open source React and Svelte libraries for building node-based, diagram-style user interfaces.
Best for: Frontend developers building a flowchart or diagram editor in React; Teams building a visual workflow or node-graph tool in Svelte
- 8

XState
Open source · MIT · ★ 30.4k
A JavaScript/TypeScript library for managing app and workflow logic with state machines and actors.
Best for: Frontend developers managing complex UI flows with many interacting states; Teams modeling multi-step workflows or processes in backend code
How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to PocketFlow. We don't take payment for placement.