PiBot is a free, open source ai interaction & interfaces project written in TypeScript and released under Apache-2.0. It has 787 GitHub stars, 117 forks and 7 open issues, and was last pushed 26 hours ago. On this registry it ranks #150 of 173 tracked projects in AI Interaction & Interfaces, with 5 head-to-head comparisons available. It gained 134 stars over the last 7 tracked days.

What is PiBot?

PiBot is an open-source, local-first AI agent team for the desktop, aimed at people who want named Bots to plan, run commands, edit files and use their computer under approval on macOS, Windows or Linux, with an Android app.

What it is

PiBot is a TypeScript, Apache-2.0 desktop application built on the pi agent kernel and packaged as an Electron app. It runs named Bots on the user's own computer; each Bot has a role such as developer, researcher, writer or translator, with its own model, skills, permissions and memory. A user chats with one Bot directly or puts several in a group chat, where a coordinator plans the work, hands steps to members and collects results. It runs on macOS 13 Ventura or later, Windows 10 and 11, and 64-bit Linux, and an Android app is available.

The concrete problem is coordinating agent work on a real desktop rather than in a single chat thread. Bots work inside chosen folders, every change is listed and reviewable, and macOS offers restoration from automatic checkpoints. Every tool call passes through one policy engine, commands run in a sandbox using @anthropic-ai/sandbox-runtime, and approvals, commands and outward sends are written to an audit log. The brain runs locally: chats, files, memory and keys stay on the machine, and only the chosen model provider sees prompts. That replaces a lone chat assistant with a named team acting on files and commands under explicit approval.

Key capabilities

  • Named Bots and roles: each Bot has a name, a role such as developer, researcher, writer or translator, plus its own model, skills, permissions and memory.
  • Direct and group chats: a coordinator plans, hands steps to members and collects results; the user confirms the plan before it runs.
  • Working folders and changes: every change is listed and reviewable, with automatic checkpoint restoration on macOS.
  • Approvals and sandboxing: one policy engine handles every tool call, commands run in the @anthropic-ai/sandbox-runtime sandbox, and approvals, commands and outward sends reach an audit log.
  • Routines and to-dos: scheduled, folder-triggered and connection-triggered tasks.
  • Connections: apps, MCP servers, skills and knowledge bases.
  • Model choice: Ollama, OpenRouter, personal API keys and supported subscription sign-ins.

Who uses it and how

  • Individual developers, researchers and writers on macOS 13 Ventura or later, Windows 10 or 11, or 64-bit Linux give a Bot a working folder and have it plan, run commands and edit files while approvals gate risky steps.
  • A group chat acts as a small coordinated team: the coordinator plans, members use their own models and permissions, and the user confirms the plan.
  • Privacy-conscious users keep chats, files, memory and keys local; there is no telemetry, PiBot's own servers never receive chats or files, and only the chosen model provider sees prompts.
  • Users who need more devices add the Android app, runners on other computers or servers, a self-hosted relay, and editor use over ACP.
  • Routines handle scheduled, folder-triggered and connection-triggered automation.

Getting started

The desktop app is downloaded from pibot.space and installed by following docs/guide/en/01-getting-started.md. A source build requires Node from .nvmrc and pnpm 12, then pnpm install and pnpm dev; PIBOT_DATA_DIR separates development data from an installed PiBot.

How it compares

No paid products this project replaces are listed, and the facts do not describe comparable agent-team products, so PiBot stands alone in this registry. Its distinguishing facts are an Apache-2.0 licence, local-first storage of chats, files, memory and keys, and an optional self-hosted relay.

When to use it — and when not to

PiBot fits users who want a local desktop agent team with explicit approvals, an audit log and model choice through Ollama, OpenRouter, personal API keys or supported subscription sign-ins. It is not a zero-setup hosted assistant: users must meet the OS requirements, arrange a model provider, and anyone adding phone or runner connections must operate the relay, which can be self-hosted. A limitation in the facts is that automatic checkpoint restoration is described only for macOS, so Windows and Linux users get reviewable change lists but not that restore path.

project readme (upstream, from github) — read inline

Pi Bot

An open-source, local-first AI agent team for your desktop. Named AI Bots work on your own computer: chat with one or put several in a group chat, and they plan, run commands, edit files, browse the web and use your computer, while every risky step waits for your approval. Runs on macOS, Windows and Linux, with an Android app. Built on the pi agent kernel.

License: Apache-2.0 Latest release Platforms Website Docs

▶ Watch the 60-second video · Download · User guide · Online docs

English · 中文 · 日本語

Pi Bot is a desktop app in which a team of named Bots works on your own computer. You chat with a Bot directly or put several in a group chat, give them a working folder, and they plan, run commands, edit files and hand work to each other, while every risky step waits for your approval. The "brain" runs on your machine too: chats, files, memory and keys stay local, and only the model provider you choose sees the prompts you send.

Website and downloads: · User guide: docs/guide · Online docs:

What it does

  • Bots and roles. Create Bots with a name, a role (developer, researcher, writer, translator, …), their own model, skills, permissions and memory.
  • Direct and group chats. A group has a coordinator that plans, hands steps to members and collects the results; you confirm the plan before it runs.
  • Working folders and changes. Bots work inside folders you choose. Every change is listed, reviewable and, on macOS, restorable from automatic checkpoints.
  • Approvals and permissions. Every tool call goes through one policy engine. Commands run in a sandbox (@anthropic-ai/sandbox-runtime), and approvals, commands and anything sent outward are written to an audit log.
  • Routines and to-dos. Scheduled, folder-triggered and connection-triggered tasks.
  • Connections. Apps, MCP servers, skills and knowledge bases.
  • Models. Local models through Ollama, OpenRouter, your own API keys, and supported subscription sign-ins.
  • More devices, optional. An Android app, runners on other computers or servers, a relay you can host yourself, and use from editors over ACP.

Pi Bot runs on macOS 13 Ventura or later, Windows 10 / 11 and 64-bit Linux. It has no telemetry, and Pi Bot's own servers never receive your chats or files. Besides the model provider you choose, it connects only for update checks, the websites and searches your Bots use, and features you turn on (phone, runners, connections), each explained first. See docs/privacy for every outbound connection.

Install

Download the desktop app from , then follow Getting started.

Build from source

Requirements: Node from .nvmrc and pnpm 12.

git clone https://github.com/w01fb0ss/PiBot.git
cd PiBot
nvm use
pnpm install
pnpm dev        # start the desktop app in development

Set PIBOT_DATA_DIR to keep development data apart from an installed Pi Bot. Other commands:

Command Purpose
pnpm check Frozen install, typecheck, lint, policy matrix and tests
pnpm check:changed [base] The same checks limited to what changed
pnpm verify check, build, renderer smoke test and the end-to-end acceptance suites
pnpm build electron-vite build (no installer)

Repository layout

Path Contents
apps/desktop The Electron app (main process, renderer, packaging)
apps/mobile The Android app (React Native + Expo)
apps/relay The relay for phone and runner connections (Cloudflare Worker)
apps/runner, apps/cli The headless runner and command-line entry
apps/plugins Bundled plugins (MCP and/or skills)
packages/teams/builtin The roles and groups bundled for offline use; the full role library is pibot-roles
packages/* The brain and its capabilities, in five layers; see AGENTS.md
docs/guide, docs/privacy User guide and outbound-connection notes
tests, tools End-to-end suites, the fake model and development tools

The agent kernel is pi, pinned as an npm dependency and used only in packages/agent. The brain does not depend on Electron, so the same code runs headless.

Contributing

Issues and pull requests are welcome. Please read CONTRIBUTING.md and the rules in AGENTS.md first; report security problems as described in SECURITY.md, not in public issues.

Contributors

Thank you to everyone who has contributed to Pi Bot. See the contribution activity on GitHub.

Thanks also to @rajnishmanitiwari, whose pull request #25 independently arrived at the same fix as #21.

Star History

Star History Chart

License

Apache License 2.0. See NOTICE and THIRD_PARTY_NOTICES for attributions.

Frequently asked questions

Is PiBot free to use?

PiBot is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does PiBot do?

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + An

What is PiBot written in?

PiBot is primarily written in TypeScript. Its source is publicly available at https://github.com/w01fb0ss/PiBot, and it has 787 GitHub stars.