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, web, skills, 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 project memories plus durable curated
MEMORY.md/USER.md - Auto-compact microcompact + full handoff when context nears budget
- Permission Rules fine-grained allow/deny/ask patterns for tool execution
- MCP Protocol Support for extending capabilities with external tools
- Swarm Orchestration for parallel task execution
- Skill System progressive
list_skills/view_skillplus learned skills - Open Source (Apache 2.0)
Current Runtime Highlights
As of CLI/Core 1.17.0, XibeCode includes local-first coding, cloud (E2B) sandboxes, and always-on messaging.
- Setup wizard:
xibecode setupfor providers, API keys, 24/7 daemon, and agent defaults. - 30+ providers: Routing.run, zenllm.org, Anthropic, OpenAI, OpenRouter, DeepSeek, Gemini, Grok, Z.AI, Kimi, MiniMax, Fireworks, models.dev catalog, and more — see Providers.
- Unlimited agent loops by default (
maxIterations: 0); set-d Nor config when you want a hard cap. - Xibe Daemon (24/7): Telegram / Discord / Slack with
xibecode daemon(alias:xibecode gateway). /cmdshell from Telegram — run shell in the chat workdir without the agent loop.- Mid-run steer (default): new messages inject into the current run;
/queuefor FIFO;/stopto free the chat. - Media delivery: screenshots and any workspace file via
MEDIA:path(photo/document/video/audio). - Cron:
xibecode cronscheduled agent jobs while the daemon runs. - Curated memory: durable saves with clear “Saved” feedback; frozen snapshot at session start.
- Cloud Runtime:
xc cloud,xc cloud resume <sandbox-id>,xc cloud pull, chat/cpull. - E2B runtime mode:
/update yesinstalls latest CLI + restarts daemon (chat sessions kept). - Diagnostics:
xibecode diagnosticsredacted markdown bundle. - CLI update:
xibecode update --check/--apply --yes(never silent).
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, auto-compact, and tools work.
Core Features
Tools Reference
Explore 50+ built-in tools for autonomous coding.
Configuration
Customize models, API endpoints, providers, and more.
Memory
Project auto-memory and durable curated MEMORY / USER files.
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.
Xibe Daemon (24/7)
Telegram/Discord/Slack coding; /cmd, steer, media, systemd.
Cron
Scheduled agent tasks while the daemon is running.
Providers
Full LLM provider catalog, env keys, and failover.
Chat Slash Commands
Interactive TUI and messaging gateway slash commands.
Canonical Facts
Retrieval-friendly truth set for 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
- Xibe Daemon
- 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.