A swipe file on agentic engineering.
Best practices distilled from reading open-source projects and building an agentic framework.
I spent five years on Firebase making serverless feel simple. Agents are the same job. Now as part of the founding team at Genkit, we're building SDKs to make agentic engineering simple. Follow as I build and share my thoughts in public.
Recent
All writing →-
Structured Output + Pydantic in Genkit Python: What Actually Works
You called response.json and got None. You set outputformat='json' and got a string back. You have a list model and nothing is parsing. You're in the right plac
-
Agent respond() and restart() in Genkit Python: Self-Correcting AI Loops
This post explains what each method does at the wire level, when to use each, and how to build a correction loop that is not vulnerable to infinite retries.
-
Gemini Agent + FastAPI: The Production-Ready Boilerplate for AI Chat APIs
from genkit.plugins.fastapi import genkitfastapihandler