Pocketflow

0

Enable LLMs to Program Themselves.

Infrastructure

License: MIT Docs

๐Ÿš€ Pocket Flow Framework

Build enterprise-ready AI systemsโ€”fast, modular, and vendor-agnostic.

Why Pocket Flow?

Enterprises need automation. The typescript LLM framework is a tool within https://pocketflow.ai/ and it captures what we see as the core abstraction of most LLM frameworks: A Nested Directed Graph that breaks down tasks into multiple (LLM) steps, with branching and recursion for agent-like decision-making.

From there, it's easy to layer on more complex features like Multi-Agents, Prompt Chaining, RAG, etc.

โœจ Features

  • ๐Ÿ”„ Nested Directed Graph - Each "node" is a simple, reusable unit
  • ๐Ÿ”“ No Vendor Lock-In - Integrate any LLM or API without specialized wrappers
  • ๐Ÿ” Built for Debuggability - Visualize workflows and handle state persistence

Get Started

  1. Clone the Repo
    git clone https://github.com/helenaeverleyz/pocket.git
    cd pocket
    
    
  2. Check out documentation: https://the-pocket-world.github.io/Pocket-Flow-Framework/