Your kernel will likely have well defined interfaces. You don't need libraries to talk to the kernel.
Fundamentally, an ABI is the way you define interfaces.
This will not work on Windows, where the kernel API is a DLL and syscall numbes are routinely changed.