rauto Overview
rauto is a Rust-based network automation toolkit that unifies reusable credentials, connectivity, show queries, TextFSM parsing, execution, orchestration, recording, and replay for network devices and Linux hosts through CLI, Svelte Web, and agent APIs.
What problem does it solve?
Traditional network automation often runs into the same set of issues:
- command execution is fragmented and ad-hoc scripts are hard to reuse
- prompt and mode handling varies across vendors
- changes lack rollback-aware execution models
- multi-device operations lack consistent orchestration and audit history
- AI-driven control needs a more reliable execution and templating layer
rauto is designed to unify these low-level concerns into one execution engine that can be reused by network engineers, automation developers, and AI agents.
Core surfaces
CLI
The most direct interface, suitable for:
- ad-hoc command execution
- multi-target
exec,flow,show, and configuration fetch with bounded concurrency - profile-aware show-object inspection with TextFSM parsing
- batch show queries across saved connections, inventory groups, and labels
- rendering and running saved templates
- interactive command flow execution
- transaction blocks, workflows, and orchestration
Web console
rauto web starts a local self-managed console, suitable for:
- managing reusable credentials, saved connections, templates, command flow templates, and custom show objects
- executing direct commands, show objects, batch show queries, templates, command flows, transactions, and orchestration in the browser
- managing custom TextFSM templates, profile-command mappings, and parser bindings
- inspecting async tasks, recordings, replays, blacklists, and backups
Agent mode
rauto agent connects a node to rauto-manager, turning it into a managed execution endpoint for centralized control.
- distributed execution across sites and regions
- centralized task dispatch and visibility from the manager side
- HTTP or gRPC communication with the manager
Key capabilities
- two-layer templating: command templates and device profiles
- default
autodetectprofile resolution with local host:port cache - built-in multi-vendor profiles with support for custom profiles
showobjects mapped to platform commands and parsed with bundled NTC TextFSM templates- batch show queries selected by saved connection, inventory group, or label/tag
- custom TextFSM templates, command mappings, and show objects stored in SQLite
- reusable device credentials with encrypted storage, reference protection, and CSV/Excel import
- password, encrypted inline private-key, runtime private-key-file, and SSH-agent authentication
- saved connections with credential references, import, and grouping support
- automatic SSH device discovery across IPs, CIDRs, ranges, ports, and ordered credentials
- running/startup configuration fetch with raw and normalized SHA-256 drift hashes
- opt-in transient session retries with capped exponential backoff and flow resumption
- ordered mode candidates such as
Enable,ConfigandRoot|User - optional device model and software version facts with Web detection and searchable summaries
- unified Web Profile catalog with state-machine diagnostics and command-flow lifecycle Hooks
- global command blacklist for dangerous command protection
- session recording and replay with JSONL-based audit history
txfor rollback-aware single-target changestx-workflowfor multi-block transactional workflowsorchestratefor staged multi-device rollout plansuploadfor direct SFTP transfers to supported hostsbackupfor saving and restoring~/.rautoruntime data
When to use each surface
Product boundary
rauto and rauto-manager serve different layers:
If your priority is:
- automation from a single workstation
- local templates, recordings, replays, and transaction tools
- a stable execution layer for AI or higher-level platforms
then rauto should be your primary entry point.
Next, continue with Quick Start, Automatic Device Discovery, Configuration Fetch and Drift Hashes, and Command Selection and CLI.