pub type AfterAgentCallback = Arc<dyn Fn(Arc<dyn InvocationContext>, Event) -> Pin<Box<dyn Future<Output = Result<()>> + Send>> + Send + Sync>;
pub struct AfterAgentCallback { /* private fields */ }