RepositoryTypeScript
vastsa

vastsa/PI-Desktop

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

8.3kstars
838forks
243issues
23views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: coding-agent

#1 Repository of the month

1
TINIX TRENDING·Topic: global

#1 Repository of the month

1
TINIX TRENDING·Topic: pi-desktop

#1 Repository of the month

🖥️ A Local-First AI Coding Agent That Lives on Your Machine

Bring your own models, keep your code and keys local — no cloud, no accounts.

PI-Desktop is a native desktop app that runs an AI coding agent directly on your computer. Built with Electron and a Rust host core, it lets you point the agent at a project, describe a task — like exploring code, building features, or fixing tests — and watch it work, with every edit and command approved by you first.

✨ Highlights

  • Any model, your keys: Works with Anthropic, OpenAI, or any OpenAI-compatible API, including local gateways like Ollama or LM Studio.
  • Agent, Plan, and Goal modes: Choose how autonomous the agent should be, from hands-on editing to submitting checkpoints for approval.
  • You approve every change: File writes and shell commands prompt for approval, with configurable defaults and session-scoped grants.
  • Real workbench: Review diffs, open terminals, preview apps in-browser, and browse files — all in a side panel.
  • Projects and sessions: Organize conversations by project, with pinning, archiving, branching, and scratch sessions.
  • Local-first and private: Transcripts saved as JSONL with SQLite index, API keys in OS keychain, no telemetry.
  • Extensions beyond plugins: Manage MCP servers, Skills, Subagents, and user-installed plugins from the Extensions page.
  • Fast daily workflow: Slash commands, @ file references, global plugin search, and task prompts.
  • Comfortable to live in: English and 简体中文 support, light/dark/system themes, command palette, and update notifications.

💡 Why it matters

PI-Desktop avoids the usual trade-off between convenience and control. Instead of routing everything through a cloud service, it keeps your code, conversations, and credentials on your machine. That means no vendor lock-in, no account required, and full visibility into what the agent is doing.

It fits well into workflows where privacy matters — like working with proprietary codebases or sensitive logic. The plugin system and MCP support also make it extensible without sacrificing the local-first approach.


#AI #CodingAgent #LocalFirst #Electron #Rust #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
NanmiCoder/cc-haha

本地优先的跨平台 Claude Code / AI Agent 桌面工作台:多 Agent 协作、Git Worktree、代码 Diff、技能市场、多模型、Computer Use、桌面宠物;支持微信、飞书、钉钉及 H5 等远程访问。 | Local-first Claude Code / AI Agent desktop workspace: multi-agent teams, Git worktrees, diffs, skills marketplace, multi-model, Computer Use, task-aware desktop pets; remote via WeChat, Feishu, DingTalk, Telegram, WhatsApp & H5.

15.7k
Nov 30, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryTypeScript
siyuan-note/siyuan

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

47.5k
Dec 1, 2026
RepositoryTypeScript
QwenLM/qwen-code

An open-source AI coding agent that lives in your terminal.

31.1k
Dec 2, 2026
RepositoryPython
bojieli/ai-agent-book

《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

60.6k
Dec 1, 2026
RepositoryRust
codewhale-hq/Codewhale

Open-source Rust coding agent for terminal, web, and desktop. Any model, multi-agent fleets, MCP & plugins, OS sandboxing, and session receipts.

41.2k
Nov 26, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryTypeScript
microsoft/vscode

Visual Studio Code

195.9k
Nov 30, 2026