Skip to content
FR Version françaiseBook a demo

LAN: the lan plugin and its providers

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 profile lan/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 implements lan/lan@1 and ships the setup page of its connector.

You install lan and a provider. The agent names the profile, never a vendor.

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.

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
  1. Install lan in 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.
  2. Install a provider plugin, lan-unifi. It requires lan: the installer refuses it while lan is 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.
  3. Configure its connector. The install creates the server’s default instance: a connector named after the server (lan-unifi), unconfigured until 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.
  4. Create a project from the template plugin:lan/lan-incident. A complaint becomes a work item; the agent writes the diagnosis, and the people of network-admin decide each proposed write in Approvals.
  • 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 profile lan/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_provider on 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.