Skip to content

About

multi agent coordination example

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Incident Response Agent — Multi-Agent System

Nasscom AI-Code Sarathi · Agentic AI Workshop

A coordinator agent dispatches three specialist agents to diagnose, communicate, and remediate a production incident. Demonstrates multi-agent orchestration, inter-agent communication via a shared message bus, and HITL at the remediation gate.

Setup

pip3 install -r requirements.txt
export GROQ_API_KEY=your-key      # or: export GEMINI_API_KEY=your-key

The agents call Groq (llama-3.3-70b-versatile) when GROQ_API_KEY is set, otherwise they fall back to Gemini (gemini-2.0-flash-lite).

Run (4 terminals)

Terminal 2: python agents/diagnosis/agent.py

Terminal 3: python agents/communication/agent.py

Terminal 4: python agents/remediation/agent.py

Terminal 1 (start last): python main.py

Then type an incident at the prompt:

Payment service returning 500 errors for the last 30 minutes, P1

Step 6 — Deliberate Failure

Restart Terminal 4 with: python agents/remediation/agent.py --no-enforcement

Type the same incident. Remediation executes the rollback without HITL.

Architecture

main.py (Terminal 1)
  └── coordinator/agent.py
        └── shared/bus.py (message_bus.json)
              ├── agents/diagnosis/agent.py     (Terminal 2)
              ├── agents/communication/agent.py (Terminal 3)
              └── agents/remediation/agent.py   (Terminal 4)

Learn More

Repo

github.com/nasscomAI/incident-response-agent

About

multi agent coordination example

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages