AI Native Desktop IDE

AI IDE with Built-in
API Usage Tracking

See how many Tokens each AI call consumes and how much it costs — all at a glance
Connect DeepSeek, GPT, Claude, and more. Ready to use out of the box!

Runs locally, data stays on your machine Bring your own API Key, ready to use No registration required
26+
AI Models Supported
DeepSeek / GPT / Claude / Gemini
6
Agent Tools
File R/W / Code Search / Commands
7
Provider Presets
One-click switch, or custom setup
500+
CN-EN Synonym Pairs
RAG code search understands Chinese

See Every Penny
of Your AI Costs

Cipher has a complete built-in API usage tracking system. After each AI call, it automatically logs Prompt Tokens, Completion Tokens, and costs. Supports precise pricing for 26+ models including DeepSeek, GPT-4o, Claude 3.5, and Gemini.

  • Cumulative stats: total calls, total Tokens, total cost
  • Session tracking: real-time usage per conversation
  • Usage popover: check anytime without interrupting workflow
API Usage Panel
Prompt
1,284
Completion
856
Total Cost
$0.011
Call Count12
Current ModelDeepSeek-Chat

Auto Read & Write Code
Then Fix Its Own Bugs

Cipher Agent has Plan and Auto modes. Plan mode generates a plan first, waits for your approval, then executes. Auto mode runs directly. Comes with 6 tools: read/write files, edit code, run commands, search code, browse directories. After writing code, it automatically runs type checks and fixes errors, up to 3 rounds.

  • Plan / Auto dual mode: propose then execute, or fully automatic
  • Auto-Heal: write code → run checks → detect errors → auto fix
  • Agent loop up to 15 rounds: think → act → observe → re-think
Agent Execution Plan
1 read_file: Analyze current component
2 search_code: Find type definitions
3 edit_file: Modify component implementation
4 run_command: tsc type check
5 edit_file: Fix type errors

Search in Chinese Too
Understands Your Codebase

A code search engine based on TF-IDF similarity, with 500+ built-in Chinese-English synonym pairs. Searching for "login" in Chinese also matches login, auth, authenticate. Code is automatically chunked by function and class boundaries, and indexes rebuild automatically on file changes.

  • 500+ CN-EN synonym expansion, search in Chinese seamlessly
  • Smart code chunking by function / class boundaries
  • Auto-rebuild index on file changes, always up-to-date
RAG Search Results
src/lib/usage.ts0.87
src/components/ai/UsagePopover.tsx0.72
src/lib/store.ts0.65
src/lib/tools.ts0.58
src/lib/codebase.ts0.51

Glassmorphism Design Immersive Experience

From ActivityBar to AI Panel, ultra-fine borders crafted for visual delight.

Cipher File Edit View Help
EXPLORER
fonts
src
components
App.tsx
index.tsx
main.ts
agent.ts
import { ToolExecutor } from './tools';
// Cipher AI Agent - Intelligent coding assistant
export async function runAgent(prompt: string) {
const executor = new ToolExecutor();
// 1. Analyze requirements and generate execution plan
const plan = await analyzeRequirements(prompt);
// 2. Execute toolchain: read/write files, run commands
for (const step of plan.steps) {
switch (step.tool) {
case 'read_file':
await executor.readFile(step.path);
break;
case 'write_file':
await executor.writeFile(
step.path,
step.content
);
break;
case 'run_command':
const result = await executor.runCommand(
step.command
);
console.log(`Result: ${result.stdout}`);
break;
}
}
// 3. Auto-heal type errors
await autoHeal(executor.modifiedFiles);
return { success: true, filesChanged: 3 };
}

Start a conversation with AI

Chat
Chat
Chat
Chat
Coding
Cipher
Novel
Novel
Office
PPT
Excel
Beta
Images
Type a message... (Shift+Enter for new line)
openai/gpt-4o...
Ln 1, Col 1 UTF-8 Ln
Cipher AI IDE Powered by Cipher

Electron + React + TypeScript

Monaco Editor core, xterm.js terminal, Framer Motion animations, TailwindCSS styling.

Electron
React
TypeScript
Monaco
xterm.js
TailwindCSS
Framer Motion
Zustand