LLM Framework
10.4k 2026-04-18

The-Pocket/PocketFlow

A minimalist, 100-line LLM framework designed for building AI agents and workflows with zero bloat and maximum expressiveness.

Core Features

Extremely lightweight, comprising only 100 lines of code with zero dependencies.
Supports expressive patterns like Multi-Agents, Workflows, and RAG out-of-the-box.
Enables 'Agentic Coding' for 10x productivity by letting AI agents build other agents.
Offers multi-language ports (Typescript, Java, C++, Go, Rust, PHP) for broader adoption.

Quick Start

pip install pocketflow

Detailed Introduction

Pocket Flow is a revolutionary minimalist LLM framework that challenges the complexity of existing solutions. By distilling the core functionalities into just 100 lines of Python code, it eliminates bloat and vendor lock-in, offering a highly expressive platform for developing sophisticated AI agents and workflows. Its 'Agentic Coding' paradigm empowers developers to leverage AI for building AI, significantly boosting productivity in the LLM application space.

OSS Alternative

Explore the best open source alternatives to commercial software.

© 2026 OSS Alternative. hotgithub.com - All rights reserved.