We describe an integrated belief-desire-intention (BDI) architecture that is capable of acting in service of inference and vice versa. The results are achieved by identifying the relationship between inference and acting, and making certain architectural and ontological commitments. A single module called a rational engine operates on a uniform representation of beliefs, acts, plans, and reason...