i recently developed some programs that involved integrating ns2 with a multiagent simulator. some of the multiagent simulator is also re-implemented inside of the program.
the simulator is for a very specific scenario, but the tehniques used to expose ns2, communicate agent message traffic with it, could be useful. here is the page desribing it. there is a download link within that page. (the download is a little large, because we aimed to have it mostly ready to run. it includes the integrating program, simulator, and a customized ns2.) also, a warning that the integration is written mostly in scheme (sisc/java), with some pieces implemented in ns2's tcl. http://cdfrbrk.pbworks.com/ns2-simulator-bridge-howto i might not end up reading any responses to this thread on the list, unless you email me directly -kanishka