nanobot logo
nanobot
★ 49.5k
vs
PocketFlow logo
PocketFlow
★ 11.3k

nanobot vs PocketFlow

nanobot: nanobot is an ultra-lightweight, self-hosted personal AI agent framework built in Python, offering a readable core for multi-agent delegation and automation. It supports various interfaces including WebUI, terminal, and chat apps, integrating tools, long-term memory, and OpenAI-compatible APIs.; PocketFlow: Pocket Flow is a 100-line minimalist LLM framework designed to simplify the development of large language model applications. It leverages a core graph abstraction, enabling users to easily implement popular design patterns like multi-agents, workflows, and RAG without bloat or dependencies.

01

TL;DR

nanobot logo
nanobotMulti-Agent · ★ 49.5k
When to choose:
  • You want a lightweight, hackable Python personal AI agent framework with clean code, a WebUI, and built-in MCP client support.
  • You prefer an easy-to-read, self-hosted agent core without the enterprise boilerplate of heavy agent frameworks.
When to skip:
  • You require production-grade distributed state checkpointing, strict Pydantic type validation, or multi-role team SOPs; Pydantic AI or CrewAI offer more mature infrastructure.
  • Your production stack is .NET or Go; Microsoft Agent Framework covers those runtimes.
PocketFlow logo
PocketFlowMulti-Agent · ★ 11.3k

Building and orchestrating AI agents (e.g., research agents, multi-agents).

02

Side-by-Side Comparison

Field
nanobot logonanobot
PocketFlow logoPocketFlow
Category
Multi-Agent
Multi-Agent
Stars
★ 49.5k
★ 11.3k
License
MIT
MIT
Install Command
curl -fsSL https://raw.githubusercontent.com/HKUDS/nanobot/main/scripts/install.sh | sh
pip install pocketflow
Updated
1d ago
3mo ago
Open Source
Yes
Yes
Tags
AI Agent Framework, Self-hosted, Python
LLM Framework, AI Agents, Python
03

Features

nanobot logonanobot
01Persistent workflows: goals, memory, tools, and chat context survive long-running work.
02Chat-native reach: WebUI, API, Telegram, Feishu, Slack, Discord, Teams, email, and Mattermost.
03Model freedom: OpenAI-compatible APIs, local LLMs, image generation, search, and fallbacks.
04Small core: readable internals with MCP, memory, deployment, and automation built in.
05Own your stack: inspect, customize, self-host, and extend without a giant platform.
PocketFlow logoPocketFlow
01Lightweight and minimalist (100 lines, zero dependencies).
02Expressive, supporting popular LLM design patterns (Agents, Workflow, RAG).
03Facilitates "Agentic Coding" for 10x productivity with AI Agents.
04Core abstraction based on Graphs for flexible LLM application building.
05Cross-language support with versions in Typescript, Java, C++, Go, Rust, and PHP.
04

Use Cases

nanobot logonanobot
↳Running long-horizon goals and scheduled automations.
↳Connecting to various chat applications like Telegram, Discord, Slack for AI interaction.
↳Exposing a Python SDK and OpenAI-compatible API for custom integrations and development.
↳Deploying as a long-running local or server-side agent gateway.
PocketFlow logoPocketFlow
↳Building and orchestrating AI agents (e.g., research agents, multi-agents).
↳Implementing LLM-powered workflows (e.g., writing, batch processing, code generation).
↳Developing Retrieval-Augmented Generation (RAG) applications.
05

Best For

nanobot logonanobot
Most PopularEssential
PocketFlow logoPocketFlow
Most PopularEssential
FAQ

FAQ

What is the difference between nanobot and PocketFlow?
Both nanobot and PocketFlow are in the Multi-Agent category. nanobot has 49.5k stars, while PocketFlow has 11.3k stars.
Which is better, nanobot or PocketFlow?
The best choice depends on your use case. Choose nanobot if Running long-horizon goals and scheduled automations., and PocketFlow if Building and orchestrating AI agents (e.g., research agents, multi-agents)..
Is nanobot free or open source?
Yes, nanobot is open source on GitHub (MIT).
Is PocketFlow free or open source?
Yes, PocketFlow is open source on GitHub (MIT).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related