Experimental middleware interface with transformParams, wrapGenerate, and wrapStream hooks for intercepting and modifying language model calls.