close
Skip to main content
BERJAYA

r/GenkitFramework


Stop defaulting to Python for every GenAI service
Stop defaulting to Python for every GenAI service
Go

I wrote a new article about why I think Go deserves a much bigger place in production GenAI systems, especially when combined with Genkit Go.

Python is still amazing for research, notebooks, experimentation, and the ML ecosystem. But a lot of GenAI applications today are not really “AI code”; they are backend services that call models, orchestrate tools, stream responses, validate structured output, expose APIs, and need to scale reliably.

That is where Go becomes very interesting.

In the article, I talk about the pain points I keep seeing with Python in production AI services: concurrency complexity, cold starts, memory footprint, dependency management, weak typing, packaging, and deployment friction. Then I show how Genkit Go gives you a cleaner model for building AI backends with typed flows, structured outputs, HTTP endpoints, observability, and the Genkit Developer UI.

The post also includes a hands-on example where we build a complete Genkit Go service in a single main.go, expose it as an HTTP endpoint, test it visually, and deploy it as a small containerized binary.

I know the title is intentionally provocative, but the point is not “Python is bad.” The point is that Python should not be the default runtime for every production GenAI service.

Curious to hear what people think: are you still building most of your AI backends in Python, or are you moving some of that work to Go, Java, or TypeScript?

Article:
https://xavidop.me/genkit/2026-05-04-stop-using-python-genai-use-genkit-go/


Genkit JS 1.35.0 — Gemini 3.5 Flash support, smarter retry middleware, and refreshed API docs
Genkit JS 1.35.0 — Gemini 3.5 Flash support, smarter retry middleware, and refreshed API docs
JS/TS

Hey folks! We just released Genkit JS & CLI 1.35.0. Here are the highlights:

Gemini 3.5 Flash support

Gemini 3.5 Flash already works great with Genkit, but in this release we added first-class model definitions so you get IDE autocomplete and type suggestions when using it — no more guessing model string names.

Smarter retry middleware

The retry middleware (now in @genkit-ai/middleware) got some important improvements:

  • Honors Retry-After headers - when you hit resource exhausted / rate limit errors, the retry middleware now respects the server's Retry-After header instead of blindly retrying.

  • Never retries AbortError or ToolInterruptError — these are intentional signals that should not be retried. Previously they could get caught by the retry logic unnecessarily.

The legacy genkit/model/middleware retry and fallback middleware are now deprecated in favor of @genkit-ai/middleware.

Refreshed JS API reference

We've done a content refresh on the JS API reference docs at js.api.genkit.dev — added JSDoc comments across exported types and schemas for better documentation and IDE hover info.

Other changes

  • Fixed OpenAI-compatible plugin (compat-oai) to reference proper API keys in docs

  • Better debug traces in the Google GenAI plugin

Full release notes: GitHub Releases