Genkit CLI & Dev UI 1.43: Improved human-in-the-loop testing and log viewing
Genkit CLI and Developer UI 1.43 makes it easier to test human-in-the-loop agents and inspect execution logs in both the browser and the terminal. You can now step through multiple tool interrupts in the Agent Runner, view execution logs alongside trace spans in a dedicated bottom drawer, and query logs from your terminal or coding agent with genkit log:list.
To install or upgrade to the latest version, run the following command in your terminal:
curl -sL cli.genkit.dev | bashStep through human-in-the-loop interrupts in the Agent Runner
Section titled “Step through human-in-the-loop interrupts in the Agent Runner”When an agent pauses execution for human review or external signoff, it often queues multiple pending tool calls within the same turn, such as reserving both a flight and a hotel before generating a final itinerary. Built on an interactive stepper, the Agent Runner now groups interrupted tool calls into a single Action Required card so you can inspect and resolve each request in order.
You can step forward and backward through pending tool requests using the Next and Previous controls, inspect the proposed input arguments, and choose how to resolve each call:
- Respond with Output injects a JSON return value directly into the session history, bypassing the tool handler code.
- Restart with Context re-executes the tool handler while passing additional verification metadata in the
resumedcontext object.
When you reach the final tool request in the stepper, clicking Resume (or Submit responses in manual tool response mode) submits all tool resolutions together so the agent can complete its turn.
Top-level Trace Logs drawer in the Developer UI
Section titled “Top-level Trace Logs drawer in the Developer UI”Previously, trace logs lived inside a section within the right-hand Span Details panel, requiring you to scroll past lengthy span inputs and outputs to inspect log messages. In 1.43, the Logs panel has been promoted to an always-visible, resizable, collapsible bottom drawer spanning the full width of the Trace Viewer.
This layout lets you inspect the span execution tree, span details, and correlated runtime logs simultaneously. Each row displays a severity badge, timestamp, and an inline preview of structured key-value attributes. Clicking any entry expands its full structured JSON payload together with its correlated traceId and spanId.
Query execution logs with genkit log:list
Section titled “Query execution logs with genkit log:list”The new genkit log:list CLI command queries execution logs directly from the local telemetry server. This makes logs easy to inspect from your terminal and directly accessible to AI coding agents (such as Antigravity, Claude Code, or Cursor) for agent-driven debugging without copying payloads out of the browser.
You can filter logs by trace ID, span ID, or minimum severity (for example, --severity info returns INFO and above):
genkit log:list --trace-id 7b8e9a01c2d3e4f5a6b7c8d9e0f1a2b3 --severity infoBy default, genkit log:list prints newest entries first in a readable summary format:
Found 3 logs:
ID: 9f4a21c0-88b1-4e2a-9c14-0a1b2c3d4e5fSpan ID: 1000000000000006Severity: WARNTime: 9/17/2026, 7:01:41 PMMessage: Turn interrupted awaiting human approvalAttrs: pendingTools=2, cluster=us-central1---ID: 7956edb0-15ac-4a78-a419-fcf698326392Span ID: 1000000000000004Severity: INFOTime: 9/17/2026, 7:01:41 PMMessage: Canary verification passedAttrs: status=HEALTHY, p99LatencyMs=42---ID: cce5e07e-c686-4069-95da-efb18265f796Span ID: 1000000000000002Severity: INFOTime: 9/17/2026, 7:01:40 PMMessage: Saved session checkpoint snap-20260917-01Attrs: sessionId=sess-prod-rollout-9941---Also in this release
Section titled “Also in this release”- Python OTLP debug log streaming. Running Python workflows under
genkit startnow streamsdebugand higher lifecycle logs fromai.generate()to the Developer UI over OTLP while keeping your terminal output at the configuredGENKIT_LOGlevel. - Composite badges for agent companion spans. Trace views now display composite two-icon badges (
robot+ secondary icon) for background agent actions includingagent-snapshot,agent-wait, andagent-abort. - Bundled multipart artifact downloads. When an agent session artifact contains multiple files, downloading it from the Artifacts panel now bundles all parts into a single
.ziparchive instead of downloading files individually. - Java and Kotlin runtime detection. The CLI and telemetry server automatically detect
javaprojects whenpom.xml,build.gradle, orbuild.gradle.ktsfiles are present in the project root. - Accessibility and theme refinements. Improved keyboard and screen-reader accessibility across trace and navigation views, and synchronized JSON editor colors across light and dark themes.
Get started
Section titled “Get started”Upgrade to Genkit CLI and Developer UI 1.43 today to try human-in-the-loop agent stepping, the Trace Logs drawer, and genkit log:list. Explore the Genkit Developer Tools documentation for guides, or read the full 1.43.0 release notes on GitHub.