OC

op7418/codepilot

Developer tools
6.5K stars 696 forks Quality 65 Trend 38NOASSERTION

A multi-model AI agent desktop client — connect any AI provider, extend with MCP & skills, control from your phone. Built with Electron + Next.js.

Overview

-- connect any AI provider, extend with MCP & skills, control from your phone, and let your assistant learn your workflow. Or visit the Releases page for all versions. Connect to out of the box. Switch providers and models mid-conversation without losing context. CodePilot started as a coding tool but has grown into a : - — Persona files, persistent memory, onboarding flows, and daily check-ins. Your assistant learns your preferences and adapts over time. - — AI can create interactive dashboards, charts, and visual widgets rendered live in-app. - — Connect to Telegram, Feishu, Discord, QQ, and WeChat. Send messages from your phone, get responses on your desktop. - — Add MCP servers (stdio / sse / http) with runtime monitoring. Define reusable skills or install from the skills.sh marketplace. - — AI image generation with batch tasks, gallery, and tagging. - — Schedule recurring tasks with cron expressions or intervals.

README

CodePilot

A multi-model AI agent desktop client – connect any AI provider, extend with MCP & skills, control from your phone, and let your assistant learn your workflow.

中文文档 | 日本語



Download | Quick Start | Documentation | Contributing | Community


Download

Platform Download Architecture
macOS Apple Silicon (.dmg) · Intel (.dmg) arm64 / x64
Windows Installer (.exe) x64
Linux AppImage / deb / rpm x64 / arm64

Official macOS stable builds can check, download, and install signed updates in the app. After manually installing the first supported Windows version, later Windows releases can update in the app using unsigned packages from the official GitHub Release; Linux releases remain manual downloads.

Or visit the Releases page for all versions.


Why CodePilot

Multi-provider, one interface

Connect to 17+ AI providers out of the box. Switch providers and models mid-conversation without losing context.

Category Providers
Direct API Anthropic, OpenRouter
Cloud platforms AWS Bedrock, Google Vertex AI
Chinese AI providers Zhipu GLM (CN/Global), Kimi, Moonshot, MiniMax (CN/Global), Volcengine Ark (Doubao), Xiaomi MiMo, Aliyun Bailian (Qwen)
Local & self-hosted Ollama, LiteLLM
Custom Any Anthropic-compatible or OpenAI-compatible endpoint
Media Google Gemini (image generation)

Beyond coding — a full AI agent

CodePilot started as a coding tool but has grown into a general-purpose AI agent desktop:

  • Assistant Workspace — Persona files, persistent memory, onboarding flows, and daily check-ins. Your assistant learns your preferences and adapts over time.
  • Generative UI — AI can create interactive dashboards, charts, and visual widgets rendered live in-app.
  • Remote Bridge — Connect to Telegram, Feishu, Discord, QQ, and WeChat. Send messages from your phone, get responses on your desktop.
  • MCP + Skills — Add MCP servers (stdio / sse / http) with runtime monitoring. Define reusable skills or install from the skills.sh marketplace.
  • Media Studio — AI image generation with batch tasks, gallery, and tagging.
  • Task Scheduler — Schedule recurring tasks with cron expressions or intervals.

Built for daily use

  • Pause, resume, and rewind sessions to any checkpoint
  • Split-screen dual sessions side by side
  • Track token usage and costs with daily charts
  • Import Claude Code CLI session history
  • Dark / Light theme toggle
  • English + Chinese interface

Quick Start

Path A: Download a release (most users)

  1. Download the installer for your platform from the Download section above
  2. Launch CodePilot
  3. Configure a Provider in Settings > Providers — add your API key for any supported provider
  4. Start a conversation

Note: Installing the Claude Code CLI (npm install -g @anthropic-ai/claude-code) unlocks additional capabilities like direct file editing, terminal commands, and git operations. It is recommended but not required for basic chat.

Path B: Build from source (developers)

Prerequisite Minimum version
Node.js 18+
npm 9+ (ships with Node 18)
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

Core Capabilities

Conversation & Interaction

Capability Details
Interaction modes Code / Plan / Ask
Reasoning effort Low / Medium / High / Max + Thinking mode
Permission control Default / Full Access, per-action approval
Session control Pause, resume, rewind to checkpoint, archive
Model switching Change model mid-conversation
Split screen Side-by-side dual sessions
Attachments Files and images with multimodal vision support
Slash commands /help /clear /cost /compact /doctor /review and more

Extensions & Integrations

Capability Details
Providers 17+ providers: Anthropic, OpenRouter, Bedrock, Vertex, Zhipu GLM, Kimi, Moonshot, MiniMax, Volcengine, MiMo, Bailian, Ollama, LiteLLM, custom endpoints
MCP servers stdio / sse / http, runtime status monitoring
Skills Custom / project / global skills, skills.sh marketplace
Bridge Telegram / Feishu / Discord / QQ / WeChat remote control
CLI import Import Claude Code CLI .jsonl session history
Image generation Gemini image gen, batch tasks, gallery

Data & Workspace

Capability Details
Assistant Workspace Persona files (soul.md, user.md, claude.md, memory.md), onboarding, daily check-ins, persistent memory
Generative UI AI-created interactive dashboards and visual widgets
File browser Project file tree with syntax-highlighted preview
Git panel Status, branches, commits, worktree management
Usage analytics Token counts, cost estimates, daily usage charts
Task scheduler Cron-based and interval scheduling with persistence
Local storage SQLite (WAL mode), all data stays on your machine
i18n English + Chinese
Themes Dark / Light, one-click toggle

First Launch

  1. Configure a Provider — Go to Settings > Providers and add credentials for the provider you want to use. CodePilot includes presets for all major providers — just pick one and enter your API key.
  2. Create a conversation — Pick a working directory, select a mode (Code / Plan / Ask), and choose a model.
  3. Set up Assistant Workspace (optional) — Go to Settings > Assistant, choose a workspace directory, and enable Onboarding. CodePilot creates soul.md, user.md, claude.md, and memory.md at the workspace root.
  4. Add MCP servers (optional) — Go to the MCP page in the sidebar to add and manage MCP servers. Custom skills are managed on the separate Skills page.
  5. Install Claude Code CLI (optional) — For advanced features like file editing and terminal commands, install the CLI: npm install -g @anthropic-ai/claude-code

Platform & Installation Notes

macOS stable builds are signed with Developer ID, notarized, stapled, and verified by Gatekeeper. If macOS reports that the developer cannot be verified or the file is damaged, stop and report it instead of bypassing the warning. Windows builds are unsigned and may show SmartScreen. After manually installing the first Windows updater-capable release, later stable versions can update in-app from the official op7418/CodePilot GitHub Release; the app verifies the metadata SHA-512 but does not claim independent Authenticode publisher verification. Linux updates remain manual.


Documentation

📖 Full documentation: English | 中文

Getting started:

User guides:

  • Providers – Configuring AI providers and custom endpoints
  • MCP Servers – Adding and managing Model Context Protocol servers
  • Skills – Custom skills, project skills, and the skills.sh marketplace
  • Bridge – Remote control via Telegram, Feishu, Discord, QQ, WeChat
  • Assistant Workspace – Persona files, onboarding, memory, daily check-ins
  • FAQ – Common issues and solutions

Developer docs:


FAQ


Community

Scan the QR code to join the WeChat user group for discussions, feedback, and updates.


Contributing

  1. Fork the repository and create a feature branch
  2. npm install and npm run electron:dev to develop locally
  3. Run npm run test before opening a PR
  4. Submit a PR against main with a clear description

Keep PRs focused – one feature or fix per pull request.


License

Business Source License 1.1 (BSL-1.1)

  • Personal / academic / non-profit use: free and unrestricted
  • Commercial use: requires a separate license — contact @op7418 on X
  • Change date: 2029-03-16 — after which the code converts to Apache 2.0
View the full README on GitHub

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →