Genkit Plugin This library provides a Genkit flow API yourFlow(ai) Creates a new flow. ai: Your Genkit AI instance. Returns a Genkit flow that you can use to interact with your plugin.