[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74779":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},74779,"CodePilot","op7418\u002FCodePilot","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.","https:\u002F\u002Fwww.codepilot.sh\u002F",null,"TypeScript",5981,641,19,384,0,29,118,303,87,114.42,"Other",false,"main",true,[27,28,29,30,31,32,33,34],"ai","anthropic","claude","claude-code","desktop-app","electron","gui","nextjs","2026-06-12 04:01:15","\u003Cimg src=\"docs\u002Ficon-readme.png\" width=\"32\" height=\"32\" alt=\"CodePilot\" style=\"vertical-align: middle; margin-right: 8px;\" \u002F> CodePilot\n===\n\n**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.\n\n[![GitHub release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fop7418\u002FCodePilot)](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases)\n[![Downloads](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fop7418\u002FCodePilot\u002Ftotal)](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fop7418\u002FCodePilot)](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Fstargazers)\n[![Platform](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-macOS%20%7C%20Windows%20%7C%20Linux-lightgrey)](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases)\n[![License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-BSL--1.1-orange)](LICENSE)\n\n[中文文档](.\u002FREADME_CN.md) | [日本語](.\u002FREADME_JA.md)\n\n---\n\n## 🚧 Project Refactor Notice \u002F 项目重构公告\n\n**EN:** CodePilot is undergoing a larger product refactor before the next release. We are rebuilding the runtime\u002Fsession foundation, background resident tasks and local notifications, scheduled AI work, Markdown\u002FArtifact previews, and local agent adapters such as Codex. Existing releases remain available; the next versions will focus on making these foundations stable and useful.\n\n**中文：** CodePilot 正在进行一次较大的产品重构，为下一轮正式发布整理底层能力。重点包括会话级 Runtime、后台常驻任务与本机通知、定时提醒和后台 AI 任务、Markdown \u002F Artifact 预览稳定性，以及 Codex 等本地 Agent 适配。现有版本仍可下载使用；接下来的版本会优先把这些基础能力做稳、做好用。\n\n---\n\n![CodePilot](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F9750450a-9f6f-49ce-acd4-c623a4e24281)\n\n---\n\n[Download](#download) | [Quick Start](#quick-start) | [Documentation](#documentation) | [Contributing](#contributing) | [Community](#community)\n\n---\n\n## Download\n\n| Platform | Download | Architecture |\n|---|---|---|\n| macOS | [Apple Silicon (.dmg)](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases\u002Flatest) · [Intel (.dmg)](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases\u002Flatest) | arm64 \u002F x64 |\n| Windows | [Installer (.exe)](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases\u002Flatest) | x64 + arm64 |\n| Linux | [AppImage](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases\u002Flatest) · [.deb](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases\u002Flatest) · [.rpm](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases\u002Flatest) | x64 + arm64 |\n\nOr visit the [Releases](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Freleases) page for all versions.\n\n---\n\n## Why CodePilot\n\n### Multi-provider, one interface\n\nConnect to **17+ AI providers** out of the box. Switch providers and models mid-conversation without losing context.\n\n| Category | Providers |\n|---|---|\n| Direct API | Anthropic, OpenRouter |\n| Cloud platforms | AWS Bedrock, Google Vertex AI |\n| Chinese AI providers | Zhipu GLM (CN\u002FGlobal), Kimi, Moonshot, MiniMax (CN\u002FGlobal), Volcengine Ark (Doubao), Xiaomi MiMo, Aliyun Bailian (Qwen) |\n| Local & self-hosted | Ollama, LiteLLM |\n| Custom | Any Anthropic-compatible or OpenAI-compatible endpoint |\n| Media | Google Gemini (image generation) |\n\n### Beyond coding — a full AI agent\n\nCodePilot started as a coding tool but has grown into a **general-purpose AI agent desktop**:\n\n- **Assistant Workspace** — Persona files, persistent memory, onboarding flows, and daily check-ins. Your assistant learns your preferences and adapts over time.\n- **Generative UI** — AI can create interactive dashboards, charts, and visual widgets rendered live in-app.\n- **Remote Bridge** — Connect to Telegram, Feishu, Discord, QQ, and WeChat. Send messages from your phone, get responses on your desktop.\n- **MCP + Skills** — Add MCP servers (stdio \u002F sse \u002F http) with runtime monitoring. Define reusable skills or install from the skills.sh marketplace.\n- **Media Studio** — AI image generation with batch tasks, gallery, and tagging.\n- **Task Scheduler** — Schedule recurring tasks with cron expressions or intervals.\n\n### Built for daily use\n\n- Pause, resume, and **rewind sessions to any checkpoint**\n- **Split-screen** dual sessions side by side\n- Track **token usage and costs** with daily charts\n- Import Claude Code CLI session history\n- Dark \u002F Light theme toggle\n- English + Chinese interface\n\n---\n\n## Quick Start\n\n### Path A: Download a release (most users)\n\n1. Download the installer for your platform from the [Download](#download) section above\n2. Launch CodePilot\n3. **Configure a Provider** in **Settings > Providers** — add your API key for any supported provider\n4. Start a conversation\n\n> **Note:** Installing the [Claude Code CLI](https:\u002F\u002Fdocs.anthropic.com\u002Fen\u002Fdocs\u002Fclaude-code\u002Foverview) (`npm install -g @anthropic-ai\u002Fclaude-code`) unlocks additional capabilities like direct file editing, terminal commands, and git operations. It is recommended but not required for basic chat.\n\n### Path B: Build from source (developers)\n\n| Prerequisite | Minimum version |\n|---|---|\n| Node.js | 18+ |\n| npm | 9+ (ships with Node 18) |\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot.git\ncd CodePilot\nnpm install\nnpm run dev              # browser mode at http:\u002F\u002Flocalhost:3000\n# -- or --\nnpm run electron:dev     # full desktop app\n```\n\n---\n\n## Core Capabilities\n\n### Conversation & Interaction\n\n| Capability | Details |\n|---|---|\n| Interaction modes | Code \u002F Plan \u002F Ask |\n| Reasoning effort | Low \u002F Medium \u002F High \u002F Max + Thinking mode |\n| Permission control | Default \u002F Full Access, per-action approval |\n| Session control | Pause, resume, rewind to checkpoint, archive |\n| Model switching | Change model mid-conversation |\n| Split screen | Side-by-side dual sessions |\n| Attachments | Files and images with multimodal vision support |\n| Slash commands | \u002Fhelp \u002Fclear \u002Fcost \u002Fcompact \u002Fdoctor \u002Freview and more |\n\n### Extensions & Integrations\n\n| Capability | Details |\n|---|---|\n| Providers | 17+ providers: Anthropic, OpenRouter, Bedrock, Vertex, Zhipu GLM, Kimi, Moonshot, MiniMax, Volcengine, MiMo, Bailian, Ollama, LiteLLM, custom endpoints |\n| MCP servers | stdio \u002F sse \u002F http, runtime status monitoring |\n| Skills | Custom \u002F project \u002F global skills, skills.sh marketplace |\n| Bridge | Telegram \u002F Feishu \u002F Discord \u002F QQ \u002F WeChat remote control |\n| CLI import | Import Claude Code CLI .jsonl session history |\n| Image generation | Gemini image gen, batch tasks, gallery |\n\n### Data & Workspace\n\n| Capability | Details |\n|---|---|\n| Assistant Workspace | Persona files (soul.md, user.md, claude.md, memory.md), onboarding, daily check-ins, persistent memory |\n| Generative UI | AI-created interactive dashboards and visual widgets |\n| File browser | Project file tree with syntax-highlighted preview |\n| Git panel | Status, branches, commits, worktree management |\n| Usage analytics | Token counts, cost estimates, daily usage charts |\n| Task scheduler | Cron-based and interval scheduling with persistence |\n| Local storage | SQLite (WAL mode), all data stays on your machine |\n| i18n | English + Chinese |\n| Themes | Dark \u002F Light, one-click toggle |\n\n---\n\n## First Launch\n\n1. **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.\n2. **Create a conversation** — Pick a working directory, select a mode (Code \u002F Plan \u002F Ask), and choose a model.\n3. **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.\n4. **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.\n5. **Install Claude Code CLI** (optional) — For advanced features like file editing and terminal commands, install the CLI: `npm install -g @anthropic-ai\u002Fclaude-code`\n\n---\n\n## Platform & Installation Notes\n\nmacOS 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.\n\n\u003Cdetails>\n\u003Csummary>macOS: Gatekeeper warning on first launch\u003C\u002Fsummary>\n\n**Option 1** -- Right-click `CodePilot.app` in Finder > Open > confirm.\n\n**Option 2** -- System Settings > Privacy & Security > scroll to Security > click Open Anyway.\n\n**Option 3** -- Run in Terminal:\n```bash\nxattr -cr \u002FApplications\u002FCodePilot.app\n```\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Windows: SmartScreen blocks the installer\u003C\u002Fsummary>\n\n**Option 1** -- Click \"More info\" on the SmartScreen dialog, then \"Run anyway\".\n\n**Option 2** -- Settings > Apps > Advanced app settings > set App Install Control to allow apps from anywhere.\n\u003C\u002Fdetails>\n\n---\n\n## Documentation\n\n📖 **Full documentation:** [English](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs) | [中文](https:\u002F\u002Fwww.codepilot.sh\u002Fzh\u002Fdocs)\n\n**Getting started:**\n- [Quick Start](#quick-start) -- Download or build from source\n- [First Launch](#first-launch) -- Provider setup, workspace configuration\n- [Installation Guide](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs\u002Finstallation) -- Detailed setup instructions\n\n**User guides:**\n- [Providers](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs\u002Fproviders) -- Configuring AI providers and custom endpoints\n- [MCP Servers](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs\u002Fmcp) -- Adding and managing Model Context Protocol servers\n- [Skills](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs\u002Fskills) -- Custom skills, project skills, and the skills.sh marketplace\n- [Bridge](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs\u002Fbridge) -- Remote control via Telegram, Feishu, Discord, QQ, WeChat\n- [Assistant Workspace](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs\u002Fassistant-workspace) -- Persona files, onboarding, memory, daily check-ins\n- [FAQ](https:\u002F\u002Fwww.codepilot.sh\u002Fdocs\u002Ffaq) -- Common issues and solutions\n\n**Developer docs:**\n- [ARCHITECTURE.md](.\u002FARCHITECTURE.md) -- Architecture, tech stack, directory structure, data flow\n- [docs\u002Fhandover\u002F](.\u002Fdocs\u002Fhandover\u002F) -- Design decisions and handover documents\n- [docs\u002Fexec-plans\u002F](.\u002Fdocs\u002Fexec-plans\u002F) -- Execution plans and tech debt tracker\n\n---\n\n## FAQ\n\n\u003Cdetails>\n\u003Csummary>Do I need the Claude Code CLI?\u003C\u002Fsummary>\n\nNo. 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.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Configured a Provider but no models appear\u003C\u002Fsummary>\n\nVerify 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.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>What is the difference between \u003Ccode>npm run dev\u003C\u002Fcode> and \u003Ccode>npm run electron:dev\u003C\u002Fcode>?\u003C\u002Fsummary>\n\n`npm run dev` starts only the Next.js dev server -- you use CodePilot in your browser at `http:\u002F\u002Flocalhost:3000`. `npm run electron:dev` starts both Next.js and the Electron shell, giving you the full desktop app experience with native window controls.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Where are the Assistant Workspace files?\u003C\u002Fsummary>\n\nWhen 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\u002F` subdirectory. Daily memories go to `memory\u002Fdaily\u002F`.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>Bridge requires additional setup per platform\u003C\u002Fsummary>\n\nEach 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.\n\u003C\u002Fdetails>\n\n---\n\n## Community\n\n\u003Cimg src=\"docs\u002Fwechat-group-qr.png\" width=\"240\" alt=\"WeChat Group QR Code\" \u002F>\n\nScan the QR code to join the WeChat user group for discussions, feedback, and updates.\n\n- [GitHub Issues](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Fissues) -- Bug reports and feature requests\n- [GitHub Discussions](https:\u002F\u002Fgithub.com\u002Fop7418\u002FCodePilot\u002Fdiscussions) -- Questions and general discussion\n\n---\n\n## Contributing\n\n1. Fork the repository and create a feature branch\n2. `npm install` and `npm run electron:dev` to develop locally\n3. Run `npm run test` before opening a PR\n4. Submit a PR against `main` with a clear description\n\nKeep PRs focused -- one feature or fix per pull request.\n\n\u003Cdetails>\n\u003Csummary>Development commands\u003C\u002Fsummary>\n\n```bash\nnpm run dev                    # Next.js dev server (browser)\nnpm run electron:dev           # Full Electron app (dev mode)\nnpm run build                  # Production build\nnpm run electron:build         # Build Electron distributable\nnpm run electron:pack:mac      # macOS DMG (arm64 + x64)\nnpm run electron:pack:win      # Windows NSIS installer\nnpm run electron:pack:linux    # Linux AppImage, deb, rpm\n```\n\n**CI\u002FCD:** Pushing a `v*` tag triggers a full multi-platform build and creates a GitHub Release automatically.\n\n**Notes:**\n- Electron forks a Next.js standalone server on `127.0.0.1` with a random free port\n- Chat data is stored in `~\u002F.codepilot\u002Fcodepilot.db` (dev mode: `.\u002Fdata\u002F`)\n- SQLite uses WAL mode for fast concurrent reads\n\u003C\u002Fdetails>\n\n---\n\n## License\n\n[Business Source License 1.1 (BSL-1.1)](LICENSE)\n\n- **Personal \u002F academic \u002F non-profit use**: free and unrestricted\n- **Commercial use**: requires a separate license — contact [@op7418 on X](https:\u002F\u002Fx.com\u002Fop7418)\n- **Change date**: 2029-03-16 — after which the code converts to Apache 2.0\n","CodePilot 是一个多模型 AI 代理桌面客户端，支持连接任意 AI 提供商，并通过 MCP 和技能进行扩展，同时可以从手机端控制。该项目采用 Electron 和 Next.js 构建，具备强大的多提供商接入能力，能够无缝切换17个以上的AI供应商而不会丢失对话上下文，涵盖了从直接API到云平台、中文AI提供商以及本地自托管等多种类型。此外，它还提供了会话级Runtime、后台常驻任务与本机通知等高级功能，非常适合需要高效集成不同AI服务以提升生产力的开发者或团队使用。",2,"2026-06-11 03:50:47","high_star"]