Overview
Routa Desktop is the recommended distribution for Routa. It provides a native application experience with an embedded server, local database, and seamless agent orchestration. The desktop app is built using:- Tauri 2.0 - Rust-based desktop framework
- SQLite - Embedded database (no external setup required)
- Next.js - Frontend bundled into the application
- Embedded Server - Rust-based server running locally on port 3210
Installation
Prerequisites
Install Node.js
Download and install Node.js 22+ LTS version.
Install System Dependencies
macOS:Linux (Ubuntu/Debian):Windows:
Install WebView2 Runtime (usually pre-installed on Windows 11).
Building from Source
Configuration
Application Settings
The desktop app stores configuration in:Database Location
The SQLite database is stored at:- Development:
apps/desktop/src-tauri/routa.db - Production:
{app_data}/routa.db
Environment Variables
Create a.env file in the project root:
.env
Features
Window Configuration
The desktop app window is configured inapps/desktop/src-tauri/tauri.conf.json:
tauri.conf.json
Tauri Plugins
The desktop app includes the following plugins:Dialog
Native file/folder picker dialogs
File System
Read/write files with permission prompts
Notifications
System notifications for agent events
Process
Spawn and manage child processes
Shell
Execute shell commands securely
SQL
Direct SQLite database access
Agent Spawning
The desktop app can spawn AI agents locally:- Claude Code - via
@anthropic-ai/claude-agent-sdk - OpenCode - via
opencode-ai(if installed) - Codex - via
@openai/codex(if installed) - Gemini - via
@google/generative-ai-cli(if installed)
http://127.0.0.1:3210/mcp.
Usage Workflows
Starting a Coordination Session
Create a Workspace
Click “New Workspace” and select a local directory or import a GitHub repository.
Start a Conversation
Type your task description in the chat panel. The coordinator will parse your intent and create a structured plan.
Using Custom Specialists
Custom specialists are loaded from:- Database (highest priority)
- User files at
~/.routa/specialists/*.mdor~/.routa/specialists/*.yaml - Bundled specialists in
resources/specialists/ - Hardcoded fallbacks
Managing MCP Servers
Add custom MCP servers via the Settings panel:- Open Settings → MCP Servers
- Click “Add Server”
- Configure stdio, HTTP, or SSE connection
- Enable the server
- Restart agents to use the new MCP tools
Troubleshooting
App Won’t Launch
macOS: 'App is damaged' error
macOS: 'App is damaged' error
Remove the quarantine attribute:
Linux: Missing shared libraries
Linux: Missing shared libraries
Windows: WebView2 not found
Windows: WebView2 not found
Download and install WebView2 Runtime.
Database Issues
Port Conflicts
If port 3210 is in use, change it in.env:
Agent Spawn Failures
- Check that API keys are set in
.env - Verify agent CLIs are installed (
opencode-ai,@openai/codex, etc.) - Check logs in the console (View → Developer → Developer Tools)
CLI Integration
The desktop distribution includes arouta CLI:
Next Steps
Custom Specialists
Create your own specialist roles
Custom MCP Servers
Integrate external MCP tools
Workflows
Automate multi-step processes
GitHub Integration
Work with remote repositories