Skip to main content

Structured Output with Zod: Type-Safe LLM Responses Across Providers

· 9 min read
Gergely Sipos
Frontend Architect

You already use Zod to validate API responses. Now it's the contract layer between your app and LLMs. One schema gives you runtime validation, TypeScript inference, AND guaranteed structured output from GPT, Gemini, and Claude. Without it you're calling JSON.parse() on free text and praying the model didn't sneak in a markdown fence or an apologetic preamble.

AG-UI: The Missing Protocol Between AI Agents and Your Frontend

· 4 min read
Gergely Sipos
Frontend Architect

AG-UI (Agent User Interaction Protocol) is an open, event-based protocol that standardizes how AI agents communicate with user-facing applications. Created by CopilotKit and adopted by Microsoft, Google, AWS, LangChain, and CrewAI, it fills the gap between MCP (agent↔tools) and A2A (agent↔agent) by defining the agent↔UI layer. It's MIT licensed with 14.4k GitHub stars and 50+ framework integrations.

MCP Goes Stateless: Inside the 2026-07-28 Specification Release Candidate

· 7 min read
Gergely Sipos
Frontend Architect

The Model Context Protocol specification release candidate (locked May 21, stable July 28, 2026) makes the protocol fully stateless — no handshakes, no session IDs, no sticky routing. Alongside that headline change, it graduates the extensions framework to first-class status, introduces MCP Apps for server-rendered UI, formalizes the Tasks extension for long-running work, adds production-grade observability headers, upgrades to full JSON Schema 2020-12, and hardens OAuth 2.0 authorization through multiple SEPs. Three features — Roots, Sampling, and Logging — are deprecated under a new lifecycle policy with a one-year sunset window.

TanStack AI Beta: The 'Switzerland of AI Tooling' Goes Multi-Modal

· 3 min read
Gergely Sipos
Frontend Architect

TanStack AI reached beta on June 9, positioning itself as the "Switzerland of AI tooling" — framework-agnostic, provider-agnostic, and fully open-source with no hosted platform required. It's built by the same team behind React Query and TanStack Router, and it brings that same philosophy of composable, type-safe primitives to AI application development.

Copilot Token Efficiency: What the Platform Is Doing Behind the Scenes

· 4 min read
Gergely Sipos
Frontend Architect

Since June 1, every Copilot token has a dollar sign attached. You're thinking about model selection, prompt size, and whether that 200-line file really needs to be in context. Good — but while you optimize your side, the VS Code team has been shipping infrastructure-level improvements that cut token consumption and latency without any user action. Ryan Caldwell and Bhavya U published a deep dive on these changes, and the numbers are worth knowing. The platform is doing heavy lifting so you can focus on the strategies you control.

The LLM Wiki Now Has a Formal Spec — OKF v0.1 📐

· 5 min read
Gergely Sipos
Frontend Architect

The LLM Wiki pattern — previously just a gist from Karpathy and a growing community convention — now has a formal, versioned specification. On June 12, Google Cloud's Data Cloud team published OKF (Open Knowledge Format) v0.1, a vendor-neutral spec for representing curated knowledge for AI systems. This is the fourth post in our LLM Wiki series (previous posts: the pattern, our wiki mapping, local models), and arguably the most significant development since the idea first gained traction.

Copilot Automations: Your AI Team Member That Never Sleeps 🤖⏰

· 7 min read
Gergely Sipos
Frontend Architect

GitHub Copilot started as autocomplete for code. Then it became a chat assistant. Then a coding agent you could assign issues to. Now it's crossing the final threshold: an autonomous agent that runs on a schedule, without anyone prompting it. Copilot Automations turn your AI assistant into a background team member — one that shows up at 9am every day, does useful work, and opens a PR for review.

npm v12 Breaking Changes — Install Scripts and Remote Dependencies Locked Down by Default

· 4 min read
Gergely Sipos
Frontend Architect

npm v12 (estimated July 2026) flips three security defaults that have been the most exploited code-execution paths in supply chain attacks. Install scripts, Git dependencies, and remote URL dependencies will all be blocked unless explicitly allowed. These aren't new features — they've been available as opt-in since npm 11.10.0+ — but v12 makes the secure path the default.

If you're running npm 11.16.0+, you're already seeing warnings for these. In v12, warnings become hard blocks. Now is the time to prepare.