Create agent-class