LAN: the lan plugin and its providers
- graal Agentic Platform
- Version 0.30 (current)
- Open source · Apache 2.0
- Source : graalsystems/tranibor-agents@90f3de1
A site’s local network and Wi-Fi diagnosed by an agent, with restarts and power cycles under a person’s approval. The work is split in two kinds of plugins:
lan, the profile plugin. It declares the profilelan/lan@1(what any LAN server must serve) and carries everything that does not depend on the vendor: the agent, its skill, the template and the evals. It runs no server and reaches no system on its own.- A provider plugin per vendor, today
lan-unifi. It runs one MCP server that implementslan/lan@1and ships the setup page of its connector.
You install lan and a provider. The agent names the profile, never a vendor.
What the lan plugin brings
Section titled “What the lan plugin brings”| Part | Name | What it does |
|---|---|---|
| Profile | lan/lan@1 |
15 tools: reads (get_provider, sites, devices and their statistics, clients, networks, Wi-Fi networks, firmware status) and the writes restart_device, power_cycle_port, block_client, unblock_client and upgrade_firmware, with their governance floor |
| Agent | lan-steward |
reads a site’s devices, uplinks, clients and firmware, writes a diagnosis that cites its evidence, proposes governed writes and a change plan for what no tool does |
| Skill | lan-troubleshooting |
Wi-Fi retries and channels, uplinks and PoE, a client that cannot connect, firmware hygiene |
| Template | lan-incident |
request, diagnosis (the agent), review (the people of network-admin), done |
| Evals | evals/lan-steward.yaml |
instruction checks, and live cases on a provider’s fake |
| Conformance suite | conformance/ |
the tests a provider’s server runs against itself to prove it serves the profile |
The governance floor is the profile’s, and a provider may raise it, never lower it: restarting a device, power
cycling a PoE port, blocking a client and upgrading a firmware always wait for a person’s approval. A provider
whose API lacks a write answers not_supported, sends nothing, and lists it in get_provider; the agent then
writes the change in its change plan. SSID, VLAN, channel and firewall edits are left out of the profile.
The providers
Section titled “The providers”| Provider | Plugin | What it serves | Setup |
|---|---|---|---|
| UniFi | lan-unifi |
a UniFi console with the Network application (Network Integration API), reached directly or through Ubiquiti’s cloud connector | Connect a UniFi console |
Install the lan plugin and a provider
Section titled “Install the lan plugin and a provider”- Install
lanin your organisation, from the console’s Plugins page. It brings the agent, the skill, the template and the evals. The installer plays the evals before it writes anything. - Install a provider plugin,
lan-unifi. It requireslan: the installer refuses it whilelanis not installed. It brings a server, so the install waits for a second administrator’s approval in Plugins. The installer checks that the server serves the profile: every tool, the same access, a governance never weaker, compatible schemas. - Configure its connector. The install creates the server’s default instance: a connector named after the
server (
lan-unifi),unconfigureduntil its form is filled. Follow the provider’s setup page: what to create on the console, then what to type in the form. Secrets are sealed: typed once, never shown again. - Create a project from the template
plugin:lan/lan-incident. A complaint becomes a work item; the agent writes the diagnosis, and the people ofnetwork-admindecide each proposed write in Approvals.
Several sites, several vendors
Section titled “Several sites, several vendors”- Two consoles. On Library → Plugins, the server’s Add instance creates another connector of the
same server, for example
lan-unifi-warehouse(a name of 2 to 48 characters, lowercase letters, digits and dashes, unique among the organisation’s connectors). It has its own configuration, sealed secrets, policies and egress. Configure it from the same setup page. The default instance cannot be deleted alone; uninstalling the plugin removes every instance. - Another vendor. A provider plugin for another vendor installs beside
lan-unifi. The agent names the profilelan/lan@1, not a connector: when a run starts, the platform opens every connector whose server implements the profile and that the project may use, each under its own name (lan-unifi__list_devices, …). - Which one acts. The agent calls
get_provideron every instance first, acts on the one that serves the site, and refuses to guess when none or several do. Each call is governed as a call to that connector: its own operations, policies, approvals and ledger lines. - A limit. One run opens at most 16 instances for one profile by default; the ones left out are named in the run.
Go further
Section titled “Go further”- Profiles and providers and Generic MCP servers, in the guide to building plugins.
- The profile itself, tool by tool:
plugins/lan/profiles/lan.yaml. - To serve the profile for another vendor, run the conformance suite against your server:
plugins/lan/conformance.