The-Pocket

    The-Pocket/PocketFlow

    #385 this week

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

    ai
    llm
    automation
    agentic-ai
    agentic-framework
    agentic-workflow
    agents
    ai-framework
    Python
    MIT
    11.3K stars
    1.2K forks
    11.3K GitHub watchers
    Updated Oct 24, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #385 of 525 repositories GStars tracks this week (top 73%).

    No releases in the last 90 days; the most recent was 578 days ago, with 23 contributors on GitHub.

    Peaked at #57 in the weekly ranking the week of Feb 15, its best in the past year.

    Use Cases & Benefits

    • Provides a minimalist 100-line Python framework for building and orchestrating large language model (LLM) agents and workflows using a graph-based abstraction.
    • Delivers a lightweight, dependency-free, and vendor-neutral solution that enables expressive multi-agent, workflow, and retrieval-augmented generation patterns with minimal code.
    • Use for rapidly prototyping and deploying custom LLM-powered agents and workflows without the bloat of larger frameworks.
    • Use for implementing agentic coding paradigms where AI agents autonomously create and manage other agents to boost development productivity.
    • Use for educational purposes to learn core LLM framework concepts and design patterns through simple, clear, and extensible examples.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Pocket Flow is a 100-line minimalist LLM framework

    Current LLM frameworks are bloated... You only need 100 lines for LLM Framework!

    The 100 lines capture the core abstraction of LLM frameworks: Graph!

    From there, it's easy to implement popular design patterns like (Multi-)Agents, Workflow, RAG, etc.

    👀 Want to see other tutorials for dummies? Create an issue!

    Excerpt from the The-Pocket/PocketFlow README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    1.2K+6

    Open issues

    76+4

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 25, by 7-day star growth

    The-Pocket/PocketFlow compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    heygen-com/hyperframes71.5K+5.6K75today
    Comfy-Org/ComfyUI142.6K+4.6K755 days ago
    thesysdev/openui13.6K+2.1K759 days ago
    vxcontrol/pentagi32.3K+1.5K7519 days ago
    vllm-project/vllm95.3K+1.4K756 days ago
    The-Pocket/PocketFlow11.3K+075578 days ago
    Category median71.5K+2.1K75—

    Discover Repositories

    Search across tracked repositories by name or description