Overview
The Agent Discovery service automatically registers and tracks agents as they send telemetry to the platform. No manual configuration required - agents are discovered from run data and enriched with real-time metrics.Automatic registration
When an agent sends its first run via the ingest endpoint, the platform automatically:- Creates an agent record with
agent_idfrom the run - Tracks first seen and last seen timestamps
- Begins calculating metrics (runs, actions, costs, success rates)
- Monitors intervention and approval rates
Agent endpoints
List agents
agent_id(optional): Filter by agent ID (partial match)sort_by(optional): Sort field -last_seen,first_seen,total_runs,total_cost,intervention_ratesort_order(optional):ascordesc(default:desc)
Get agent details
Get agent statistics
Update agent metadata
Only
display_name and description can be updated. All other fields are automatically calculated from run data.Calculated metrics
The platform automatically calculates:Activity metrics
- Total runs: Count of all runs
- Total actions: Count of all actions across runs
- Total cost: Sum of costs (USD)
- Success rate: Percentage of successful actions
- Average cost per run: Mean cost per run
- Average actions per run: Mean actions per run
Intervention metrics
- Intervention rate: Percentage of actions that triggered interventions
- Interventions count: Total number of interventions
- High-risk blocks: Count of critical/high-risk interventions prevented
Approval metrics
- Total approvals: Count of approval requests
- Pending approvals: Currently pending approval requests
- Approval rate: Percentage of approvals granted
- Average decision time: Mean time to approve/reject (seconds)
Recent activity
- Last 24 hours: Runs, actions, cost
- Last 7 days: Runs, actions, cost
- Last 30 days: Runs, actions, cost
Temporal data
- Days active: Count of unique days with activity
- First seen: Timestamp of first run
- Last seen: Timestamp of most recent run
Filtering agents in the UI
In the web console, navigate to Agents page to:- View all discovered agents
- Sort by activity, cost, or intervention rate
- Click an agent to see detailed statistics
- Edit display name and description
- View recent runs for an agent
- Link to agent’s actions in Activity Ledger
Agent scoping
Agents are scoped to organizations - each organization sees only their agents. Use the agent discovery system to:- Monitor agent performance across your fleet
- Identify high-cost agents
- Track agents with high intervention rates (indicating policy issues)
- Analyze approval patterns by agent
Best practices
See also
- Runs - View runs by agent
- Activity Ledger - Filter actions by agent_id
- Interventions - Track policy enforcement by agent
- Approvals - View approval requests by agent
