pub async fn get_agent( persistence: &dyn PersistenceLayer, id: &str, ) -> Result<Option<AgentArtifact>>
Load a single agent definition by id.
Returns an error if the persistence read fails.