An autonomous AI-powered IT Operations (AIOps) platform that automatically detects, diagnoses, and remediates connection faults for a nationwide fleet of 140,000+ hybrid dual-link network routers (Primary Fiber/Cable + Backup 5G SIM) and Charlotte cellular offload towers.
Designed to replace manual operations and eliminate expensive technician dispatches ("truck rolls"), the platform utilizes AWS Bedrock (Nova-Pro), the AWS Strands SDK, and a stateful data telemetry pipeline to achieve autonomous self-healing in over 95% of cases.
The platform is structured as an Agent-to-Agent (A2A) hierarchy managed by a master orchestrator (NetOrchestrator) who matches telemetry alerts to sub-agents via root capability discovery (agent_card.json).
graph TD
UI[NOC React Operations Dashboard] <--> |WebSockets & REST| API[FastAPI Direct REST Server]
API <--> |Session Isolation Factory| AgFactory[Strands Agent Factory]
subgraph A2A Orchestrator Engine
Orch[NetOrchestrator Master Agent]
Orch --> |A2A Dispatch| WiFi[SmartEdge Diagnostics Agent]
Orch --> |A2A Dispatch| Modem[Cable Modem Agent]
Orch --> |A2A Dispatch| Offload[Mobile Offload Agents x3]
end
AgFactory --> Orch
subgraph Reusable MCP Tools Server
WiFi & Modem & Offload --> Tools[Strands @tool decorated functions]
Tools --> SQL[(Amazon Aurora: SQL logs)]
Tools --> NoSQL[(Amazon DynamoDB: Active configs)]
Tools --> Graph[(Amazon Neptune: Graph topology)]
end
To process high-frequency telemetry from nationwide network routers in real-time, the platform orchestrates ingestion and agent-based fault remediation via the following pipeline:
graph TD
A[Telemetry Stream: 140k Routers] -->|FastAPI / Ingestion| B(Kafka Buffer)
B -->|Log Processing| C{Agent Factory}
C -->|Session 1| D[WiFi Agent]
C -->|Session 2| E[Modem Agent]
D & E -->|Validation| F[Terraform / Local Core]
The repository has been migrated from vanilla, tightly-coupled script prototypes into an enterprise-grade, microservice-based architecture satisfying the following 6 stories:
- Goal: Enable automated discovery and task routing between agents using the open A2A standard.
- Implementation: Exposed
agent_card.jsonat rootGET /to advertise capabilities. Tasks are dispatched toPOST /a2a/tasks/sendand dynamically routed to one of 5 sub-agents: WiFi, Cable Modem, or Mobile Offloading (AP, Device, or Full-Day) agents.
- Goal: Enforce boundary conditions and prevent schema drift.
- Implementation: Configured Pydantic request/response models with regex validation checking custom router MACs and identifiers, rejecting invalid payloads at the API boundary.
- Goal: Convert monolithic utility functions into shareable
@tooldecorated modules. - Implementation: Refactored database interfaces into independent tool services. WiFi and Modem agents query active states, event histories, and topology dependencies across DynamoDB, Aurora, and Neptune.
- Goal: Prevent session memory leaks and bleed when multiple engineers use the console.
- Implementation: Configured a dynamic factory function that instantiates isolated agent instances bound to unique session identifiers.
- Goal: Remove slow serverless warm-ups (AWS Lambda + API Gateway) for high-frequency telemetry.
- Implementation: Deployed direct REST microservices using FastAPI, reducing API latency from 1200ms down to <150ms.
- Goal: Standardize and replicate multi-environment (DEV/UAT/PROD) deployments.
- Implementation: Wrote Terraform templates declaring ECS Task Definitions, ECS Fargate services, Application Load Balancers (ALBs), and Bedrock IAM roles.
- Interactive US Map HUD: Built a responsive inline SVG United States status map. State nodes are color-coded based on live router severity (Green, Yellow, Red) and show KPIs (stuck routers, cost leaks) on hover.
- Charlotte Offload schematic: Displays access point towers in Charlotte, NC. Signal beam paths animate offload attempts and trigger alerts for missed handoffs. Includes a profile optimizer simulation.
- observability Data Flow Explorer: An interactive diagram showing data lineage. Clicking nodes previews real-time JSON events, SQL history queries, Gremlin graph traversals, and system prompts.
- CRT Compliance Terminal: A retro command-line console running stdout compliance suites character-by-character from the server tests.
- Python 3.11+
- Node.js (for the React frontend)
- AWS Bedrock credentials configured in
.env
Configure your environment variables in .env:
AWS_ACCESS_KEY_ID=your_aws_access_key_id
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
AWS_DEFAULT_REGION=us-east-1
AWS_BEDROCK_MODEL_ID=amazon.nova-pro-v1:0Set up python virtual environment and run server:
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start backend FastAPI app
python -m src.api.mainThe backend API is running on http://127.0.0.1:8080.
cd dashboard/frontend
# Install dependencies
npm install
# Start React app
npm startThe NOC dashboard will open automatically on http://localhost:3000.
Execute the standalone automated verification suite validating Pydantic models, tool decorators, and factory session isolation:
python tests/test_runner.pyOutputs:
[TEST] STARTING STANDALONE AIOPS VERIFICATION TESTS
-> Test 1: Verifying Pydantic Request validation...
[OK] Valid device ID passed successfully.
[OK] Invalid device ID format correctly raised validation error.
-> Test 2: Verifying Reusable Tool definitions and schemas...
[OK] Tool decorators and schemas verified successfully.
-> Test 3: Verifying Factory Pattern user isolation...
[OK] Agent Factory isolated user contexts correctly.
[SUCCESS] ALL LOCAL VERIFICATION TESTS PASSED SUCCESSFULLY!
This project is licensed under the MIT License - see the LICENSE file for details.