A nodal approach to modeling collaborative agents