Add documentation for class Agent and AgentDelegate.