An Interaction-Oriented Agent Framework for Open Environments