agent: Add wrapper class for Agents.