Documentation
Everything you need to know about using XibeCode — the autonomous AI coding assistant.
Everything you need to know about using XibeCode — the autonomous AI coding assistant.
Feature Highlights
- 13 Agent Modes for planning, coding, testing, security, review, team leadership, and more
- 50+ Built-in Tools for file I/O, code search, git, shell execution, web, and MCP
- Multi-Source Settings layered config from user, project, local, and policy sources
- Lifecycle Hooks run custom commands at session start/end, before/after tool use, and more
- Auto-Memory persistent project memory with automatic extraction and dream consolidation
- Permission Rules fine-grained allow/deny/ask patterns for tool execution
- Context Management microcompaction and full compaction for long conversations
- MCP Protocol Support for extending capabilities with external tools
- Swarm Orchestration for parallel task execution
- Skill System with 40+ built-in skills and Smithery registry integration
- Open Source (Apache 2.0)
Current Runtime Highlights
As of CLI/Core 1.3.x, XibeCode includes both local-first and cloud (E2B) workflows.
- Cloud Runtime Commands:
xc cloud,xc cloud resume <sandbox-id>, andxc cloud pullfor full cloud workflows. - Cloud Chat Pull Shortcut:
/cpulldirectly in chat for sandbox workspace pullback. - Chat Commit Shortcut:
/commitstages all changes and commits with auto-generated or custom message. - Project-Scoped JSONL Sessions: Sessions are append-only transcripts under
~/.xibecode/projects/<sanitized-cwd>/. - Layered Config + Runtime Overrides: Cloud gateway and sandbox behavior resolve via env vars, profile config, and defaults.
- Diagnostics Bundle Command:
xibecode diagnosticsgenerates a redacted markdown diagnostics report for debugging and issue reports.
Getting Started
Installation
Install XibeCode and set up your API key in under a minute.
Quick Start
Run your first autonomous coding task with XibeCode.
Agent Modes
Learn how 13 agent modes/personas work together.
Core Features
Tools Reference
Explore 50+ built-in tools for autonomous coding.
Configuration
Customize models, API endpoints, providers, and more.
MCP Integration
Connect to external servers via the Model Context Protocol.
Cloud + Operations
Cloud & E2B Runtime
Understand local vs cloud execution, sandbox strategies, resume and pull flows.
Chat Slash Commands
Reference for /cpull, /commit, and other interactive chat shortcuts.
Canonical Facts
Retrieval-friendly truth set for answering common XibeCode questions.
Advanced
Permissions
Fine-grained allow/deny/ask rules for tool execution.
Plugins
Extend XibeCode with custom tools and domain-specific logic.
Test Generation
AI-powered test suite generation for your code.
Quick Links
- GitHub Repository
- npm Package (CLI)
- npm Package (Core)
- Installation Guide
- Cloud & E2B Runtime
- Chat Slash Commands
- Agent Modes
- Tools Reference
- Example Use Cases
New to XibeCode?
Start with the Quick Start guide, then explore the Agent Modes and Tools Reference to see how XibeCode works in depth.