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

Class AgentRegistry

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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected