Skip to content
P

PocketFlow

Pocket Flow: 100-line LLM framework. Let Agents build Agents!

by The-PocketFree

#323in AI
0In stores

Description

PocketFlow is a minimalist LLM framework that fits in about 100 lines of code with no dependencies. Instead of bundling wrappers for particu…

Highlights

  • About 100 lines of core code with zero dependencies
  • Graph-based design for agents, workflows and RAG
  • Tutorials for chat, agents, workflows and retrieval
  • Ports in TypeScript, Java, C++, Go, Rust and PHP
  • Built to be extended by AI coding agents

Ratings & Reviews

No ratings yet

Be the first to rate PocketFlow.

People also visit

L

Langflow

Build, deploy, and iterate on AI agents, RAG applications, and MCP servers

AI
Launch
P

Promptflow

Build high-quality LLM apps - from prototyping, testing to production…

AI
Launch
L

Ling

The LLMs' framework optimized for ultra-fast response times

AI
Launch
L

Llmflows

Simple, Explicit and Transparent LLM Apps

AI
Launch
L

Langroid

Harness LLMs with Multi-Agent Programming

AI
Launch
D

Dify

Open-source LLM app development platform

AI
Launch

PocketFlow FAQ

What is PocketFlow?

PocketFlow is a small LLM framework of about 100 lines. It models an AI application as a graph of steps, which you can use to build agents, multi-step workflows and retrieval-augmented generation.

Who is PocketFlow for?

It is for developers who want a lightweight LLM framework without the size and abstraction of larger libraries, and for anyone who wants AI coding tools to write their agent code.

Does PocketFlow have dependencies?

No. The core has zero dependencies, so there is no large package tree to install or keep up to date.

How do I install PocketFlow?

The README shows the install step, or you can copy the core source file, which is only about 100 lines, directly into your project.

Which languages does PocketFlow support?

Besides the main version, the team has published versions in TypeScript, Java, C++, Go, Rust and PHP.

Where can I learn PocketFlow?

The site offers a video tutorial and documentation, and the tutorials range from a basic chat bot to agents and RAG. A Discord server lets you talk with other developers building with it.

What are the best PocketFlow alternatives?

Popular alternatives to PocketFlow include Langflow, Promptflow and Ling. See all PocketFlow alternatives

Developer Stuff

Badges