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

Class AgentRegistry

atomic-agent/src/hooks/mod.rs:264–266  ·  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

262/// }
263/// ```
264pub struct AgentRegistry {
265 agents: Vec<Box<dyn AgentHook>>,
266}
267
268impl AgentRegistry {
269 /// Create an empty registry.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected