PocketFlow

Open

Builds AI agents and multi-step LLM workflows from nodes, transitions, and shared state.

Description

PocketFlow is a compact Python framework for applications built around language models. It provides nodes and flows that developers can combine into their own agent logic. A flow can coordinate sequential steps, branches, multiple agents, or document retrieval. Developers define the behavior of each node, how execution moves between nodes, and how data is handled. The package can be installed with pip or integrated from the project's source code. The official repository provides examples and documentation, and the core library is available under the MIT license. PocketFlow is not a ready-made hosted assistant. A working application still needs language models, API credentials where relevant, custom tools, and infrastructure; paid model usage is billed separately.