merlin-framework API