whatisgithub

What is codepilot?

op7418/codepilot — explained in plain English

Analysis updated 2026-06-26

5,694TypeScriptAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A desktop AI chat workspace that connects your own API keys for 17+ providers, including local Ollama models, and lets you switch between them in a single conversation without losing context.

Mindmap

mindmap
  root((CodePilot))
    AI providers
      17 cloud providers
      Local Ollama models
      OpenAI-compatible APIs
    Features
      Split-screen chat
      Session rewind
      Image generation
    Personal profile
      soul.md and memory.md
      Skills marketplace
      Recurring tasks
    Data and privacy
      SQLite local storage
      Token cost tracking
      Remote phone bridge
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Chat with Claude, GPT-4, Gemini, and local Ollama models through one app without switching websites

USE CASE 2

Run two AI conversations side by side in split-screen view and rewind any session to an earlier point

USE CASE 3

Send messages to your desktop AI session from Telegram or Discord on your phone and get replies back

USE CASE 4

Install MCP server plugins to give the AI access to web search, file reading, or database queries

What is it built with?

TypeScriptSQLiteOllamaLiteLLM

How does it compare?

op7418/codepilotkomodorio/helm-dashboarddolanmiu/docx
Stars5,6945,6935,692
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatemoderateeasy
Complexity3/54/52/5
Audiencedeveloperops devopsdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires individual API keys for each cloud AI provider, local models need Ollama installed separately before connecting.

So what is it?

CodePilot is a desktop application that lets you chat with AI models from many different providers through a single interface. Instead of using a separate website or app for each AI service, you connect your own API keys and switch between providers mid-conversation without losing your place. It runs on macOS, Windows, and Linux. The app supports over 17 AI providers, including Anthropic, OpenRouter, AWS Bedrock, Google Vertex, several Chinese AI services such as Kimi and Zhihu GLM, and local models running on your own machine through Ollama or LiteLLM. You can also connect any service that uses an OpenAI-compatible or Anthropic-compatible API format, which covers a wide range of self-hosted options. Beyond basic chat, CodePilot has grown into a broader AI workspace. You can set up a personal profile so the assistant learns your preferences over time through files called soul.md, user.md, and memory.md that you edit yourself. There is also support for MCP servers, which are small plugins that give the AI access to tools like web search, file reading, or database queries. A skills marketplace lets you install reusable task templates. You can run two conversations side by side in a split-screen view, rewind any session back to an earlier point, schedule recurring tasks with timer expressions, and generate images through Google Gemini's image generation API. A remote bridge feature lets you send messages to your desktop session from Telegram, Discord, WeChat, or similar apps on your phone, and get replies back there. All conversation data is stored locally on your machine using SQLite, so nothing is sent to a central server. Token usage and estimated costs are tracked with daily charts. One important note: the README states that CodePilot is currently undergoing a significant product refactor before the next release. The existing downloadable versions still work, but the next versions will focus on rebuilding the core session and background task foundations before adding new features.

Copy-paste prompts

Prompt 1
I am setting up CodePilot with my Anthropic API key. How do I add it and switch between Claude models mid-conversation?
Prompt 2
How do I install a local Ollama model in CodePilot and set it as my default provider?
Prompt 3
How do I connect a Telegram bot to CodePilot remote bridge so I can chat with my AI assistant from my phone?
Prompt 4
Show me how to edit soul.md and memory.md in CodePilot to give the assistant persistent context about my preferences.
Prompt 5
How do I install an MCP server plugin in CodePilot to add web search capability?

Frequently asked questions

What is codepilot?

A desktop AI chat workspace that connects your own API keys for 17+ providers, including local Ollama models, and lets you switch between them in a single conversation without losing context.

What language is codepilot written in?

Mainly TypeScript. The stack also includes TypeScript, SQLite, Ollama.

How hard is codepilot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is codepilot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.