Skip to main content

scan_agents

Function scan_agents 

Source
pub fn scan_agents() -> Result<Vec<AgentProcess>>
Expand description

Scan the system for AI coding agents

Returns a vector of detected agent processes, sorted by CPU usage (descending).

ยงErrors

Currently infallible, but returns Result for API stability and future extensibility (e.g., permission errors, sandboxing restrictions).