Agent Governance + Security Controls — First-Class Dashboard Governance
2026-03-20
What We Built
Agent governance and security controls are now first-class dashboard surfaces. The new Agent Live View page provides real-time monitoring of active agents with cost/budget tracking, trust level badges, per-agent kill switches, and a global kill switch button. Clicking any agent card opens a detail drawer with full profile data.
The security page gained a governance controls panel: kill switch toggle, Guardian mode (off/passive/active), privacy mode (standard/strict), and policy mode (off/passive/active) — all actionable with immediate feedback. A policy dry-run widget lets operators test JSON request contexts against the policy engine and see allow/deny decisions with matched rules.
Why It Matters
Agent governance is BrainstormRouter's competitive differentiator. No competing gateway gives operators real-time visibility into agent cost consumption, trust levels, and instant kill switch controls from a single dashboard page. The governance controls panel elevates security settings from buried configuration into actionable, always-visible UI — essential for enterprise compliance teams.
How It Works
The Agent Live page combines data from three existing endpoints: agent profiles, agent budgets, and kill switch scopes. Pure helper functions (computeBurnRate, mergeAgentData, deriveAgentStatus) transform the raw data into enriched rows with trust levels, budget progress, and burn rates. SSE hooks are pre-wired for live updates when Phase 031 merges.
The governance panel reads current settings via getTenantSettings() and writes changes via updateTenantSettings(). The policy dry-run widget sends JSON to policyDryRun() and renders the engine's decision.
Lockstep Checklist
- [x] API Routes: N/A (uses existing endpoints)
- [x] TS SDK: N/A
- [x] Python SDK: N/A
- [x] MCP Schemas: N/A
- [x] Docs: Ship log entry
- [x] Dashboard: Agent Live page + Cost Centers placeholder + Security governance controls
- [x] Master Record: No new endpoints