Skip to main content

AgentRuntimeResolver

Trait AgentRuntimeResolver 

Source
pub trait AgentRuntimeResolver:
    Send
    + Sync
    + 'static {
    // Required method
    fn resolve(&self, agent_name: &str) -> Result<ResolvedAgent, String>;
}
Expand description

Resolves an agent name to its definition and configured runtime.

The resolver is the composition boundary for agent definitions, model clients, tool registries, and authorization policies. Its implementation belongs in the application/bootstrap layer, not in the HTTP transport.

Required Methods§

Source

fn resolve(&self, agent_name: &str) -> Result<ResolvedAgent, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§