You're right when it comes to the actual definition of client and server. I just meant that when it came to initiating communications, if you have agi studio always waiting for programs to communicate to, you just need the client to say hello. once you have a proper link, they can decide who they want to be.
um.. I hope that makes sense.

the utility, when it talks to agi studio, it could say,
(data generator sending multiple files)
"hello. I'm a data generator. waiting for user input.. please wait"
studio: "ok. I was expecting you to call"
10 minutes later
"I've written this logic text.. I would like it to be logic 10 in the currently opened game. I also have other logics 3 and 4"
<file 1 DATA>
<file 2 DATA>
<file 3 DATA>
studio: "ok, saving it.. done. you can quit."
(or with NAGI. game doesn't start until studio says so)
"hello. I'm an interpreter. waiting for commands"
studio: "I'd like breakpoints here. "
studio: "start your game"
<game plays>
"reached breakpoint. game paused"
studio: "user has looked at it.. changed code."
studio: "restart game"
(or with something else)
"hello. I'm a data generator."
studio: "sorry. I'm looking for a debug interpreter"
"oh.. sorry"
that way you'd have some sort of check to make sure that you have the right kind of client running. You would have to define certain kind of apps like generator, and debug interpreter.
one problem would be if agi studio quit or swapped games WHILE the helper utility is still running. You would need some other communications telling the status of agi studio and confirming it with the utils.
one solution is for agi studio to go into some sort of "waiting for client app to finish" but what if something goes wrong? you'd need to cancel and a way to let the client app know that it's running out of context (if it's still running later on)
with files not being openable in agi studio when the interpreter is running. I think it may have something to do with agi studio opening files to write them. perhaps if it just opened files as readonly it wouldn't conflict with nagi. only when it needs to write would it have to close and reopen them.
- Nick
PS.. I think I rambled a bit.