build

Builds the AgentInterface, validating required fields.