pub fn parse_agent_topic(topic: &str) -> Option<(&str, &str)>
Extract (agent_id, event) from an agents/{id}/{event} topic.
(agent_id, event)
agents/{id}/{event}
Returns None if the topic does not match the expected pattern.
None