Skip to content
المشاريع

حول

Tell Pi what you need: a local-first AI agent team works on your own computer (macOS, Windows, Linux) and asks before anything risky, even from your phone. Group chats, Claude Code & Codex as Bots, computer use, browser, MCP. Open source, no telemetry.

أدوات التطوير

كيف تُقاس هذه الأرقام

846 نجمة124 التفرعات +22 خلال 24 ساعة

النمو المقاس للنجوم

خلال 24 ساعة
+٢٢
خلال 7 أيام
+١٧١
خلال 15 يومًا
جارٍ جمع السجل
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Pi Bot

Tell Pi what you need. A team of AI Bots plans it and does it on your own computer, and every risky step waits for your OK, even from your phone. Open source, local-first, on macOS, Windows and Linux, with an Android app. Built on the pi agent kernel.

  • Safe by default. Commands run in a sandbox, every tool call goes through one policy engine, and every change is listed for review; on macOS it rolls back from automatic checkpoints.
  • Approve from anywhere. The Android app links to your computer over an end-to-end encrypted connection. Approve a step from your phone and the Bots finish and send the result back.
  • Bring your coding agents. Claude Code, Codex, Cursor, OpenCode and Antigravity join as Bots next to your own, in direct and group chats, behind the same approvals.
  • Yours. Apache-2.0, no telemetry, local models through Ollama or your own API keys.

License: Apache-2.0 Latest release Platforms Website Docs

Pi Bot in 15 seconds (click for the 60-second video with sound)

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

English · 中文 · 日本語 · Türkçe

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: https://pibot.space · User guide: docs/guide · Online docs: https://pibot.space/en/guides/

Sponsors

ModelGo

One API key, every model.

What's new

v0.1.3

  • External agents (Claude Code, Codex, Antigravity, Cursor) get the same Pi Bot tools as other Bots, under the same permissions and audit log.
  • Approval cards say why they ask and add "Allow for this round"; Pi's dispatch card can auto-approve actions in one task.
  • Group plans can run writer → pictures → video: pictures in the requested ratio, video settings fitted to the model, clips joined into one film, and one-click retry for a failed video.
  • Phone and Runner links show direct or relay, why, and the measured latency, and recover after sleep. The iOS app is adapted and documented: build it yourself.

v0.1.2

  • The Live Island can be dragged anywhere on screen and remembers where you put it; set its opacity in Settings.
  • Groups are no longer capped at six members, on desktop and Android.
  • Third-party MCP tools with richer parameter schemas (such as email servers) work, and group plans recover and report more reliably.

v0.1.1

  • Local Magpie gateways can serve image and video models; Keenable is available as a web search provider.
  • Larger skill imports, an "All Bots" switch for skills and fixes for the Live Island and the browser extension on Windows.

v0.1.0, the first public beta: import ChatGPT, Claude and Gemini exports or Claude Code, Codex, Cursor, OpenCode and Antigravity sessions; Pi assigns work to Bots and groups; the Live Island and the Pi Bot Browser extension; images, video and the Media Desk.

All releases · Release notes on the website

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 https://pibot.space, then follow Getting started.

Releases are not yet signed with an Apple Developer ID or a Windows code-signing certificate:

  • macOS, first launch: if macOS says it cannot verify the app, open System Settings › Privacy & Security and click Open Anyway once.
  • macOS, updates: download the new DMG and drag Pi Bot into Applications; your data stays. If macOS then asks whether Pi Bot may use the keychain, choose Always Allow, or saved keys and the phone link can't be read until you do.
  • Windows: if SmartScreen appears, click More info › Run anyway. Windows and Linux (AppImage) update from inside the app.

The Android app downloads from the same site. The iOS app has no download yet; you can build it yourself with a Mac and Xcode.

Every installer is built from this repository by GitHub Actions, with SHA256SUMS to check it.

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.

Community

Join the Pi Bot Telegram group to ask questions, share what your Bots are doing and hear about new releases first: t.me/+zzEe3q-8QflkOTJl

Thanks to LINUX DO for supporting open-source projects and giving developers a place to share and discuss them.

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.

@w01fb0ss
@w01fb0ss
@Pybsama
@Pybsama
@agooll
@agooll
@yuearc
@yuearc
@rajnishmanitiwari
@rajnishmanitiwari
@juemimgcd
@juemimgcd
@Burakceliks
@Burakceliks
@eltociear
@eltociear
@coolpope
@coolpope
@KGKallasmaa
@KGKallasmaa

Star History

License

Apache License 2.0. See NOTICE and THIRD_PARTY_NOTICES for attributions.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…