MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / AgentRegistry

Class AgentRegistry

atomic-agent/src/hooks/mod.rs:293–295  ·  view source on GitHub ↗

Registry of available agent hook adapters. The registry holds all known agent adapters and provides lookup by name, listing, and auto-detection of which agents are present in a repository. # Thread Safety The registry is immutable after construction. Agent adapters are stored as `Box ` which requires `Send + Sync`. # Example ```rust use atomic_agent::hooks::AgentRegistry; let r

Source from the content-addressed store, hash-verified

291/// }
292/// ```
293pub struct AgentRegistry {
294 agents: Vec<Box<dyn AgentHook>>,
295}
296
297impl AgentRegistry {
298 /// Create an empty registry.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected