Skip to content

FAQ

How is LingXiao different from other AI coding tools?

Section titled “How is LingXiao different from other AI coding tools?”

LingXiao is not a chat shell — it’s an orchestration kernel. One sword cleaves the sky, build what you envision. Key differences:

  • Expert Panel: Leader + Worker multi-role collaboration, not single-agent dialogue
  • DAG Orchestration: Dependency-aware task graphs with parallel execution
  • Full State Sync: WebUI/TUI/CLI three-way real-time synchronization
  • Recoverable: SQLite persistence, recoverable after crashes
  • Verification Loop: Structured verification + adversarial validation

Node.js >=24.0.0. Run lingxiao doctor to check your environment.

  • OpenAI (and compatible: DeepSeek, Qwen, Moonshot/Kimi, Gemini, Groq, SiliconFlow, etc.)
  • Anthropic

Configured via environment variables or ~/.lingxiao/settings.json. See Connect Models.

TypeLocation
Global config~/.lingxiao/settings.json
DatabaseSQLite files under ~/.lingxiao/
Project-level config.lingxiao/ directory
Custom Agents (global)~/.lingxiao/agents/
Custom Agents (project).lingxiao/agents/
Permission configs.lingxiao/permissions.*.json
Terminal window
lingxiao list # List all sessions
lingxiao --session <id> # Resume a specific session

All session state (messages, task DAG, agent state) is persisted to SQLite and fully recoverable after crashes.

Four modes:

ModeDescription
strictAll write operations require confirmation (default)
devDevelopment mode, relaxed confirmation
networkedNetwork mode, allows network tools
yoloNo confirmation needed (use with caution)

Set via the /mode slash command or tools.permissionMode in ~/.lingxiao/settings.json.

Permissions can persist to four layers: session, project, local, user.

After starting LingXiao, the terminal prints a tokenized URL, e.g.:

http://127.0.0.1:8080/?token=xxxxxxxx

Port info is written to ~/.lingxiao/port. Hardened mode is auto-enabled for non-localhost bindings.

Terminal window
# Start with a worktree
lingxiao start --worktree feature-x
# Manage existing worktrees
lingxiao worktree list
lingxiao worktree remove <name>
lingxiao worktree prune

Each task can run in an isolated Git worktree to avoid working directory conflicts.

Terminal window
# Background start
lingxiao start --bg --name my-project
# Daemon mode
lingxiao daemon start -p 8080
lingxiao daemon status
lingxiao daemon stop
# View logs
lingxiao daemon logs <name> -f
Terminal window
# Use slash commands in TUI/WebUI
/eternal <goal> # Set long-term goal
/eternal status # Check status
/eternal pause # Pause
/eternal resume # Resume

Eternal mode cycles at 30-second base interval with exponential backoff up to 960 seconds. Auto-pauses after 8 consecutive failures.

Enable in ~/.lingxiao/settings.json:

{
"llm_gateway": {
"enabled": true,
"provider": "openai",
"model": "gpt-4o",
"default_rpm": 60,
"default_tpm": 200000
}
}

Access via /llm/openai/v1/** and /llm/anthropic/v1/** endpoints with virtual key authentication.

Terminal window
# Create a custom Agent
lingxiao agents create my-agent \
--description "My Agent" \
--base-role backend \
--model gpt-4o-mini
# List all Agents
lingxiao agents list

Use slash commands in TUI/WebUI:

Terminal window
/mcp list # List configured servers
/mcp search <query> # Search marketplace
/mcp install <entry-id> # Install
/mcp add-stdio <id> <cmd> # Manually add stdio server
/mcp add-remote <id> <url> # Manually add HTTP server