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.4.0, XibeCode includes local-first coding, cloud (E2B) sandboxes, and always-on messaging.
- Setup wizard:
xibecode setupfor providers, API keys, 24/7 gateway, and agent defaults. - 30+ providers: Routing.run, zenllm.org, Anthropic, OpenAI, OpenRouter, DeepSeek, Gemini, Grok, Z.AI, Kimi, MiniMax, Fireworks, and more — see Providers.
- Unlimited agent loops by default (
maxIterations: 0); set-d Nor config when you want a hard cap. - 24/7 gateway: Telegram / Discord / Slack coding with
xibecode gateway --start/--stop. - Cron:
xibecode cronscheduled agent jobs while the gateway runs. - Learning loop: curated memory, write-approval, session search, skill learner.
- Cloud Runtime:
xc cloud,xc cloud resume <sandbox-id>,xc cloud pull, chat/cpull. - Diagnostics:
xibecode diagnosticsredacted markdown bundle.
Getting Started
Installation
Install XibeCode and set up your API key in under a minute.
Setup wizard
Interactive setup for providers, gateway, and agent defaults.
Quick Start
Run your first autonomous coding task with XibeCode.
Agent engine
How the agent loop, iterations, and tools work.
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
Local vs cloud execution, sandbox strategies, resume and pull.
24/7 Gateway
Telegram/Discord/Slack coding; systemd start and stop.
Cron
Scheduled agent tasks while the gateway is running.
Providers
Full LLM provider catalog, env keys, and failover.
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.