How eduardd76/multiagent-netops-kit works
This teaching kit guides an incident from read-only network evidence through deterministic fault diagnosis, a playbook-constrained change proposal, human approval, execution, and post-change validation. The main runtime is assembled by the orchestrator; the coordinator dispatches specialist agents and owns the gated workflow. Distinct supporting capabilities include a simulated or real cEOS network, interchangeable LLMs, MCP read-only access, extension ports, audit, and trajectory scoring. The README documents these branches; sampled excerpts establish only some individual calls, so uncertain links are omitted.
Main entry points: network.py Network facade · coordinator.py Team coordinator · protocol.py Agent message bus · orchestrator.py Incident orchestrator
Components 24
Network access
- Network facade
netops/network.py - Device drivers
netops/device/driver.py - Simulated fabric
netops/device/fabric.py - Real cEOS adapter
netops/device/ceos.py - EOS readers
netops/readers/eos.py
Agent workflow
- Single-agent tools
netops/agents/single.py - Tool allowlists
netops/agents/tools.py - Evidence store
netops/evidence.py - Troubleshooting specialist
netops/agents/troubleshooting.py - Config specialist
netops/agents/config.py - Team coordinator
netops/agents/coordinator.py - Agent message bus
netops/protocol.py
Safe change
- Change validation
netops/agents/validation.py - Playbook and command gate
netops/playbook.py - Approval gate
netops/approval.py - Change executor
netops/executor.py
Runtime and extensions
- Incident orchestrator
netops/orchestrator.py - LLM backends
netops/llm.py - Trajectory scoring
netops/scoring.py - Read-only MCP server
netops/mcp_server.py - Adapter ports
netops/ports.py - Audit emission
netops/audit_emit.py
Other components
- Student / operator
- Human approver
Connections 33
- Student / operator → Incident orchestrator: starts incident
netops/orchestrator.py - Incident orchestrator → Network facade: creates incident
netops/orchestrator.py - Incident orchestrator → Single-agent tools: runs single agent
netops/orchestrator.py - Incident orchestrator → Team coordinator: starts team
netops/orchestrator.py - Incident orchestrator → Trajectory scoring: claims outcomes
netops/orchestrator.py - Network facade → Device drivers: uses drivers
netops/network.py - Network facade → EOS readers: selects reader
netops/network.py - Simulated fabric → Device drivers: implements driver
netops/device/simulator.py - Real cEOS adapter → Device drivers: implements driver
netops/device/ceos.py - Single-agent tools → Tool allowlists: calls tools
netops/agents/single.py - Tool allowlists → Network facade: reads or changes
netops/agents/tools.py - Tool allowlists → Evidence store: stores results
netops/agents/tools.py - Team coordinator → Agent message bus: dispatches messages
netops/agents/coordinator.py - Agent message bus → Troubleshooting specialist: routes diagnosis
netops/agents/coordinator.py - Agent message bus → Config specialist: routes proposal
netops/agents/coordinator.py - Agent message bus → Change validation: routes validation
netops/agents/coordinator.py - Troubleshooting specialist → Tool allowlists: runs readbook
netops/agents/troubleshooting.py - Troubleshooting specialist → Evidence store: records findings
netops/agents/troubleshooting.py - Troubleshooting specialist → LLM backends: ranks findings
netops/agents/troubleshooting.py - Config specialist → Playbook and command gate: renders proposal
netops/agents/config.py - Change validation → Playbook and command gate: checks proposal
netops/agents/validation.py - Team coordinator → Approval gate: requests approval
netops/agents/coordinator.py - Approval gate → Human approver: presents change
- Human approver → Approval gate: approves or rejects
netops/approval.py - Team coordinator → Change executor: applies approved change
netops/agents/coordinator.py - Change executor → Network facade: configures devices
netops/executor.py - Change executor → Approval gate: consumes token
netops/executor.py - Team coordinator → LLM backends: chooses root cause
netops/agents/coordinator.py - Read-only MCP server → Network facade: serves read tools
- Adapter ports → Network facade: defines adapters
- Agent message bus → Audit emission: emits events
netops/protocol.py - Approval gate → Audit emission: emits events
netops/approval.py - Trajectory scoring → Single-agent tools: scores trajectories
netops/scoring.py