Actor-based framework for building IMC agents