⚡ Agent Pulse
Real-time agent tracking dashboard for the GitHub Copilot CLI
🌐 Learn more on the website →
🚀 Install & Launch
Homebrew (recommended on macOS):
brew tap DUBSOpenHub/copilot-cli-agent-pulse
brew install agent-pulse
Quick installer (any platform):
curl -fsSL https://raw.githubusercontent.com/DUBSOpenHub/copilot-cli-agent-pulse/main/quickstart.sh | bash
Then just type agentpulse — the dashboard opens in a new window of your current
terminal emulator (auto-detects Ghostty, iTerm, Kitty, WezTerm, Alacritty, Warp,
Terminal.app, and tmux).
Use agentpulse --here to run it in the current terminal instead (handy over SSH
or inside a tmux pane).
🌟 Overview
Agent Pulse is a real-time terminal dashboard that monitors your GitHub Copilot CLI sessions, agents, and activity. Built with Python, Textual, and Rich, it gives you full observability into your AI-powered development workflow.
✨ Features
| Feature |
Description |
| 🖥️ Live Session Tracking |
Real-time monitoring of active Copilot CLI terminal sessions |
| ◉ Live Runs Anywhere |
Unified inventory of active processes, tmux panes, Copilot event-stream agents, and Stampede/metaswarm runs |
| 🐝 Swarm Sub-agent Tracking |
Counts sub-agents inside each Stampede/metaswarm commander from child-agents.jsonl, split by division commanders, commanders, squad leads, sub-agents, reviewers, and other |
| 🤖 Agent Monitoring |
Track 15+ agent types: task, explore, general-purpose, rubber-duck, code-review, and custom agents |
| 📊 14-Day Trend Analysis |
Sparklines, daily breakdowns, gradient bar charts, and trend arrows |
| 🔥 24h Activity Heatmap |
Hourly session density visualization with ░▒▓█ blocks |
| 🚀 Agent Velocity |
Agents-per-hour metric with peak concurrent tracking |
| 📱 Responsive Layout |
3-tier adaptive UI: full → compact → micro dashboard |
| ⚡ Real-time Updates |
Configurable refresh rate with pulse wave animation |
| 💾 Persistent History |
Daily stats saved to ~/.copilot/agent-pulse/ |
| 🔒 DB Lock Resilience |
Graceful handling when the session store is busy |
| 🎨 Polished Aesthetic |
Clean color palette with gradient effects and heartbeat animations |
🚀 Quick Start
# Clone the repo
git clone https://github.com/DUBSOpenHub/copilot-cli-agent-pulse.git
cd copilot-cli-agent-pulse
# Create a virtual environment and install dependencies
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
# Launch the dashboard
agentpulse
That's it. The dashboard auto-detects your Copilot CLI sessions and starts monitoring.
Shell Commands
Add these aliases to your ~/.zshrc or ~/.bashrc (fish users: ~/.config/fish/config.fish):
alias agentpulse='~/copilot-cli-agent-pulse/start.sh'
alias agentdashboard='~/copilot-cli-agent-pulse/start.sh'
alias agentpulse-here='~/copilot-cli-agent-pulse/start.sh --here'
Then just type agentpulse or agentdashboard from anywhere — the live dashboard automatically opens in a new terminal window so it never blocks your current session. The launcher auto-detects Ghostty, iTerm, Kitty, WezTerm, Alacritty, Warp, Terminal.app, tmux, gnome-terminal, and xterm.
Use agentpulse --here (or the agentpulse-here alias) to run the dashboard in the current terminal instead — ideal for SSH sessions or tmux panes.
🎮 Modes
| Mode |
Command |
Description |
| Live |
python agent_pulse.py |
Launch the live Textual dashboard (default) |
| Export |
python agent_pulse.py --export |
JSON export to stdout |
| No Splash |
python agent_pulse.py --no-splash |
Skip boot animation |
Launcher Options
| Flag |
Description |
--here |
Run in the current terminal (one-off; doesn't change your saved preference) |
--new-window |
Open a new window (one-off; doesn't change your saved preference) |
--reconfigure |
Forget the saved launch-mode preference and ask again on next run |
💡 First run: Agent Pulse asks whether you prefer a new window or in-place, then remembers your choice in ~/.config/agent-pulse/launcher.conf. Explicit flags always override the saved preference.
Dashboard Options
--export, -e Export JSON to stdout
--no-splash Skip boot animation
--version, -v Show version number
🏗️ Architecture
┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ Process Scanner │ │ Session Store │ │ Event Parser │
│ (ps aux) │────▶│ (SQLite DB) │────▶│ (events.jsonl) │
└──────────────────┘ └──────────────────┘ └──────────────────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────────────────────────┐
│ collect_all_stats() │
│ Merges: procs, sessions, DB stats, agents, skills, history │
└─────────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────────┐
│ Adaptive Layout Engine │
│ Full (≥100w, ≥40h) → Compact (≥80w) → Micro (<80w or <24h) │
└─────────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────────────┐
│ Textual App (TUI) │
│ Banner │ Metrics │ Sessions │ Agents │ Health │ Models │
└─────────────────────────────────────────────────────────────────────┘
Data Sources
| Source |
Path |
What It Provides |
| Process table |
ps aux |
Active Copilot CLI processes (PID, CPU, MEM) |
| Session store |
~/.copilot/session-store.db |
Total/daily/weekly/monthly session counts, turn counts |
| Session state |
~/.copilot/session-state/ |
Active sessions, lock files, event streams |
| tmux panes |
tmux list-panes -a |
Visible pane-backed agent runs, including Stampede commanders |
| Stampede runs |
.stampede/run-*/ under common work roots |
Commander PIDs, swarm-state.json, and full child-agents.jsonl nested swarm telemetry |
| Agent registry |
~/.copilot/agents/ |
Installed agent definitions |
| History cache |
~/.copilot/agent-pulse/history.json |
Persistent daily statistics |
📊 Dashboard Panels
Banner
- ASCII art title with animated pulse wave (
▁▂▃▄▅▆▇█▇▆▅▄▃▂)
- Heartbeat animation, uptime counter, live clock
- Dynamic border: green when active, cyan when idle
Trend Analysis
- First dashboard box with 7-day daily breakdowns, 14-day sparklines, trend arrows, and session/agent counts
Live Metrics
- Second dashboard box with active sessions, total live agents, live sub-agents, hierarchy counts, 5-minute launches, velocity, and today's launch total
- Separate level counts for division commanders, commanders, squad leads, sub-agents, reviewers, and other
Fleet Health + Heatmap
- Fleet Health and Heatmap + Signal sit directly under the top row as boxes three and four
- On wide terminals they render side by side; on narrow terminals they stack
Launch Breakdown + Active Sessions
- Launch Event Breakdown and Active Sessions render side by side on wide terminals, then stack on narrow terminals
Model Distribution + Live Runs
- Model Distribution and Live Runs render side by side on wide terminals, then stack on narrow terminals
Recent Launches
- Recent Launches sits below the analysis row so new agents are still easy to spot
Agent Breakdown
- Stacked distribution bar by agent type
- Colored badges for 15+ agent types
- Gradient share bars per type
- Skill invocation tracking
Active Sessions
- Live table of running Copilot CLI sessions
- Session ID, PID, agent type, status, and runtime
Live Runs Anywhere
- Unified live inventory of process-backed agents, tmux panes, in-flight Copilot event agents, and Stampede/metaswarm ledgers
- Shows run/agent name, source, status, model, age, and nested child counts
- Tracks sub-agents within swarms by scanning full
child-agents.jsonl ledgers per commander, then rendering per-commander sub-agent totals plus recent sub-agent rows
- Splits live swarm levels into division commanders, commanders, squad leads, sub-agents, reviewers, and other so forced-count swarms can be checked from the dashboard
- Set
AGENT_PULSE_SCAN_ROOTS=/path/one:/path/two to include additional work roots for .stampede discovery
Installed Agents
- Auto-discovered agent registry from
~/.copilot/agents/
- Icon, name, and description for each agent
Fleet Health
- Health score gauge (0–100) with status label (Excellent / Good / Warning / Critical)
- 24h success rate and error count
- Pulsing monitor indicator
Model Distribution
- 24h breakdown of AI models used across agent launches
- Per-model count, percentage, and gradient bar
📁 Project Structure
copilot-cli-agent-pulse/
├── agent_pulse.py # Main dashboard application
├── agent_pulse.tcss # Textual CSS stylesheet
├── pyproject.toml # Python packaging + entry point
├── requirements.txt # Python dependencies (rich, textual)
├── start.sh # Launcher (auto-detects terminal emulator; --here for in-place)
├── quickstart.sh # One-command installer
├── site/ # Showcase website (GitHub Pages)
│ └── index.html
├── assets/ # Screenshots and images
├── experimental/
│ └── ink/ # React/Ink TUI (experimental)
│ ├── src/
│ └── package.json
├── .github/
│ ├── copilot-instructions.md
│ └── workflows/
│ ├── ci.yml
│ └── pages.yml
├── AGENTS.md
├── CONTRIBUTING.md
├── LICENSE
├── README.md
└── SECURITY.md
💻 Platform Support
| Platform |
Status |
| macOS |
✅ Fully supported and tested |
| Linux |
⚠️ Should work (untested) |
| Windows |
❌ Not supported (ps aux, SIGWINCH) |
Requirements: Python 3.10+ and an active GitHub Copilot CLI installation.
🧪 Experimental: React/Ink Implementation
An alternative dashboard implementation using React and Ink lives in experimental/ink/. This is a separate TUI with its own component architecture.
cd experimental/ink
npm install
npm start
Note: The Python implementation is the primary, production-ready version. The Ink version is experimental.
🤝 Contributing
See CONTRIBUTING.md for guidelines.
🔒 Security
See SECURITY.md for our security policy.
📄 License
MIT — built with ❤️ for the GitHub Copilot CLI community.
Built with ❤️ for the GitHub Copilot CLI community by @DUBSOpenHub.