pub trait AgentPoolProvider:
Send
+ Sync
+ Debug {
// Required methods
fn list_agents(&self) -> Vec<AgentInfo>;
fn get_agent(&self, id: &str) -> Option<AgentInfo>;
}Expand description
Unstable (feature: agent-hub) — may change or be removed
Agent-pool source for Hub display + todo sub-agent matching.
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".