gemini Genkit Releases · · 0.9.0

Genkit Python SDK v0.9.0 adds Agents, reorganizes plugins

sdkaipreviewengineermedia
patch

The Genkit Python SDK v0.9.0 introduces Agents for stateful, multi-turn AI workflows, alongside a reorganization of its plugins into dedicated PyPI packages. This update improves session persistence, human-in-the-loop capabilities, and observability for developers building AI applications. The changes are available now, with legacy plugins continuing to function but issuing warnings to encourage migration.

  • Session Management & Tracing: Recorded session state on runTurn spans and added support for client-managed sessionIds (#5871)
  • Gemini Compatibility:
  • Normalized request message roles strictly to model or user for strict API compatibility (#5823)
  • Switched tool request references to model call IDs (#5830)
  • Observability: Seeded span attributes at trace start so live traces render immediately in the Developer UI (#5808)
Fixes (7)
  • Session Management & Tracing: Recorded session state on runTurn spans and added support for client-managed sessionIds (#5871)
  • Gemini Compatibility:
  • Normalized request message roles strictly to model or user for strict API compatibility (#5823)
  • Switched tool request references to model call IDs (#5830)
  • Observability: Seeded span attributes at trace start so live traces render immediately in the Developer UI (#5808)
  • Runtime & CLI: Muted dev server health poll logs (#5867) and ensured reliable CLI runtime metadata cleanup on SIGINT/SIGTERM (#5773)
  • Anthropic Plugin: Added stable and beta API selection (#5752) and extended thinking capabilities
Read the original announcement →

https://github.com/genkit-ai/genkit/releases/tag/py/v0.9.0

Related releases