Add an initial implementation of the agent.