LLM-driven multi-agent system for Telemetry, Problems, Security, and DevOps. Orchestrated with LangGraph. Data via the Dynatrace MCP server. UI with Gradio, optional CLI.
The system is organized into three layers: a top-level supervisor and domain-specific teams.
- Routes user requests to one or more domain teams: Telemetry, Problems, Security, DevOps.
- Ensures each team is called at most once.
- Always ends with FINISH after at least one team responded.
Each domain team has its own supervisor and two workers: a Fetcher and an Analyst.
Workflow: Fetcher → Analyst → FINISH
- Fetcher: retrieves logs, metrics, spans via Dynatrace MCP tools.
- Analyst: analyzes anomalies, correlates signals, suggests mitigation.
- Fetcher: fetches active problems (list_problems).
- Analyst: identifies root causes, impact, prioritizes issues.
- Fetcher: fetches vulnerabilities (list_vulnerabilities).
- Analyst: ranks risks, groups CVEs, highlights exposure, proposes mitigations.
- Fetcher: retrieves deployment events, SLO/SLI data, error budgets.
- Analyst: evaluates health gates, canary rollbacks, error budget status, suggests remediation.
- MCP Tools: Dynatrace MCP
- Retrievers
- FAISS index from dynatrace LLM rules
- Active on all user input.
- Blocks toxic language, profanity, banned terms.
- On violation, returns safe response instead of executing requests.
- User input → Teams Supervisor decides which team to call.
- Domain Supervisor runs: Fetcher → Analyst.
- Analyst output → back to Teams Supervisor.
- Teams Supervisor may call another team or route to FINISH.
- Final combined response returned to user.
uvpackage manager (pipx install uvorpip install uv)- OpenAI API key
- Dynatrace environment URL and platform token
-
Initialize project
uv init -
Install Guardrails
scripts\install_guardrails.bat -
Create
.envin repo root and fill values Create a file named.envat the repository root with:env
OPENAI_API_KEY=sk-...DT_ENVIRONMENT=https://<env>.apps.dynatrace.com DT_PLATFORM_TOKEN=dtp_... DT_ACCOUNT_PW=TRACELOOP_BASE_URL=https://<tenant>.live.dynatrace.com/api/v2/otlp TRACELOOP_HEADERS=Authorization=Api-Token <YOUR_TOKEN> OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=deltaLANGSMITH_TRACING= LANGSMITH_ENDPOINT= LANGSMITH_API_KEY= LANGSMITH_PROJECT=GUARDRAILS_API_KEY= -
Start Gradio showcase
scripts\start_gradio_showcase.batOpen the printed local URL, default http://127.0.0.1:7860.
scripts\start_cli_showcase.bat
- scripts/install_guardrails.bat — install Guardrails and hub deps
- scripts/start_gradio_showcase.bat — launch the Gradio UI
- scripts/start_cli_showcase.bat — launch the CLI
- scripts/start_dynatrace_mcp.bat — helper to run the Dynatrace MCP server
