pub fn get_agent(&self, id: &AgentId) -> Result<&Agent> {
        self.agents
            .iter()
            .find(|a| a.id == *id)
            .ok_or(Error::AgentUndefined(id.clone()))
    }
Returns the agent with the given id or an error if it doesn't exist
crates/forge_domain/src/conversation.rs