prepareAgent

Creates a DRAFT version of the agent that can be used for internal testing.