CodePilot

作者 op7418

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

6,420
Stars
688
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/op7418/CodePilot

快速入门

使用 CodePilot 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

CodePilot 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.

GitHub release Downloads GitHub stars Platform License

中文文档 | 日本語


CodePilot


Download | Quick Start | Documentation | Contributing | Community


Download

PlatformDownloadArchitecture
macOSApple Silicon (.dmg) · Intel (.dmg)arm64 / x64
WindowsInstaller (.exe)x64
LinuxAppImage / deb / rpmx64 / arm64

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.

CategoryProviders
Direct APIAnthropic, OpenRouter
Cloud platformsAWS Bedrock, Google Vertex AI
Chinese AI providersZhipu GLM (CN/Global), Kimi, Moonshot, MiniMax (CN/Global), Volcengine Ark (Doubao), Xiaomi MiMo, Aliyun Bailian (Qwen)
Local & self-hostedOllama, LiteLLM
CustomAny Anthropic-compatible or OpenAI-compatible endpoint
MediaGoogle 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)

PrerequisiteMinimum version
Node.js18+
npm9+ (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

CapabilityDetails
Interaction modesCode / Plan / Ask
Reasoning effortLow / Medium / High / Max + Thinking mode
Permission controlDefault / Full Access, per-action approval
Session controlPause, resume, rewind to checkpoint, archive
Model switchingChange model mid-conversation
Split screenSide-by-side dual sessions
AttachmentsFiles and images with multimodal vision support
Slash commands/help /clear /cost /compact /doctor /review and more

Extensions & Integrations

CapabilityDetails
Providers17+ providers: Anthropic, OpenRouter, Bedrock, Vertex, Zhipu GLM, Kimi, Moonshot, MiniMax, Volcengine, MiMo, Bailian, Ollama, LiteLLM, custom endpoints
MCP serversstdio / sse / http, runtime status monitoring
SkillsCustom / project / global skills, skills.sh marketplace
BridgeTelegram / Feishu / Discord / QQ / WeChat remote control
CLI importImport Claude Code CLI .jsonl session history
Image generationGemini image gen, batch tasks, gallery

Data & Workspace

CapabilityDetails
Assistant WorkspacePersona files (soul.md, user.md, claude.md, memory.md), onboarding, daily check-ins, persistent memory
Generative UIAI-created interactive dashboards and visual widgets
File browserProject file tree with syntax-highlighted preview
Git panelStatus, branches, commits, worktree management
Usage analyticsToken counts, cost estimates, daily usage charts
Task schedulerCron-based and interval scheduling with persistence
Local storageSQLite (WAL mode), all data stays on your machine
i18nEnglish + Chinese
ThemesDark / 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 builds are code-signed with a Developer ID certificate but not notarized, so Gatekeeper may still prompt on first launch. Windows and Linux builds are unsigned.

macOS: Gatekeeper warning on first launch

Option 1 -- Right-click CodePilot.app in Finder > Open > confirm.

Option 2 -- System Settings > Privacy & Security > scroll to Security > click Open Anyway.

Option 3 -- Run in Terminal:

xattr -cr /Applications/CodePilot.app
Windows: SmartScreen blocks the installer

Option 1 -- Click "More info" on the SmartScreen dialog, then "Run anyway".

Option 2 -- Settings > Apps > Advanced app settings > set App Install Control to allow apps from anywhere.


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

Do I need the Claude Code CLI?

No. You can use CodePilot with any supported provider (OpenRouter, Zhipu GLM, Volcengine, Ollama, etc.) without the Claude Code CLI. The CLI is only needed if you want Claude to directly edit files, run terminal commands, or use git operations on your machine. For chat and assistant features, just configure a provider and start a conversation.

Configured a Provider but no models appear

Verify the API key is valid and the endpoint is reachable. Some providers (Bedrock, Vertex) require additional environment variables or IAM configuration beyond the API key. Use the built-in diagnostics (Settings > Providers > Run Diagnostics) to check connectivity.

What is the difference between npm run dev and npm run electron:dev?

npm run dev starts only the Next.js dev server -- you use CodePilot in your browser at http://localhost:3000. npm run electron:dev starts both Next.js and the Electron shell, giving you the full desktop app experience with native window controls.

Where are the Assistant Workspace files?

When you set up a workspace, CodePilot creates four Markdown files at the workspace root directory: soul.md (personality), user.md (user profile), claude.md (rules), and memory.md (long-term notes). State tracking (onboarding progress, check-in dates) is stored in the .assistant/ subdirectory. Daily memories go to memory/daily/.

Bridge requires additional setup per platform

Each Bridge channel (Telegram, Feishu, Discord, QQ, WeChat) requires its own bot token or app credentials. Go to the Bridge page in the sidebar to configure channels. You will need to create a bot on the target platform first and provide the token to CodePilot.


Community

WeChat Group QR Code

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.

Development commands
npm run dev                    # Next.js dev server (browser)
npm run electron:dev           # Full Electron app (dev mode)
npm run build                  # Production build
npm run electron:build         # Build Electron distributable
npm run electron:pack:mac      # macOS DMG (arm64 + x64)
npm run electron:pack:win      # Windows NSIS installer
npm run electron:pack:linux    # Linux AppImage, deb, rpm

CI/CD: Pushing a v* tag builds macOS arm64/x64, Windows x64, and Linux arm64/x64 packages, then creates a GitHub Release automatically. A failure in any target blocks the Release.

Notes:

  • Electron forks a Next.js standalone server on 127.0.0.1 with a random free port
  • Chat data is stored in ~/.codepilot/codepilot.db (dev mode: ./data/)
  • SQLite uses WAL mode for fast concurrent reads

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

常见问题

What is CodePilot?

CodePilot is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by op7418. A multi-model AI agent desktop client — connect any AI provider, extend with MCP & skills, control from your phone. Built with Electron + Next.js. It has 6,420 GitHub stars.

Is CodePilot safe to use?

CodePilot failed SkillsLLM's automated security scan, which flagged one or more high-severity issues. Review the Security Report section carefully before using it.

How do I install CodePilot?

Clone the repository with "git clone https://github.com/op7418/CodePilot" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is CodePilot written in?

CodePilot is primarily written in TypeScript. It is open-source under op7418 on GitHub, so you can review or fork the full source.

Are there alternatives to CodePilot?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh CodePilot against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

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

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

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

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

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

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

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

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情