Skip to main content

validate_agent

Function validate_agent 

Source
pub fn validate_agent(agent: &AgentArtifact) -> Result<(), AgentStoreError>
Expand description

Validate the catalog invariants shared by every agent write path.

ยงErrors

Returns AgentStoreError::Invalid when the artifact cannot be admitted to the runtime catalog.