genkit
1.44.0 · 3 Nov 2026Apache-2.0269.9k / weekRepositoryHomepagenpmAtom feed
94 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
1.44.0
3 Nov 2026- Breaking
Google GenAI, Interactions API usage: per-modality token counts moved from
inputCharacters,inputImages,outputAudioFiles, etc. tousage.custom.*Tokens(e.g.inputTextTokens). Those old fields held token counts by mistake. See #6963 for the full mapping. Added the Gemini Deep Research agent (
deep-research-preview-04-2026) to thevertexAIplugin as a background model.const { operation } = await ai.generate({ model: vertexAI.model('deep-research-preview-04-2026'), prompt: 'Compare TCP and UDP in a short markdown table.', });googleAInow sendsstoreongenerateContentrequests when it's set, so you can opt out of the Gemini API's new default request logging for paid projects.
Features
Google GenAI
Added the Gemini Deep Research agent (
deep-research-preview-04-2026) to thevertexAIplugin as a background model.const { operation } = await ai.generate({ model: vertexAI.model('deep-research-preview-04-2026'), prompt: 'Compare TCP and UDP in a short markdown table.', });googleAInow sendsstoreongenerateContentrequests when it's set, so you can opt out of the Gemini API's new default request logging for paid projects.Interactions API models now accept Word, Excel and other document types instead of only PDF and CSV.
gemini-nano-banana-*models ongoogleAIare now treated as image models and acceptimageConfig.generateContentmodels now report tool-use tokens asusage.custom.toolUseTokens.
Bug Fixes
Google GenAI
On Interactions API models, a request-level
storenow overrides the plugin-levelstoreoption.Server-side tool steps (URL context, file search, Google Maps, MCP) are now kept in multi-turn history on Interactions API models.
vertexAIstateless multi-turn conversations that used Google Search no longer fail with a 501.Output settings are now sent as
response_format, which also fixes JSON output losing its schema when combined withaudioFormatorvideoFormat.responseMimeType: 'application/json'and JSON output without a schema now work on Interactions API models.Removed the shut-down Veo models from
googleAI.veo-*names now fail with a clear error pointing togemini-omni-1.1-flash. Veo is still available onvertexAI.
Breaking Changes
- Breaking
Google GenAI, Interactions API usage: per-modality token counts moved from
inputCharacters,inputImages,outputAudioFiles, etc. tousage.custom.*Tokens(e.g.inputTextTokens). Those old fields held token counts by mistake. See #6963 for the full mapping.
Full Changelog: genkit@1.43.0...genkit@1.44.0
1.43.0
21 Oct 2026throwOnError: falseongenerate()returns the failure and the conversation up to the last completed tool round, so you can retry from there. Code that doesn't set it still gets the same errors as before.const opts = { model: googleAI.model('gemini-flash-latest'), tools: [getWeather], throwOnError: false }; let res = await ai.generate({ ...opts, prompt: 'What should I wear in Tokyo today?' }); if (res.finishReason === 'failed' || res.finishReason === 'aborted') { res = await ai.generate({ ...opts, messages: res.messages }); }waitForSnapshotis the blocking version ofgetSnapshot. It waits on the server until a detached turn finishes, so you don't need a polling loop.const task = await reportAgent.chat().detach('Write the report'); const snap = await task.wait();
Highlights
Agents that recover from failures, plus background sub-agents
Agent runs can now pick up where they stopped after a failure or an abort, and orchestrators can hand work to sub-agents that run in the background.
throwOnError: falseongenerate()returns the failure and the conversation up to the last completed tool round, so you can retry from there. Code that doesn't set it still gets the same errors as before.const opts = { model: googleAI.model('gemini-flash-latest'), tools: [getWeather], throwOnError: false }; let res = await ai.generate({ ...opts, prompt: 'What should I wear in Tokyo today?' }); if (res.finishReason === 'failed' || res.finishReason === 'aborted') { res = await ai.generate({ ...opts, messages: res.messages }); }Failed and aborted agent turns are now resume points. A failed turn is saved as a
failedsnapshot and a stopped run is saved as anabortedsnapshot. Both can be resumed. (#6361, #6362, #6360)waitForSnapshotis the blocking version ofgetSnapshot. It waits on the server until a detached turn finishes, so you don't need a polling loop.const task = await reportAgent.chat().detach('Write the report'); const snap = await task.wait();Background delegation in the
agentsmiddleware. Withasync: true, delegation tools acceptbackground: trueand return a task ID right away. Newcheck_background_tasks,wait_for_background_tasksandabort_background_taskstools let the orchestrator manage those tasks.use: [agents({ agents: ['researcher'], async: true })]continue_taskcontinues a failed, aborted or finished sub-agent task from its handle, with optional new instructions. Snapshot reads also acceptmetadataOnlyto skip loading the state.Transport-specific options in
AgentAPI. In-process agents accept a per-chat or per-callcontext, so auth carries through detached tasks and background jobs. The building blocks for customAgentTransportimplementations are now exported.const chat = weatherAgent.chat({}, { context: { auth: { uid: 'alice' } } });
New
contextCompressionmiddleware@genkit-ai/middlewarenow includescontextCompression, which keeps long agent conversations within a token budget. It truncates tool responses, removes duplicate tool responses, caps message counts, and can summarize old turns with an LLM. It tracks compaction history so later rounds build on earlier ones. (#6266, #6267, #6269, #6270)use: [ contextCompression({ maxInputTokens: 80000, deduplicateToolResponses: { matchBy: 'name-and-input' }, toolResponses: { maxChars: 2000, preserveRecent: 2 }, summarize: { model: googleAI.model('gemini-flash-lite-latest'), preserveRecent: 6 }, }), ]Gemini: Interactions API, Gemini 4 Argon, Omni and more
The
googleAIplugin now sends requests for-latestaliases, newer Gemini models and any model it doesn't know to the Interactions API. Older built-in models stay ongenerateContent.The
vertexAIplugin routes the same way, with one difference: image models and the-latestaliases stay ongenerateContent.New models:
gemini-4-argon,gemini-3.8-flash,gemini-3.8-flash-tts,gemini-3.8-flash-lite-tts,gemini-nano-banana-2.1,gemini-omni-1.1-flash(replaces Veo 3.1),lyria-3.5andantigravity-preview-09-2026. Gemini 2.5 and the retiring preview models are now hidden: they still work but no longer show up in autocomplete.vertexAIgets the same model updates, plus text-to-speech, Omni video generation and thegemini-embedding-2embedder.
Breaking for models on the Interactions API:
response.raw/customnow has a different shape.safetySettings,toolConfig,thinkingBudgetandcandidates > 1are dropped or rejected, and system messages must be text-only. See the #6344 description for the full list.Pluggable instrumentation and the new
@genkit-ai/otelpluginTelemetry is now built on pluggable
Instrumentationproviders instead of being tied to OpenTelemetry. By default nothing changes. The Developer UI no longer needs the OTel SDK, and logs now show up next to traces. (#6336)The new
@genkit-ai/otelpackage (0.2.0) emits spans that follow the OpenTelemetry GenAI semantic conventions. (#6340)import { configureInstrumentation } from 'genkit/tracing'; import { GenAiInstrumentation } from '@genkit-ai/otel'; new NodeSDK().start(); configureInstrumentation(new GenAiInstrumentation({ contentCapturingMode: 'SPAN_ONLY', emitToolSpans: true }));Reflection API outside dev mode, with optional auth
The reflection API can now run without the rest of dev mode, and you can protect it with a shared secret. (#6454, #6666)
GENKIT_REFLECTION_ENABLED=true \ GENKIT_REFLECTION_HOST=0.0.0.0 \ GENKIT_REFLECTION_PORT=3100 \ GENKIT_REFLECTION_SECRET_TOKEN=$(openssl rand -base64 32) \ node lib/index.js
genkit({ reflectionPort: 3200 })binds exactly that port and fails if it's taken.reflectionPort: 0lets the OS pick a port. Leaving it unset still searches upward from 3100.GENKIT_REFLECTION_ENABLED=falseturns the API off even underGENKIT_ENV=dev. Any value other thantrueorfalsethrows fromgenkit().
Features
OpenAI-compatible (
compat-oai)Added
gpt-6-astraand thegpt-5.6models to the OpenAI catalog. (#6303, #6357)New
strictconfig option for structured outputs. It maps toresponse_format.json_schema.strict.
Bug Fixes
Core / AI
Nested dotprompt partials are now named by their path (for example
support/_system), so partials with the same name in different folders no longer collide. Existing{{> system}}references still work when the short name is unique.
Middleware (
contextCompression)Fixed several edge cases:
inputTokensis now set oncandidates[0].message.Duplicate parallel tool responses are matched correctly.
Character limits are enforced on multipart tool responses.
preserveRecentno longer drops messages when summarization is skipped.Short histories that are over budget now fall back correctly.
Ported six fixes from the Go implementation. They cover a lost anchor message on re-compaction,
maxMessages: 1sending no conversation, the token-budget fallback being skipped, and more accurate token estimates for tool responses.Documented the missing
contextCompressionoptions.
Google GenAI
TTS models no longer report support for constrained output.
Fixed the Vertex multimodal embedding dimensions.
Anthropic
Empty signed thinking blocks are now sent back to the API instead of being dropped.
OpenAI-compatible (
compat-oai)Assistant text is kept when the same message also contains tool calls.
1.42.0
1 Sep 2026OpenTelemetry logs are now enabled by default; the
GENKIT_OTEL_ENABLE_LOGSflag has been removed, and custom log record processors set intelemetryConfigare no longer overwritten.plugins/google-genai: Surface API errors from streaming responses by mapping HTTP status codes to Genkit statuses and parsing JSON error bodies returned with HTTP 200 (e.g. overloaded models), so middleware like retry can react appropriately.
plugins/compat-oai: Fix inverted 401/403 status mapping so a bad or missing API key now surfaces as
UNAUTHENTICATEDinstead ofPERMISSION_DENIED; affects all compat-oai based providers (openai, xai, deepseek).
New: A2UI plugin (
@genkit-ai/a2ui)A new plugin that lets an agent stream A2UI ("Agent to UI") surfaces, rich interactive UI rendered incrementally by the client, instead of just prose. Server integration is a single model middleware you drop into an agent's
usearray. It injects the catalog's capabilities into the system prompt, then intercepts streamed and final model output, extractsa2uiblocks, validates them against the catalog, and rewrites them into A2UI data parts. A browser-safe/cliententrypoint (a2uiEnvelopes,actionToMessage) feeds envelopes to a renderer and sends user actions back to the agent. Ships with a runnablejs/testapps/a2uisample (Express backend + Vite/Lit frontend). (#5795, #6209, #6222)import { genkit } from 'genkit/beta'; import { googleAI } from '@genkit-ai/google-genai'; import { a2ui } from '@genkit-ai/a2ui'; const ai = genkit({ plugins: [googleAI()] }); export const uiAgent = ai.defineAgent({ name: 'uiAgent', model: 'googleai/gemini-flash-latest', system: 'You help users. Render UI when it is clearer than prose.', use: [a2ui()], // the only A2UI-specific line });Features
OpenTelemetry logs are now enabled by default; the
GENKIT_OTEL_ENABLE_LOGSflag has been removed, and custom log record processors set intelemetryConfigare no longer overwritten.
Bug Fixes
plugins/google-genai: Surface API errors from streaming responses by mapping HTTP status codes to Genkit statuses and parsing JSON error bodies returned with HTTP 200 (e.g. overloaded models), so middleware like retry can react appropriately.
plugins/compat-oai: Fix inverted 401/403 status mapping so a bad or missing API key now surfaces as
UNAUTHENTICATEDinstead ofPERMISSION_DENIED; affects all compat-oai based providers (openai, xai, deepseek).Add prompt name to
renderspan metadata for better Dev UI usability.
1.41.0
11 Aug 2026- Breaking
Security hardening for background operations (heads up: minor breaking change). The google-genai plugin no longer persists
clientOptionsin operation metadata, which previously risked leaking API keys if you returned a full operation object to a client. If you use per-request overrides (like a custom API key) with long-running models, you now need to pass those same overrides to eachcheckOperation/cancelOperationcall. New GPT-5.x models in the OpenAI-compatible plugin. Added
gpt-5.2,gpt-5.4,gpt-5.4-mini,gpt-5.4-nano, andgpt-5.5tocompat-oai, so you can reach the latest OpenAI models without waiting on a plugin bump.Per-request Anthropic API keys. The Anthropic plugin now resolves the API key lazily at request time instead of only at init, so you can override the key per call. Handy for multi-tenant setups and key rotation.
Js sdk
New GPT-5.x models in the OpenAI-compatible plugin. Added
gpt-5.2,gpt-5.4,gpt-5.4-mini,gpt-5.4-nano, andgpt-5.5tocompat-oai, so you can reach the latest OpenAI models without waiting on a plugin bump.Per-request Anthropic API keys. The Anthropic plugin now resolves the API key lazily at request time instead of only at init, so you can override the key per call. Handy for multi-tenant setups and key rotation.
Clearer retry and fallback logs. The
retryandfallbackmodel middleware now emit structured warnings explaining what happened: which attempt, how long the backoff is, why a retry was skipped, and which model it's falling back to.AbortErrorandToolInterruptErrorare now correctly treated as non-retryable.Fixed audio transcription file extensions.
compat-oaispeech-to-text now derives the right file extension from the content type (.mp3,.wav,.webm, and friends) instead of a generic name, which fixes transcription failures with providers that key off the extension.More reliable agent resume.
validateResumeAgainstHistorynow searches history newest-first, fixing an edge case when resuming interrupted conversations.Options for checkOperation and cancelOperation. You can now pass options (including per-request client config) when polling or cancelling long-running operations. Auth and secrets are also now scrubbed from context logging.
- Breaking
Security hardening for background operations (heads up: minor breaking change). The google-genai plugin no longer persists
clientOptionsin operation metadata, which previously risked leaking API keys if you returned a full operation object to a client. If you use per-request overrides (like a custom API key) with long-running models, you now need to pass those same overrides to eachcheckOperation/cancelOperationcall. ROUGE evaluator fix on Vertex AI. Corrected the type used by the ROUGE score evaluator and cleaned up duplicated evaluator types.
CLI
Structured output now survives "Export to .prompt". When you export from the Dev UI model runner, the output schema is included in the front matter (written as Picoschema) instead of being dropped, so exported prompts keep their structured output config.
Cleaner
trace:getoutput.genkit trace:get <id>gets a readable tree view, and--format jsongives you clean JSON that's easy to pipe into other tools.More reliable startup in ephemeral runtimes. The CLI now waits for actions to finish registering before proceeding, fixing flaky behavior where actions weren't yet available.
Dev UI
This release makes the runners smarter about structured output, sharpens live streaming in the Agent Runner, and clears up a bunch of rough edges in traces, tools, and datasets.
Highlights
See and edit output config in the Model Runner. The Model Runner now has an editable Output panel. When you load a generation from a trace, you can inspect the inherited format and JSON schema, tweak them, or switch back to plain text for a freeform prompt. The schema shows up as readable JSON Schema instead of a raw Zod blob, and a reset restores the inherited config.
Structured JSON output, rendered properly. Model Runner output that comes back as JSON is now rendered as clean, formatted JSON instead of a wall of text.
Output conformance in the Prompt Runner. The Prompt Runner now supports output conformance, so prompts that define a structured schema behave consistently with the rest of the tooling.
Live streaming patches in the Agent Runner. Agent Runner now supports
customPatchstreaming, so incremental updates from your agent show up in the UI as they arrive.
Improvements & Fixes
No more garbled streamed text. Fixed a decoding bug where multi-byte characters (CJK, emoji, accented letters) split across network chunks would render as
�. Streamed output now decodes cleanly across chunk boundaries.Structured output + tools now play nicely together. Schemas are sent under the field the generate action actually reads, so structured output no longer accidentally suppresses tool calls. The tool loop runs and applies the structured result on the final turn.
Real-time span metadata in traces. In-progress spans now keep their initial metadata (name, path, type) instead of dropping it, and show a clean
--placeholder for duration until the span completes.Agent Runner session fixes. Switching from multi-turn (bidi) to single-turn mode no longer trips strict backends (e.g. Python/Pydantic) with
extra_forbiddenerrors, session IDs update correctly when a bidi stream ends, and context is preserved when starting a new chat or loading a trace.Manual tool responses are now sent as proper messages, and tool action cards render correctly when resuming or adding a model message with tool requests.
Interruptions callout added to the Tools page so it's clearer what's happening when a tool interrupts.
Dataset sample editor restored to its cleaner previous style, plus tidier JSON editor spacing.
1.40.1
21 Jul 2026js/plugins/google-genai: Map tool role to "user" for Gemini compatibility
1.40.0
17 Jul 2026- Breaking
agents: Return not found for missing snapshots
- Security
genkit-tools: Prevent path traversal and bind to localhost
What's Changed
- Breaking
agents: Return not found for missing snapshots
- Security
genkit-tools: Prevent path traversal and bind to localhost
1.39.0
26 Jun 2026Stateful, multi-turn chats —
chat()threadsstate,messages,snapshotId, andsessionIdfor you (send & stream).Typed custom state with Zod validation (
stateSchema).
Breaking changes (beta)
- Breaking
The beta Chat API has been removed and replaced by the new Agents API (#5248, #5251). The
Chatclass,ai.chat(...), andsession.chat(...)are gone. Migrate toai.defineAgent(...)andagent.chat()(see Agents below). All removed surface was beta.
This release introduces Agents, a first-class, multi-turn agent API for Genkit JS. Agents bundle a model/prompt, conversational state, tool loops, interrupts, persistence, streaming, and abort/resume into a single ergonomic, transport-agnostic surface that runs identically in-process on the server and over HTTP from the browser.
Highlights
defineAgent— the new Agents API (#5251)Define a multi-turn agent in a single call, with three levels of control:
// Zero-config const agent = ai.defineAgent({ name: 'assistant', model: 'googleai/gemini-flash-latest', system: 'You are a helpful assistant.', tools: [searchTool], }); // Reuse a registered .prompt (typed promptInput) const agent = ai.definePromptAgent({ promptName: 'assistant', promptInput: { role: 'pirate' } }); // Full control via a custom turn handler const agent = ai.defineCustomAgent({ name: 'custom' }, async (runner, input) => { /* ... */ });Key capabilities:
Stateful, multi-turn chats —
chat()threadsstate,messages,snapshotId, andsessionIdfor you (send & stream).Typed custom state with Zod validation (
stateSchema).Pluggable persistence via
SessionStore(in-memory + file stores included); server-managed sessions resumable bysessionId.Streaming with live custom-state patches over the wire (JSON Patch).
Interrupts & resume (
restart/respond) for human-in-the-loop tools.Abort, detach (background turns) + heartbeats, and graceful failure that preserves the last-good state.
clientTransformto redact/reshape state and stream chunks before they leave the server.Same API server or browser —
remoteAgent(...)returns the sameAgentAPIshape over HTTP.
Agents middleware: delegation & artifacts (#5252)
New
@genkit-ai/middlewaremiddlewares for building multi-agent, artifact-producing workflows:agents()— turns an agent into an orchestrator that delegates to other registered agents. Injects a dedicateddelegate_to_<agent>tool per sub-agent, auto-discovers descriptions, returns sub-agent interrupts/failures as tool results, and adds guard rails (maxDelegations,historyLength).artifacts()— gives the modelread_artifact/write_artifacttools backed by session state, with an<artifacts>listing injected each turn. Pair withagents({ artifactStrategy: 'session' })so an orchestrator can read artifacts produced by its sub-agents.
useChatadapter for Agents —@genkit-ai/vercel-ai(#5426)A new plugin providing a Vercel AI SDK
ChatTransportthat wiresuseChatdirectly to Genkit Agents, so you can build rich React chat UIs (Next.js, Vite) with zero custom plumbing:GenkitChatTransport— drop-inChatTransport, compatible with AI Elements.Server-managed sessions keyed by the
useChatid(no client-side snapshot bookkeeping).First-class interrupts mapped onto the AI SDK's native HITL primitives (respond + restart).
Mapping utilities to convert between Vercel
UIMessageand GenkitMessageData.Ships a full sample app at
js/testapps/vercel-ai-elements.
Firestore session store (#5586)
FirestoreSessionStorefor persisting agent sessions, in@genkit-ai/google-cloudwith a thin@genkit-ai/firebasewrapper. It persists each turn as an incremental JSON Patch diff anchored to periodic, sharded full-state checkpoints, so no document approaches Firestore's 1 MiB limit, per-turn reads/writes stay bounded regardless of session length, and reconstruction is strongly consistent without secondary indexes. Tunable viacollection,checkpointInterval, andshardSize.Supporting changes
Initialization data for flows & actions (#5247) — flows/actions can declare an
initSchemaand receive validatedinitdata (separate frominput) over HTTP. Plumbed throughgenkit/beta/client(runFlow/streamFlow) and the express, fastify, fetch, and next handlers.Bidi actions and flows (#4288) — foundational support for bidirectional (streaming both ways) actions and flows.
1.36.0
27 May 2026js: Introduce annotateschema for ui-specific metadata
js/plugins/google-genai: Support for -latest in vertexai
js: Rewrite relative .js specifiers to .mjs in ESM output
What's Changed
js: Introduce annotateschema for ui-specific metadata
js/plugins/google-genai: Support for -latest in vertexai
js: Rewrite relative .js specifiers to .mjs in ESM output
js/middleware/filesystem: Return tool response on filesystem tool errors
js/plugins/google-genai: Support for antigravity agent
js/plugins/vertexai: Fix modelgarden claude thinking
js/ai: Correctly tag registered interrupt as a non-dynamic tool
js/plugins/anthropic: Bump SDK to ^0.97.1 and ignore input_json_delta instead of throwing
cli: Add trace:get CLI command
js/plugins/google-genai: Use native constrained generation with tools
1.35.0
21 May 2026- Deprecated
js: Deprecate genkit/model/middleware retry and fallback middleware in favor of @genkit-ai/middleware
1.34.0
12 May 2026js/core: Fix ValidationResponse type and cache ajv validators
What's Changed
js/core: Fix ValidationResponse type and cache ajv validators
1.33.0
24 Apr 2026js/genkit: Explicitly allow null types in promptDir
genkit-tools/cli: Support ephemeral runtime commands
js/core: Fix DAP resolution
1.32.0
10 Apr 2026- Deprecated
js/plugins/google-genai: Deprecate some imagen and veo models
js/plugins/anthropic: Remove duplicated keys maxOutputTokens, etc
What's Changed
js/plugins/anthropic: Remove duplicated keys maxOutputTokens, etc
- Deprecated
js/plugins/google-genai: Deprecate some imagen and veo models
1.31.0
27 Mar 2026Update macos-14 runner to macos-15-intel for darwin-x64 builds
What's Changed
Update macos-14 runner to macos-15-intel for darwin-x64 builds
1.30.1
13 Mar 2026- Deprecated
js/plugins/google-genai: Deprecate gemini-3-pro-preview
Update trace filtering to support array-based eq/neq filters and numeric filters (gt, gte, lt, lte)
Allow multipart tool responses to include a metadata field.
1.29.0
20 Feb 2026js/core: Dap Action updates
js/genkit: Added cancelOperation for backgroundModels
genkit-tools/mcp: More descriptive errors in MCP
What's Changed
js/core: Dap Action updates
js/genkit: Added cancelOperation for backgroundModels
genkit-tools/mcp: More descriptive errors in MCP
genkit-tools/mcp: Add docs search in MCP
genkit-tools/cli: Add docs discovery tools to the CLI
1.28.0
22 Jan 2026genkit-tools/mcp: Fix MCP server failing to spin up runtime
genkit-tools: Add
/listValuesendpoint to expose defaultModelgenkit-tools/mcp: MCP fix for Antigravity
What's Changed
genkit-tools/mcp: Fix MCP server failing to spin up runtime
genkit-tools: Add
/listValuesendpoint to expose defaultModelgenkit-tools/mcp: MCP fix for Antigravity
js/core: Stop if reflection server fails initialization
1.27.0
19 Dec 2025Add ability to collapse/expand code blocks
Display telemetry in real time
1.26.0
12 Dec 2025genkit-tools/generate: Make
modeloptional in GenerateActionOptionsgenkit-tools/mcp: Add README for Genkit MCP Server
genkit-tools/mcp: Add
genkit:initcommand with support for runtime tools
What's Changed
genkit-tools/generate: Make
modeloptional in GenerateActionOptionsgenkit-tools/mcp: Add README for Genkit MCP Server
genkit-tools/mcp: Add
genkit:initcommand with support for runtime toolsjs/core: DAP expansion: Dynamic Actions are now expanded in the action list
Dev UI changes
Add reasoning token counts
Allow listing and running v2 tool actions
Support prompt evaluation (experiment)
Moved JSON preview toggle out of eval table
1.25.0
3 Dec 2025Persist the unknown traces filter state in local storage
Update multimodal-input font to match markdown content
Properly pop tool calls in non-append mode
Dev UI Changes
Persist the unknown traces filter state in local storage
Update multimodal-input font to match markdown content
Properly pop tool calls in non-append mode
Hide thoughtSignature base64 to de-clutter message
Allow reasoning and text parts alongside tool inputs / outputs
Move metricsMetadata to eval Run Key
1.24.0
18 Nov 2025js/plugins/google-genai: Support for gemini 3.0 thinkingLevel.
1.23.0
13 Nov 2025genkit-tools/evaluate: Handle custom config correctly for prompt evals
genkit-tools: Support trace uploads via tools router
Log error with duplicate action key
What's Changed
genkit-tools/evaluate: Handle custom config correctly for prompt evals
genkit-tools: Support trace uploads via tools router
Log error with duplicate action key
genkit-tools/telemetry-server: Add a new otlp endpoint to support nested traces
Dev UI Changes
Improved otel trace rendering (incl native gemini messages)
Implemented runtime restart button
Rendering for output conformance
1.22.0
28 Oct 2025genkit-tools/evals: Support (executable) prompt evals
Throw for unknown CLI commands, traceId in eval:*
1.21.0
6 Oct 2025Handle missing trace index, better multimedia samples for AI
Added streaming support to the model runner
Render reasoning parts
What's Changed
Handle missing trace index, better multimedia samples for AI
Dev UI chanages
Added streaming support to the model runner
Render reasoning parts
devui-model-streaming-and-reasoning
1.20.0
26 Sep 2025cli/telemetry-server: Fixed trace duplication in the index which resulted in duplication in trace list in dev ui
js/ai/tools: Added dynamic version of the interrupt
Custom config casing improvements and less wrapping
Genkit JS
cli/telemetry-server: Fixed trace duplication in the index which resulted in duplication in trace list in dev ui
js/ai/tools: Added dynamic version of the interrupt
Genkit CLI and Dev UI
Custom config casing improvements and less wrapping
Properly render inline code blocks as decoded html
runners/model: Make append mode toggle work properly
Restore gap between messages on trace rendering
Add context to generic action runner
Distinguish .prompt files by adding a label
Trace panel and uneditable message styling
Ensure getTrace for each View Trace in the flow history view
Refetch the trace before sending to input
Dev UI trace rendering improvements:
1.19.3
19 Sep 2025Messages now render within traces. A fix prevents border colors from incorrectly changing on read-only messages, and another stops images from breaking out of their message cards. Section headers for inputs/outputs are now collapsible, media URLs render directly as returned from flows, and the collapse/expand controls are limited to JSON content, no longer appearing for previews.
Dev UI Changes
Messages now render within traces. A fix prevents border colors from incorrectly changing on read-only messages, and another stops images from breaking out of their message cards. Section headers for inputs/outputs are now collapsible, media URLs render directly as returned from flows, and the collapse/expand controls are limited to JSON content, no longer appearing for previews.
1.19.2
9 Sep 2025- Removed
cli/init:ai-tools: Remove npx from mcp command
1.19.1
8 Sep 2025genkit-tools/init:ai-tools: Inline context to work with binary CLI
1.19.0
8 Sep 2025genkit-tools/cli/ai-tools: Improve support for other model providers
genkit-tools/cli/init:ai-tools: Support Golang context
js/ai: Propagate abortSignal in recursive generateHelper calls
1.18.0
29 Aug 2025per-message markdown rendering in model & prompt runners
Add support for integer types in custom model config
Update model picker filtering and add a clear button
Dev UI changes
per-message markdown rendering in model & prompt runners
Add support for integer types in custom model config
Update model picker filtering and add a clear button
Better message click behavior
1.17.1
24 Aug 2025Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
1.17.0
22 Aug 2025fix(js) Fix next.js warnings related to firebase
fix(js) Add otel jaeger dependency to remove next.js warning
What's Changed
fix(js) Fix next.js warnings related to firebase
fix(js) Add otel jaeger dependency to remove next.js warning
1.16.1
12 Aug 2025Fix for AbortSignal value of "this" issue
Instantiate OpenAI client in all relevant async functions
js/plugins/compat-oai: Support
/in model names
What's Changed
Fix for AbortSignal value of "this" issue
Instantiate OpenAI client in all relevant async functions
js/plugins/compat-oai: Support
/in model namesRender prompt metadata along with generateoptions
1.16.0
7 Aug 2025Add thinking tokens to usage stats for gemini models
Export proper reasoning part for tools common
Gemini thinking config
1.15.5
25 Jul 2025js/plugins/pinecone: Handle missing docMetadata
js/plugins/googleai: Fixed aggregation of thought parts
1.15.4
25 Jul 20251.15.2
21 Jul 2025js/plugins/compat-oai: Fix for ESM
1.15.1
18 Jul 2025@genkit-ai/compat-oai - plugin for OpenAI API compatible providers: OpenAI, DeepSeek, xAI
genkitx-cloud-sql-pg - Cloud SQL for PostgreSQL plugin. See docs.
@genkit-ai/mcp - plugin for building MCP clients and servers. See docs.
1.15.0
17 Jul 20251.14.1
10 Jul 2025js: Remove numberOfVideos config parameter for Veo
js/core: Add port number to runtime file name
js/core: Correctly passthrough telemetry labels when streaming
What's Changed
js: Remove numberOfVideos config parameter for Veo
js/core: Add port number to runtime file name
js/core: Correctly passthrough telemetry labels when streaming
cli: Fixed analytics acknowledgement
1.14.0
27 Jun 20251.13.0
19 Jun 2025js/plugins/google-cloud: Remove metrics and dimensions unused by the Firebase Genkit Monitoring dashboard
1.12.0
6 Jun 2025Add span for prompt template rendering
1.11.1
2 Jun 2025js/plugins/googleai: Fixed streamed response aggregation
js/plugins/googleai: Handle Gemini API thought signatures.
js/plugins/vertexai: Handle Gemini API thought signatures
1.11.0
30 May 2025js/core/flows: Allow setting metadata on flows
js/plugins/vertexai: Remove logging of models in listModels
Fix up invalid tsconfig shipped on npm
1.10.0
21 May 2025js: Added reasoning part type and implemented for googleai and vertexai
Update genkit title font weight
Wrong background color in flow runner
What's Changed
js: Added reasoning part type and implemented for googleai and vertexai
Dev UI changes
Update genkit title font weight
Wrong background color in flow runner
Make trace drawer collapse when clicking chevron
Trace details overflow
Update runners to use json-viewer
Set container-border-radius to 8px
Update flow runner to use json-viewer
Add toggles for custom option objects to explicitly set/unset the option
Allow zeroes for temperature in dotprompt files
Update span tree layout
Set custom option object toggles during patch/reset config
1.9.0
14 May 2025{go,js,py}: Add missing
UsageMetadatafieldsjs: Added missing exports and typedoc config for
genkit/context
What's Changed
{go,js,py}: Add missing
UsageMetadatafieldsjs: Added missing exports and typedoc config for
genkit/context
1.8.0
5 May 2025js/core: Allow defining a "list actions" fn for plugins
1.7.0
25 Apr 2025js/core: Added trace information to action and flow contexts
js: Dynamic action resolver support
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.