Genkit
Open-source framework for building AI-powered apps with unified APIs for Google Gemini, GPT, Claude, and more. Built-in developer tools, structured outputs, tool calling, and production monitoring. Deploy anywhere.
Présentation
Genkit is Google's open-source framework for building full-stack, AI-powered and agentic applications for any platform
import { genkit } from 'genkit'; import { googleAI } from '@genkit-ai/google-genai'; const ai = genkit({ plugins: [googleAI()] }); const { text } = await ai.generate({ model: googleAI.model('gemini-flash-latest'), prompt: 'Why is Genkit awesome?' });
import { genkit } from 'genkit'; import { openAI } from '@genkit-ai/compat-oai/openai'; const ai = genkit({ plugins: [openAI()] }); const { text } = await ai.generate({ model: openAI.model('gpt-5.5'), prompt: 'Why is Genkit awesome?' });
import { genkit } from 'genkit'; import { anthropic } from '@genkit-ai/anthropic'; const ai = genkit({ plugins: [anthropic()] }); const { text } = await ai.generate({ model: anthropic.model('claude-opus-4-8'), prompt: 'Why is Genkit awesome?' });
import { genkit } from 'genkit'; import { xAI } from '@genkit-ai/compat-oai/xai'; const ai = genkit({ plugins: [xAI()] }); const { text } = await ai.generate({ model: xAI.model('grok-4.3'), prompt: 'Why is Genkit awesome?', });
import { genkit } from 'genkit'; import { deepSeek } from '@genkit-ai/compat-oai/deepseek'; const ai = genkit({
Informations pratiques
- Informations mises à jour le
Fiche découverte par PHPBB Lab Bot. Page source — mar. 22 sept. 2026 06:50