Web Console and Agent
rauto has two service entry points that may look similar but serve very different purposes:
rauto webrauto agent
rauto web: local self-managed console
Open http://127.0.0.1:3000 and enter the Web password. On the first startup, rauto generates a random password, prints it once, and stores it in an owner-only ~/.rauto/config.toml file:
Edit web.password while the service is stopped to rotate it. Browser sessions are revocable and memory-only, so restarting rauto requires a new login. Unauthenticated API requests return 401. Keep the password and config file private, and add transport protection before binding to an untrusted network.
It is designed for single-node use and provides a browser UI for:
- reusable device credentials
- saved connections
- command templates
- command flow templates
- profile-aware show-object execution
- batch show queries across saved connections, groups, and labels
- automatic device discovery with progress, filters, and safe connection import
- running/startup configuration fetch with raw and normalized SHA-256 hashes
- custom TextFSM templates and mappings
- custom show objects
- direct command execution
- transaction blocks, workflows, and orchestration
- async task inspection
- command blacklist management
- backup and restore
- recording and replay
Key web console capabilities
- credential CRUD, reference protection, CSV/Excel import, and inline creation from connection forms
- password, encrypted inline private-key, runtime private-key-file, and SSH-agent authentication
- connection CRUD and import flows using credential references instead of duplicated secrets
- editable device model and software version facts, with automatic detection from the Profile's version query and TextFSM parser
- SSH compatibility profiles:
secure,balanced, andlegacy-compatible - one searchable Profile catalog for built-in and custom profiles, with copy-to-custom, state-machine diagnostics, and lifecycle Hook authoring
- Standard Delivery modes for direct execute, show objects, batch show, template execute, and command flow
- shared multi-target selectors and bounded concurrency for command, flow, show, and configuration fetch
- opt-in session retries with capped exponential backoff for repeat-safe operations
- TextFSM controls, Excel export, strict Error-rule handling, and custom template management
- Template Manager sections for command templates, flow templates, TextFSM templates, TextFSM mappings, and custom show objects
- recording, in-browser replay, and execution history
- English and Chinese UI switching
Current Web interface
The current Profile Management workspace keeps the built-in and custom Profile catalog, read-only built-in details, diagnostics, and copy-to-custom workflow on one screen. Custom Profile lifecycle Hooks can run either one command or a command flow, including prompt-response interactions for long-running commands.

The Device Credentials workspace manages encrypted authentication separately from target metadata. It shows login readiness, optional Enable handling, and every saved connection that references a credential.

Saved connection editing uses the same workspace model. Operators can maintain device_model and software_version manually or ask the Web console to run the resolved Profile's version show query. The detector parses output through the existing NTC/TextFSM pipeline, reports partial results, and keeps manually entered values when a fact cannot be detected.
The Configuration Fetch workspace resolves Profile catalog commands before connecting, displays raw and normalized hashes, and downloads the selected configuration content.

The Auto Discovery workspace scans IPs, CIDRs, or ranges across multiple SSH ports, tries up to three credentials in order, and lets operators filter, select, and save identified devices without importing duplicate endpoints.

The current Web frontend is built with Svelte 5 and embedded into the release binary. When building from source, build the frontend assets before compiling Rust:
For released binaries, no separate static/ directory is required at runtime.
rauto agent: managed execution node
rauto agent is not the local UI. It is the managed runtime used to connect an execution node to rauto-manager.
What agent mode provides
After startup, the agent is responsible for:
- registration and heartbeat with the manager
- inventory reporting and offline notifications
- receiving tasks dispatched by the manager
- sending events and callbacks over HTTP or gRPC
- exposing protected status and probe endpoints
How web and agent differ
If you only want to manage templates, run commands, and inspect replays on your own machine, rauto web is enough.
If you want multiple execution nodes under one control plane, use rauto agent.
Agent config file
You can also store agent defaults in ~/.rauto/agent.toml:
This reduces repeated command-line arguments at startup.
Connecting to rauto-manager
If the manager uses HTTP reporting:
If the manager uses gRPC:
When to introduce the manager
When your requirements start to include the following, it is usually time to move from rauto web to rauto-manager + rauto agent:
- centralized management of multiple execution nodes
- shared inventory and centralized history
- centralized task dispatch
- real-time multi-agent status and task timelines
For more background, continue with rauto-manager Overview.