You can download Agnix's sources from download section or from some Sourceforge mirror
Unpacking sources
Write the following commands to untar Agnix's sources in /usr/src directory:
$ cp agnix-0.0.4-src.tgz /usr/src $ cd /usr/src $ tar zxvf agnix-0.0.4-src.tgz $ cd agnix-0.0.4-src
Compilation
Write the following command to compile Agnix:
$ make bzImage
Running Agnix
In emulators directory you can find bochs and qemu subdirectories. Go to directory qemu or bochs and simply write ./boot.sh command to run Agnix kernel