pub trait AgentPoolProvider:
Send
+ Sync
+ Debug {
// Required methods
fn list_agents(&self) -> Vec<AgentInfo>;
fn get_agent(&self, id: &str) -> Option<AgentInfo>;
}Expand description
Agent pool access capability. Implemented by the composition root to expose live sub-agent info to the Hub overlay and todo matching.
Required Methods§
Sourcefn list_agents(&self) -> Vec<AgentInfo>
fn list_agents(&self) -> Vec<AgentInfo>
List all known agents (main + sub-agents).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".