XibeCode writes code. You ship.
AI-powered autonomous coding assistant for your terminal. 13 agent modes, 50+ tools, auto-memory, lifecycle hooks, and multi-source settings.
bun add -g xibecodenpm install -g xibecode
Reading project structure...Found: src/app.ts, src/routes/, package.jsonPlanning implementation...Creating src/middleware/auth.tsCreating src/routes/auth.tsInstalling jsonwebtoken, bcrypt...Running tests... 4/4 passedDone in 12sXibeCode in numbers
More than a CLI: agent modes, built-in tools, MCP, WebUI, and safety controls—built for developers who want autonomy without losing control.
Agent Modes
Built-in Tools
Tool Categories
Open Source
Terminal UI
Built for serious terminal workflows
Fast, readable, and tool-transparent — with guided setup, model picking, and rich tool output.

Official Partners
13 Specialized Personas
Agent Modes for Every Task
Switch between specialized AI personas optimized for different development tasks.
Capabilities
Everything You Need
Smart Context
Automatically discovers relevant code, dependencies, and project structure.
Advanced Editing
4 editing methods: write, edit, insert, and verified edit with rollback.
Test Integration
AI-generated tests for Vitest, Jest, Mocha, pytest, Go test, and more.
Git Awareness
Automatic checkpoints, diffs, status tracking, and safe rollbacks.
MCP Integration
Connect to external services via the Model Context Protocol.
Plugin System
Extend with custom tools, domain logic, and automation scripts.
Safety Controls
Dry-run mode, risk assessment, command blocking, and backups.
Autonomous Loop
Read, plan, execute, verify, and iterate until tasks are complete.
Multi-Source Settings
Layered configuration from user, project, local, and policy sources.
Lifecycle Hooks
Run custom commands at 9 agent events like PreToolUse and SessionEnd.
Auto-Memory
Persistent project memory with automatic extraction and dream consolidation.
Permission Rules
Fine-grained allow/deny/ask patterns for tool execution control.
Comparison
How XibeCode Stacks Up
Feature-by-feature comparison with other AI coding assistants.
| Feature | XibeCode | Claude Code | Aider |
|---|---|---|---|
| Open Source | |||
| Free to Use | |||
| Custom API Endpoint | |||
| 13 Agent Modes | |||
| 50+ Built-in Tools | |||
| Smart Context Discovery | |||
| Advanced File Editing | |||
| Cross-Platform | |||
| Loop Detection | |||
| Automatic Backups | |||
| Auto-Memory System | |||
| Multi-Source Settings | |||
| Lifecycle Hooks | |||
| Permission Rules | |||
| Test Integration | |||
| Git Awareness | |||
| MCP Protocol Support | |||
| Plugin System | |||
| Skills System | |||
| Core Library (npm) | |||
| Risk Assessment |
Community
Our Sponsors
XibeCode is free and open-source. These amazing people help keep the project alive.
No sponsors yet. Be the first to support XibeCode.
Ready to let AI write your code?
Install XibeCode and start building in seconds. Open-source, free, and powerful.
npm install -g xibecode


