How abellache-rabah/ai-network-engineer works
This is a natural-language network-automation agent for a GNS3 simulation, exposed through seven MCP servers. The principal workflow is an AI client coordinating IP allocation, inventory updates, configuration deployment, and connectivity verification. Separate capabilities provide topology and documentation lookup, pre-deployment checks, monitoring, security audits, and traffic tests. Shared console utilities connect several services to simulated devices. The README documents the workflow and server roles; source excerpts show implementation details for the listed servers and shared helpers, but not the AI client’s internal orchestration.
Main entry points: librarian/server.py Librarian · gns3_utils.py GNS3 console · src/server.py Verifier · ipam/server.py IPAM
Components 16
Network source
- Librarian
servers/librarian/server.py - Inventory
shared/inventory.yaml - Network docs
shared/docs - Physical topology
shared/topology_physical.yaml - IPAM
servers/ipam/server.py - IPAM database
servers/ipam/ipam_db.json
Config changes
- Verifier
servers/verifier/src/server.py - Batfish checks
servers/verifier/src/batfish_utils.py - Host config checks
servers/verifier/src/host_utils.py - Deployer
servers/deployer/server.py
Operations
- Observer
servers/observer/server.py - Auditor
servers/auditor/server.py - Traffic generator
servers/traffic_gen/server.py
Shared runtime
- GNS3 console
shared/gns3_utils.py
Other components
- AI agent
- GNS3 devices
Connections 17
- AI agent → IPAM: allocates address
README.md - AI agent → Librarian: updates inventory
README.md - AI agent → Deployer: deploys config
README.md - AI agent → Observer: checks connectivity
README.md - AI agent → Verifier: validates config
README.md - AI agent → Auditor: requests audit
- AI agent → Traffic generator: requests traffic test
- Librarian → Inventory: reads and writes
servers/librarian/server.py - Librarian → Network docs: searches docs
servers/librarian/server.py - Librarian → Physical topology: reads topology
servers/librarian/server.py - IPAM → IPAM database: reads and writes
servers/ipam/server.py - Verifier → Batfish checks: checks device config
servers/verifier/src/server.py - Verifier → Host config checks: checks host config
servers/verifier/src/server.py - Deployer → GNS3 console: deploys commands
servers/deployer/server.py - Observer → GNS3 console: queries device state
servers/observer/server.py - Traffic generator → GNS3 console: runs iperf commands
servers/traffic_gen/server.py - GNS3 console → GNS3 devices: connects by socket
shared/gns3_utils.py