op7418/CodePilot
An Electron + Next.js desktop workspace for multi-model agents and MCP tools
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
CodePilot is a TypeScript desktop client built around an Electron shell and a Next.js app. The electron/ directory and electron-builder.yml cover the desktop side; npm run dev starts the Next.js browser experience, while npm run electron:dev starts both. Local storage uses better-sqlite3 with SQLite in WAL mode. Assistant Workspace adds editable Markdown persona, rules, and memory alongside application state.
Execution is split between API providers and CLI-backed harnesses. The manifest includes provider adapters from the AI SDK and @anthropic-ai/claude-agent-sdk; the settings distinguish API providers from harness accounts. Assistant Workspace and background check-ins are pinned to CodePilot's Native runtime. Extensions have two separate paths: MCP servers use @modelcontextprotocol/sdk over stdio, SSE, or HTTP with runtime status monitoring, while Skills manages reusable project and global instructions.
Key Capabilities & Differentiators
A conversation starts with a working directory, a model, and an interaction mode: Code, Plan, or Ask. CodePilot can switch models mid-conversation without discarding the thread. Provider options include Anthropic and OpenRouter, Bedrock and Vertex AI, Zhipu GLM and Kimi, Ollama and LiteLLM, and custom OpenAI- or Anthropic-compatible endpoints. Sessions support pause, resume, checkpoint rewind, side-by-side viewing, and import of Claude Code JSONL history.
The app combines an assistant with persistent memory, interactive dashboards and widgets, Gemini image generation with batch tasks and a gallery, and persistent cron or interval scheduling. A project file browser and Git panel expose repository state, branches, commits, and worktree management. Remote bridges cover Telegram, Feishu, Discord, QQ, and WeChat, each with its own bot or app credentials. Token and cache statistics are available in the usage view.
Trade-offs & Limitations
Compared with using Claude Code directly, CodePilot adds a GUI for switching providers, browsing sessions, and managing MCP servers and skills. Compared with editor-centered tools such as Cursor and Windsurf, its focus is a standalone agent workspace. That is useful if you want coding and assistant workflows in one client, but it also adds provider credentials, runtime-specific tool behavior, and extension approvals to manage. Test file edits, terminal commands, and Git actions in the runtime you plan to adopt rather than assuming they work the same across backends.
Local storage is not an offline guarantee: cloud providers and messaging bridges create separate data paths, and MCP integrations need their own trust review. Keep per-action approvals enabled when assessing tools instead of defaulting to Full Access. The release hardening improves documented boundaries, but the supplied information does not establish an enterprise security baseline. A LICENSE file exists, but its terms are not available here; verify commercial use and redistribution rights before rollout.
Hardware & Deployment Guide
Start with an official release and configure a provider under Settings > Providers. Packages cover macOS 13+ on arm64 and x64, Windows x64, and Linux x64 and arm64. macOS stable builds are signed and notarized. Windows packages are unsigned, including those delivered by the in-app updater after the first updater-capable installation; SHA-512 verification is not independent publisher verification. Linux updates are manual. Source development requires Node.js 24+ and npm 11+.
Cloud API use puts inference on the provider's infrastructure; for a local or self-hosted path, configure an endpoint such as Ollama or LiteLLM and provision its backing model separately. v0.69.0 moved Assistant Workspace and background check-ins to Native. v0.70.0 added support for a locally installed and authenticated Antigravity CLI (agy). v0.70.1 hardened local API authentication, preview isolation, and Native tool approvals. The desktop release is the practical starting point for evaluating those protections; browser development mode does not launch the Electron shell.
Developers and power users who want one desktop client for multiple providers, MCP tools, local session history, and recurring assistant tasks.
Your primary need is an editor-integrated coding assistant, a centrally administered multi-user service, or a fully offline setup without separately provisioning local inference.
Quick Start & Installation
git clone https://github.com/op7418/CodePilot.git cd CodePilot npm install npm run dev # browser mode at http://localhost:3000 # -- or -- npm run electron:dev # full desktop app
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| CodePilot ★ | 6.5k | +25 | TypeScript | — | An Electron + Next.js desktop workspace for multi-model agents and MCP tools |
| AstrBot | 47.9k | +313 | Python | AGPL-3.0 | A self-hosted Python agent hub that connects chat platforms to model providers |
| ChatDev | 34.9k | +33 | Python | Apache-2.0 | Self-hosted multi-agent orchestration with a visual editor and YAML workflows |
| agno | 43.4k | +66 | Python | Apache-2.0 | Python framework and runtime for durable agent services over REST and MCP |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/op7418/CodePilot.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about CodePilot
Is Claude Code required, and where do MCP servers fit?
How should I size the machine for hosted versus local models?
Can we approve CodePilot for commercial use or self-hosted deployment?
When is CodePilot a better fit than Claude Code, Cursor, or Windsurf?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy