SuperAPI AI Directory

Network-AIops

Network-AIops is an open-source multi-vendor network device operations project for AI agents. It implements device read and write operations based on NAPALM and provides tools to agents through the MCP protocol. The project has built-in governance mechanisms: a unified local audit log, token and runaway budget protection, revoked token records, and risk level labels; credentials are stored in encrypted storage. It supports reading device information, interfaces, BGP/LLDP neighbors, ARP/MAC, VLANs, routes, hardware environment, optical modules, NTP, users, SNMP, VRF, etc., and provides device health aggregation and read-only RCA diagnostics; it also supports configuration backup, diff dry-run, and merge, replace, and rollback. The project is open-sourced under the MIT license, its tests are based on mocks, and it has not yet been verified on real devices.

Open website

About this tool

Network-AIops is a community-maintained open-source project that provides governed multi-vendor network device operations capabilities for AI agents. The project accesses network devices through NAPALM, optionally connects to NetBox as a configuration source for queries, and exposes these capabilities to agents as MCP tools.

Purpose and positioning: The project targets network operations scenarios, enabling agents to read device status and perform controlled configuration writes. The project description emphasizes that it is responsible for accurately and efficiently executing and recording every operation, but does not decide whether a given write is allowed; whether a write is allowed is determined by the agent, or by the permissions of the connected account. Therefore, the project has no read-only switch, policy file, or approval gate. It is recommended to use device accounts with read-only permissions and read-only NetBox API tokens so that writes fail on the server side.

Main capabilities: It can read device facts, interfaces (including counters/IP), BGP/LLDP neighbors (summary and details), ARP/MAC tables, VLANs, route queries, hardware environment, optical modules, NTP, users, SNMP information, VRF, and the aggregated device_health; it can run read-only RCA diagnostics, flag down/erroring/flapping interfaces and unhealthy BGP neighbors, and cite the measured values that triggered the judgment; it supports backing up the running configuration, dry-running configuration diffs, and merging, replacing, and rolling back configurations. Optional NetBox queries (devices and interfaces) are used to confirm the expected state before changes. NAPALM does not implement all getters on every platform; unsupported getters return instructional errors rather than crashing; get_users redacts password hashes, and get_snmp_information redacts community strings.

Governance and security: Every tool is wrapped by the built-in @governed_tool, and calls are written to the local SQLite audit log at ~/.network-aiops/audit.db (the location can be changed with NETWORK_AIOPS_HOME), with token/runaway budget protection, revoked token records, and descriptive risk level labels (none/confirm/review). Risk levels are only labels, not gates. Real writes require first submitting a pending audit row; if storage is unavailable, it stops before contacting the platform. Reads and previews can continue with a warning; new audit rows save a result summary rather than the full response. Device passwords and NetBox tokens are stored in encrypted secrets.enc (Fernet/AES + scrypt-derived keys, chmod 600), never written to disk in plaintext; the tool does not return passwords, SNMP community strings, or hashes. All device text is processed through sanitize() (removing control/format characters and truncating). config_merge/config_replace capture the running configuration before changes and record a reverse config_replace-to-backup rollback description; config_replace has a risk level of high; destructive CLI commands require double confirmation and support --dry-run to print the diff without committing.

Usage: can be installed as a Claude Code plugin (a single install provides both the skill and the MCP server; the MCP server is fetched with uv and pinned to the package version declared by the plugin); can also be installed as an OpenClaw plugin from ClawHub, after which the OpenClaw gateway must be restarted, and uvx must be in PATH; can also be used as a CLI or standalone MCP server. Credentials are configured via network-aiops init, which creates ~/.network-aiops/config.yaml, and written to encrypted storage using the network-aiops command; device passwords are indexed by device name, and the NetBox token uses the reserved name netbox-token. NETWORK_AIOPS_MASTER_PASSWORD can be exported to unlock the storage non-interactively; legacy plaintext environment variables are a deprecated fallback; key-based SSH authentication allows an empty device password.

Applicable scenarios and limitations: suitable for daily reading, health checks, read-only RCA diagnostics, configuration backups, and controlled changes on multi-vendor network devices. The project's documented scope focuses on common device operations and is not yet comprehensive; the test suite is mock-based and has not been validated on real devices; you can self-test with cEOS/vMX/containerlab; Nokia SR OS/SR Linux, Huawei VRP, etc. can be accessed via NAPALM community drivers but are not officially tested here. The project is not affiliated with vendors such as Cisco, Arista, Juniper, or NetBox Labs. The project is licensed under MIT.