Implements Peacock Agent