Although, af-gen tool actually generates mostly completed servers, code generated is written on top of this library.
You'll have to use this library to develop server side components.
It is posible to build up an Af-Arch server using this library directly. But, if you are planning to develop a server component in a more productive way, it is recomended to start using af-gen tool.
LibAfGs API documentation: