liboqs includes two example programs that perform key encapsulation and decapsulation using the ML-KEM post-quantum KEM and signing and verifying using the ML-DSA post-quantum signature scheme. Copies of the examples can be found here: