dt-copilot-agents
v1.1.0
Published
Cross-platform AI agents for generating Dynatrace demo dashboards. Supports VS Code Copilot, Claude Code, Cursor, Windsurf, M365 Copilot, and OpenAI GPTs.
Maintainers
Readme
Dynatrace Copilot Agents
Cross-platform AI agents for Dynatrace demo workflows. Works on VS Code Copilot, Claude Code, Cursor, Windsurf, and OpenAI GPTs.
What's Included
Dashboard Generator
Generates and deploys realistic persona-specific dashboards with synthetic data for customer meetings — in under 5 minutes.
Supported Personas: | Executive | Technical / Operations | |---|---| | CEO — Business Impact | SRE — Reliability & SLOs | | CIO — IT Strategy (default) | IT Head — Infrastructure | | CTO — Technology & Innovation | Application Ops — APM | | CISO — Security & Compliance | MLOps — AI/Model Operations | | | Platform Engineering — Developer Experience | | | VP Engineering — Delivery & Quality |
Features:
- Researches the company/business automatically via web
- Generates 20-tile dashboards with inline DQL
data record()queries (zero ingestion needed) - Supports 5 industry archetypes: E-Commerce, Manufacturing, SaaS, Financial Services, Retail
- Auto-installs
dtctlCLI if missing (Homebrew, curl, or PowerShell one-liner) - Authenticates via browser SSO (
dtctl auth login) — no tokens to copy-paste - Deploys directly to Dynatrace tenant via DTCTL CLI
- Optionally verifies DQL queries via Dynatrace MCP server
- Uses real company data (plant names, brands, products, regions)
Platform Support
| Platform | Format | Deployment | Auto-deploy via DTCTL |
|---|---|---|---|
| VS Code Copilot | .agent.md + skill | .\install.ps1 -Platform vscode | Yes |
| Claude Code | CLAUDE.md + .claude/commands/ | Copy to project root | Yes |
| Cursor | .cursor/rules/*.mdc | Copy to project root | Yes |
| Windsurf | .windsurfrules | Copy to project root | Yes |
| M365 Copilot | Declarative Agent + instruction.md | Teams Toolkit deploy | Via Power Automate |
| OpenAI GPT | System prompt + knowledge file | Create Custom GPT | No (manual deploy) |
Auto-setup: The agent automatically installs
dtctland authenticates via browser SSO if not already set up — no manual prerequisite steps needed.
Installation
Quick Install via npm (Any Platform)
# Install to all platforms at once
npx dt-copilot-agents install
# Or target a specific platform
npx dt-copilot-agents install vscode
npx dt-copilot-agents install claude-code ./my-project
npx dt-copilot-agents install cursor .
# See supported personas and archetypes
npx dt-copilot-agents infoUpdating to Latest Version
# Update agent files in-place (re-run with @latest)
npx dt-copilot-agents@latest install claude-code .
npx dt-copilot-agents@latest install vscode
npx dt-copilot-agents@latest install cursor .After updating, tell your agent to re-read the instructions and continue where it left off.
All Platforms (Windows PowerShell)
git clone https://github.com/pushpendrasinghbaghel-ai/dt-copilot-agents.git
cd dt-copilot-agents
.\install.ps1 # All platforms
.\install.ps1 -Platform vscode # VS Code only
.\install.ps1 -Platform claude-code # Claude Code onlyVS Code Copilot
.\install.ps1 -Platform vscode
# Restart VS Code → select "Dashboard Generator" from @ agent picker
# Then: "SRE dashboard for Tata Steel" or "CISO dashboard for HDFC Bank"Claude Code
# Copy to your project directory:
cp claude-code/CLAUDE.md <project>/CLAUDE.md
cp -r claude-code/.claude <project>/.claude
cp -r knowledge <project>/knowledge
# Then: /dashboard SRE dashboard for Tata SteelCursor
cp -r cursor/.cursor <project>/.cursor
cp -r knowledge <project>/knowledge
# Then ask: "Create a dashboard for Tata Steel manufacturing"Windsurf
cp windsurf/.windsurfrules <project>/.windsurfrules
cp -r knowledge <project>/knowledgeOpenAI Custom GPT
- Go to ChatGPT → Explore GPTs → Create
- Paste
openai/system-prompt.txtinto Instructions - Upload
knowledge/dashboard-generator.mdas Knowledge - Enable Web Browsing + Code Interpreter
- See
openai/README.mdfor detailed setup
Microsoft 365 Copilot
See m365-copilot/README.md for three integration options:
- Declarative Agent (recommended) — deploy via Teams Toolkit, use
@Dashboard Generatorin Teams - Copilot Studio — no-code, upload knowledge + instructions
- SharePoint + Copilot Chat — simplest, just upload the knowledge file
Note: M365 Copilot cannot run dtctl directly. Use Power Automate for auto-deployment, or deploy manually.
Architecture
dt-copilot-agents/
├── knowledge/ # Shared knowledge (platform-agnostic)
│ └── dashboard-generator.md # Complete procedure, DQL rules, layout grid
│
├── agents/ # VS Code Copilot
│ └── dashboard-generator.agent.md
├── skills/ # VS Code Copilot skill
│ └── dt-demo-dashboard/
│ ├── SKILL.md
│ └── assets/
│
├── claude-code/ # Claude Code
│ ├── CLAUDE.md
│ └── .claude/commands/dashboard.md
│
├── cursor/ # Cursor
│ └── .cursor/rules/dashboard-generator.mdc
│
├── windsurf/ # Windsurf
│ └── .windsurfrules
│
├── m365-copilot/ # Microsoft 365 Copilot
│ ├── declarativeAgent.json
│ ├── instruction.md
│ └── README.md
│
├── openai/ # OpenAI / ChatGPT
│ ├── system-prompt.txt
│ └── README.md
│
├── install.ps1 # Cross-platform installer
└── README.mdHow It Works
All platforms share the same knowledge base (knowledge/dashboard-generator.md). Each platform gets a thin wrapper in its native format that references this shared knowledge. When you update the knowledge, all platforms benefit.
Prerequisites
- Web access (for company research)
- Platform-specific: VS Code + Copilot extension, Claude Code CLI, Cursor IDE, or Windsurf IDE
Configuration
Step 1: Install DTCTL CLI
macOS/Linux (Homebrew):
brew install dynatrace-oss/tap/dtctlmacOS/Linux (shell script):
curl -fsSL https://raw.githubusercontent.com/dynatrace-oss/dtctl/main/install.sh | shWindows (PowerShell):
irm https://raw.githubusercontent.com/dynatrace-oss/dtctl/main/install.ps1 | iexVerify: dtctl version
Step 2: Authenticate DTCTL (browser login — recommended)
# Opens your browser for Dynatrace SSO — no tokens to copy-paste
dtctl auth login
# Or for a specific context
dtctl auth login --context <your-context-name>Alternative (CI/automation): dtctl auth login --token <API_TOKEN>
The agent uses your current DTCTL context by default. Switch contexts with:
dtctl config use-context <your-context-name>Step 3: Connect Dynatrace MCP Server (optional — for DQL verification)
MCP enables the agent to verify DQL queries against your live tenant. It's optional — deployment works without it.
VS Code — One-click from MCP Gallery:
- Command Palette → MCP: Add Server → search "Dynatrace" → install
- Enter your tenant URL when prompted — authenticates via browser SSO
VS Code / Claude Code / Cursor — Remote MCP with token:
URL: https://<YOUR_TENANT>.apps.dynatrace.com/platform-reserved/mcp-gateway/v0.1/servers/dynatrace-mcp/mcp
Auth: Bearer <YOUR_PLATFORM_TOKEN>Generate a platform token at: https://<YOUR_TENANT>.apps.dynatrace.com/ui/apps/dynatrace.classic.tokens
See knowledge/dashboard-generator.md → Authentication section for platform-specific config snippets (VS Code mcp.json, Claude Code .mcp.json, Cursor .cursor/mcp.json).
License
MIT — see LICENSE.
