pub async fn delete_agent(
persistence: &dyn PersistenceLayer,
id: &str,
) -> Result<(), AgentStoreError>Expand description
Delete an agent by id, refusing to remove built-in agents.
ยงErrors
Returns AgentStoreError::Protected for built-in agents, or a backend error
if the delete fails.