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

Class AgentDefinition

atomic-agent/src/integrations/manifest.rs:157–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155/// A bundled custom agent definition, stitched at install time.
156#[derive(Debug, Clone, Deserialize)]
157pub struct AgentDefinition {
158 /// Frontmatter template file, relative to the plugin package root (e.g.
159 /// `"agents/atomic.md.frontmatter"`). Contains the YAML frontmatter block
160 /// and any vendor-specific preamble.
161 pub src: String,
162 /// Reference to the canonical body, in the form
163 /// `"atomic-skills:AGENTS.md"` (package-name-relative path). The
164 /// installer reads this from the skills cache.
165 pub body_from: String,
166 /// Destination in the vendor's agent slot (`~` expands to home).
167 pub slot: String,
168}
169
170impl IntegrationManifest {
171 /// Load and validate the manifest from a package directory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected