pi-agent-desktop

Из публичных источников

Pi — кроссплатформенный ИИ-агент для программирования, который переносит возможности Claude Code на ваш компьютер. Не требуется настройка окружения и вводить команды в терминале. Скачайте и сразу начните программировать.

Машинный перевод · Показать оригинал

Pi — A cross-platform AI coding agent, bringing the Claude Code experience to your desktop. No environment setup, no terminal commands. Download and start coding right away.

ПриложениеКатегория: Десктопные приложения · РазработкаOpen sourceданные проверены 15 окт. 2026 г.

Обзор

  • ai
  • ai-agent
  • desktop-app
  • pi

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    pi.348580.xyz/ ↗
  • Файлы официального релизаИз публичных источниковиз последнего официального релиза
    github.com/abcwyc/pi-agent-desktop/releases/tag/v0.7.8 ↗
  • Реестр пакетов языкаnodejsИз публичных источниковиз манифеста пакета — публикация в реестре не проверена
    npm install -g @agegr/pi-web

    Не проверено: перед установкой убедитесь, что пакет в реестре принадлежит этому проекту.

    www.npmjs.com/package/@agegr/pi-web ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/abcwyc/pi-agent-desktop ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
WindowsСовместимоx86_64официальная сборка в релизе v0.7.8: Pi.Agent_0.7.8_x64-setup.exe0.70
macOSСовместимоarm64официальная сборка в релизе v0.7.8: Pi.Agent_0.7.8_aarch64.app.tar.gz0.70
LinuxСовместимоx86_64официальная сборка в релизе v0.7.8: Pi.Agent_0.7.8_amd64.deb0.70
Node.jsСовместимо—манифест пакета: package.json name0.60

Релизы

проверено 29 окт. 2026 г.
v0.7.8Последний29 окт. 2026 г.Официальный источник ↗

Файлы версии 0.7.8

Маркетплейс не хранит эти файлы: загрузка идёт из официального источника. Мы их не сканировали.
ФайлПлатформаРазмерSHA-256Скачать из официального источника
Pi.Agent_0.7.8_aarch64.app.tar.gzmacos · arm64 · app_bundle78,6 MBc45beabcb1ff…Официальный источник ↗
Pi.Agent_0.7.8_aarch64.dmgmacos · arm64 · dmg77,4 MBf057dc9e1de1…Официальный источник ↗
Pi.Agent_0.7.8_amd64.deblinux · x86_64 · deb96 MB8a7867860faf…Официальный источник ↗
Pi.Agent_0.7.8_x64-setup.exewindows · x86_64 · exe48,3 MB5ca9bf0a5e40…Официальный источник ↗
component-versions.jsonдругое383 B65b613f04cc5…Официальный источник ↗
latest.jsonдругое6,7 KBb88155f8f9e7…Официальный источник ↗
Pi.Agent_0.7.8_aarch64.app.tar.gz.sigподпись424 Bf0f58dc6ec7d…Официальный источник ↗
Pi.Agent_0.7.8_amd64.deb.sigподпись432 Bdd0d73006c8d…Официальный источник ↗
Pi.Agent_0.7.8_x64-setup.exe.sigподпись436 Bf5774df79a4e…Официальный источник ↗

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 15 окт. 2026 г.
Оценка качества97
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 1 days ago
Документация · 1515
README 13853 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 1 days ago
Точность категории · 1010
classifier confidence 0.97
Популярность · 107
645 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX MIT
Сообщество · 55
issues enabled, 76 forks

Лицензия

MIT
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/abcwyc/pi-agent-desktopОсновной★ 645 звёздактивность 15 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

claude-devtoolsПохожий
Недостающие DevTools для Claude Code — просмотр журналов сессий, вызовов инструментов, использования токенов, субагентов и окна контекста в визуальном интерфейсе. Бесплатно, с открытым исходным кодом.MIT · Десктопные приложения
PI-DesktopПохожий
Десктопное приложение для ИИ-агента программирования, работающее локально: Electron + ядро хоста на Rust + pi Agent Harness + плагины, которые пользователь устанавливает самLGPL-3.0 · Десктопные приложения
cc-hahaПохожий
Локальное кроссплатформенное настольное рабочее место для Claude Code / AI Agent с приоритетом локальной работы: многoагентные команды, Git worktree, diff, маркетплейс навыков, поддержка нескольких моделей, Computer Use, настольные питомцы, реагирующие на задачи; удалённый доступ через WeChat, Feishu, DingTalk и H5.Десктопные приложения
easy-stockПохожий
Анализ рынка акций Китая (A-share) и интеллектуальный агент для инвестиционных исследований на основе ИИ: анализ акций, анализ количественной торговли и настольное рабочее место для послерыночного обзора — easy stockДесктопные приложения
LobsterAIПохожий
Настольный ИИ-агент с открытым исходным кодом, который выполняет реальные задачи — анализ данных, презентации, документы, работа с видео и веб-исследования. Построен на базе OpenClaw; запускает инструменты на вашем реальном рабочем столе и принимает команды с телефона через WeChat, Feishu, DingTalk и Telegram.MIT · Десктопные приложения
open-scienceПохожий
Открытое рабочее место для исследований с ИИ, предназначенное для научных исследований и агентных рабочих процессов. Локальное настольное приложение, не привязанное к конкретной модели, с расширяемыми навыками, инструментами и коннекторами MCP, выполнением кода на Python/R и отслеживаемыми артефактами для воспроизводимых исследований на macOS, Windows и Linux.Apache-2.0 · Десктопные приложения

README

Из abcwyc/pi-agent-desktop · лицензия MIT · загружено 29 окт. 2026 г.

Pi Agent

English | 简体中文

pi-agent-desktop is a local AI agent desktop app for macOS and Windows. It packages the agent capabilities of pi into a standalone, installable application.

Features

  • Browse and resume past Pi sessions by project, without digging through terminal history or .jsonl files.
  • Talk to the agent in real time inside a desktop window, with thinking, tool calls, context usage, cost, and compaction state all visible.
  • Continue from any earlier message as a branch, or fork the conversation into an independent session.
  • Manage models, OAuth/API keys, custom model configuration, skills, and plugins.
  • Switch Git worktrees from the sidebar and browse project files.
  • Scheduled tasks: run a saved prompt in a new session on a schedule (hourly, daily, weekly, a custom cron expression, or once). They run while the app is open, even with its window hidden, default to read-only tools, catch up once after a sleep, and notify you when a run succeeds or fails.
  • Preview source code, diffs, Markdown, images, audio, PDF, and DOCX files.
  • Dark mode, automatic session naming, a completion sound, and restored run state.
  • A weekly check of the latest stable pi-agent-desktop GitHub Release, with an in-app notice only when the installed app is older.
  • One upgrade button installs a complete, signed new build of Pi Agent and restarts automatically.

[Pi Agent light mode]

[Pi Agent dark mode]

⬇️ Download Pi Agent (macOS / Windows)

Repository: abcwyc/pi-agent-desktop

Installation And Usage

Install The Desktop App

Builds are available from GitHub Releases:

  • Apple Silicon Mac: download the aarch64.dmg, open it, and drag the app into Applications. Official releases do not build for Intel Macs.

  • Apple Silicon Mac with Homebrew: install from this repository's tap. The tap is added from the repo URL, so the first command is needed once:

    brew tap abcwyc/pi-agent-desktop https://github.com/abcwyc/pi-agent-desktop
    brew install --cask pi-agent
    

    The app upgrades itself from Settings, so brew upgrade leaves it alone unless you pass --greedy. brew uninstall --cask --zap pi-agent removes the app and its window state but never ~/.pi, which the pi CLI shares.

  • Linux x64: download the .deb package and install it with your distribution's package manager. A community-maintained Flatpak is also available at flatpark.org — not an official release, but Flatpak works across most distributions and handles updates for you.

  • Windows x64: download the installer whose name ends in x64-setup.exe and run it. The installer pulls in Microsoft WebView2 when it is missing.

Official releases support Apple Silicon Macs running macOS 11 or later, Windows 10/11 x64, and Linux x64 distributions with WebKitGTK 4.1 and GTK 3. The desktop package bundles the Next.js server, the Node.js runtime, and the current Pi SDK, so the local server starts with the app — no separate terminal, Node.js installation, or manually started web server is required.

Installing Pi Agent gives you the agent inside the app, but it does not install a global pi command. If you also want the Pi CLI in your terminal, install it separately by following the pi project instructions.

macOS blocks the first launch: the macOS build is not yet signed with an Apple Developer ID or notarized, so Gatekeeper may say the developer cannot be verified or that the app "is damaged and can't be opened" (Homebrew installs included). Click "Open Anyway" in System Settings › Privacy & Security, or run:

xattr -dr com.apple.quarantine "/Applications/Pi Agent.app"

Before signed auto-updates can be used for the first time, an older build without the updater has to be replaced by manually installing a signed one. Upgrades then happen from Settings.

Use Existing Pi Data

Pi Agent reads Pi's local data directory by default:

~/.pi/agent/

Sessions normally live under:

~/.pi/agent/sessions/<encoded-cwd>/<timestamp>_<uuid>.jsonl

If you have used Pi on this machine before, the app picks up your existing sessions, models, and authentication after installation. Set PI_CODING_AGENT_DIR to point at a different Pi agent data directory.

Model keys and session data stay on your machine. The file-browsing API only allows access to the current session, the selected project, and explicitly authorized working directories.

Update Checks And Upgrades

Pi Agent checks the latest stable release of abcwyc/pi-agent-desktop at most once every seven days:

  • abcwyc/pi-agent-desktop
  • earendil-works/pi
  • agegr/pi-web

The versioning and upgrade rules are:

  1. The latest stable pi-agent-desktop release is the only source used for update reminders.
  2. The upgrade button in Settings becomes enabled only when the installed desktop app version is older.
  3. When several components need updating, the release automation syncs and verifies them in the order pi → pi-web → pi-agent-desktop.
  4. Nothing patches an individual JavaScript package inside an installed app. The app downloads one complete signed build containing all three components at their latest versions.
  5. The app restarts after installation, so all three components land in the same verified release state at once.

This keeps the components in a desktop install consistent, and avoids the runtime incompatibilities that come from swapping pi or pi-web on their own.

If a new upstream version has been detected but the signed pi-agent-desktop release containing it is not published yet, Settings says that no signed complete build is installable for now. The app never falls back to downloading unsigned files or partially overwriting dependencies.

The full sync, signing, and release configuration is described in Desktop updates and releases.

HTTP Proxy

Server-side model and API requests honor the standard HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables. For example, when starting the dev server from a terminal:

HTTP_PROXY=http://127.0.0.1:7890 \
HTTPS_PROXY=http://127.0.0.1:7890 \
NO_PROXY=localhost,127.0.0.1 \
npm run dev

Local Development

Requirements

  • macOS 11+ (Apple Silicon), Windows 10/11 x64, or Linux x64 with WebKitGTK 4.1 and GTK 3
  • Node.js 22 (recommended)
  • npm
  • Rust 1.85+
  • macOS: Xcode Command Line Tools
  • Windows: Microsoft C++ Build Tools and WebView2
  • Linux: GTK/WebKitGTK development packages

Start The Web Dev Server

npm install
npm run dev

The dev server runs at http://localhost:30141 and does not open a browser. npm run web starts the same loopback server and opens http://127.0.0.1:30141 in the desktop browser after it is ready. From WSL that is the Windows browser. See Web profile.

Do not run next build or npm run build during normal development. They write into .next/ and can disrupt a running dev server; production builds are done by the desktop preparation script or by CI.

Network Exposure (LAN)

npm run dev and npm start listen on 127.0.0.1 only. npm run dev:lan, npm run start:lan and pi-web -H 0.0.0.0 listen on every interface. Pi Agent can run shell commands (the terminal tab and the agent's own tools) and read files as you, so anyone who can reach the port gets the same access. Before using a LAN mode, set a password:

PI_WEB_PASSWORD='choose-a-long-passphrase' npm run dev:lan

With PI_WEB_PASSWORD set, the browser asks for it on first visit and failed attempts are throttled. The connection is still plain HTTP, so put it behind HTTPS or a trusted VPN, and use PI_WEB_ALLOWED_HOSTS (comma-separated) to allow a DNS name other than an IP address. Without a password the launcher refuses to listen beyond loopback; on a network you trust, PI_WEB_ALLOW_UNAUTHENTICATED=1 starts it anyway with a warning. The packaged desktop app is unaffected: it binds to loopback and authenticates the WebView with a per-process token.

Start Desktop Dev Mode

npm run desktop:dev

This starts the existing Next.js dev server and opens it in a native Tauri window, without producing an installer.

Common Checks

# Node tests (identical to the CI sync gate, including components/ tests)
npm test

# TypeScript
node_modules/.bin/tsc --noEmit

# ESLint and the branding protection test
npm run lint

# Divergence from pi-web upstream, split into "styling" and "structural" changes
npm run drift

# Rust/Tauri
cargo fmt --check --manifest-path src-tauri/Cargo.toml
cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings

# Verify the bundled components match the latest stable releases
npm run release:verify

release:verify reaches GitHub and requires the bundled pi and pi-web to match their latest stable releases exactly, while also checking the component manifest against the actual dependencies.

Desktop Packaging

npm run desktop:build

The desktop build:

  1. Generates the Next.js standalone server in an isolated directory.
  2. Bundles the Node.js runtime for the current architecture.
  3. Places the server and runtime into the app as Tauri resources.
  4. Produces .app, .dmg, and updater artifacts on Apple Silicon Macs; an NSIS -setup.exe plus updater artifacts on Windows x64; and a .deb package on Linux x64.

On Linux, the package requires a WebKitGTK 4.1 runtime and GTK 3. It includes the Node.js runtime, so users do not need to install Node.js separately.

Local builds do not register the production updater and cannot accept official updates. Official releases must inject the updater public key through GitHub Actions and sign with the matching private key.

Upstream Sync And Releases

The repository contains two chained automation workflows:

  • component-updates.yml: checks the stable releases of pi and pi-web daily. When a new version appears, it first intersects the incoming upstream changeset with the "upstream files this fork has modified" recorded in scripts/fork-ownership.json, then merges the tag, updates dependencies and the component manifest, and runs the full gate (npm test, tsc, lint, a real standalone build).
    • Empty intersection → commits to main and triggers a release.
    • High or medium risk files hit → pushes a sync/pi-web-<tag> branch and opens a PR with the boundary report, and does not trigger a release. Merging that PR is what ships a version.
  • release.yml: after an explicit trigger from the component sync workflow, serially builds the Apple Silicon (aarch64) DMG, the Linux x64 .deb, and the Windows x64 NSIS -setup.exe. No Intel Mac build is produced. The release stays a draft until the updater signature files, latest.json, and the component manifest for all platforms are uploaded — the manifest job depends on the entire build matrix, so a failure on any platform keeps it from being published. Build failures create or update a release-failure issue.

Upstream sync uses a Git merge, so this fork's Pi Agent branding, settings entry points, and upgrade logic survive as local modifications. Merge conflicts stop the workflow, which is the safe failure mode. The genuinely dangerous case is a conflict-free but semantically wrong merge: upstream changed a region this fork also changed, Git merged it cleanly, and the tests still pass. The boundary intersection above exists for exactly that case; the rules are in Ownership boundaries.

A failed sync creates or updates a component-sync-failure issue, so nothing piles up silently.

An official release additionally requires:

  • Tauri updater key pair.
  • Apple Developer ID signing and notarization for distribution to external users.
  • Authenticode code signing is recommended for Windows distribution to external users; an unsigned .exe can trigger SmartScreen warnings.

Project Structure

app/
  api/                  Next.js APIs: agent, sessions, models, files, update checks
components/             Pages, chat, sidebar, settings, and version notices
hooks/                  Client state: session streams, audio, drag and drop, theme
lib/                    AgentSession, HTTP proxy, session reading, file security, upgrade logic
scripts/                Desktop packaging, component version sync, release verification
src-tauri/
  capabilities/         Tauri permission configuration
  resources/            Desktop resources and the component version manifest
  src/                  Desktop window, local server, and updater registration
.github/workflows/      Daily component sync and desktop release automation
instrumentation.ts     Next.js server-side HTTP proxy initialization

Related Documents

Credits And License

The desktop integration of Pi Agent is provided by pi-agent-desktop; the core capabilities and the web interface come from earendil-works/pi and agegr/pi-web respectively. Thanks to those projects and their contributors.

Code in the root of this repository is under the MIT License in LICENSE. The code and dependencies of the three component projects remain subject to the licenses of their own repositories; keep the corresponding copyright and license notices when copying, modifying, or redistributing.

Открыть репозиторий ↗