Hi,
didn't mean to be rude in my first answer.
If it's "only" the keyboard that doesn't work: I remember having massive keyboard problems with Win98. The solution was to start the game in pure DOS mode.
What system are you trying to run AGI on?
b.o.k.