Hi, I'm Vadim Alakhverdov
Software developer writing about JavaScript, web development, and the tools that make us productive.
Recent Posts
Wednesday 06/05/2026
· 9 min readHow to Structure Your TypeScript Codebase So AI Coding Agents Work Better
Practical TypeScript codebase patterns that make Claude Code, Cursor, and Copilot dramatically more effective. CLAUDE.md, module boundaries, typed configs, and the file-size rule that fixed our agent's worst habits.
Monday 04/05/2026
· 12 min readHow to Migrate from OpenAI Assistants API to Responses API in TypeScript
Migrate your OpenAI Assistants API integration to the Responses API in TypeScript before the mid-2026 sunset. Concept-by-concept mapping, before/after code diffs, and the gotchas nobody mentions.
Friday 01/05/2026
· 11 min readStreaming AI UX in React: Handle Partial Markdown, Citations, and Error States
Build a streaming AI UI in React that renders partial markdown without layout shifts, shows citations as they arrive, and recovers from mid-stream errors. Reusable components, no AI SDK required.
Wednesday 29/04/2026
· 11 min readHow to Route LLM Requests to Cheap vs Expensive Models Automatically in TypeScript
Build an LLM model router in TypeScript that sends simple queries to Haiku and only escalates complex ones to Opus. Real classification logic, fallback chains, and 50-70% cost savings.
Friday 24/04/2026
· 12 min readMastra vs VoltAgent: The Two New TypeScript Agent Frameworks Compared
Build the same AI agent in Mastra and VoltAgent — the two new TypeScript-native frameworks. Honest comparison of DX, memory, MCP support, observability, and bundle size.
Wednesday 22/04/2026
· 10 min readGoogle Agent Development Kit for TypeScript: Build a Multi-Agent System from Scratch
Build a multi-agent research assistant with Google ADK for TypeScript. Supervisor agent coordinating three specialists — web researcher, data analyst, report writer — with tool definitions and local + Cloud Run deployment.
Monday 20/04/2026
· 9 min readBuild an MCP Client in TypeScript That Connects to Multiple Tool Servers
Build a TypeScript MCP client that connects to multiple servers simultaneously and lets an LLM use tools from all of them in one conversation — with capability discovery, namespacing, and error handling.
Friday 17/04/2026
· 12 min readHow to Add LLM Observability and Tracing to Your TypeScript AI App with Langfuse
Add LLM observability and tracing to your TypeScript AI app with Langfuse — trace every LLM call, tool invocation, and retrieval step, and build dashboards showing latency, token usage, and cost.
Monday 13/04/2026
· 13 min readShould You Build or Buy AI Features for Your SaaS? A Decision Framework
A practical decision framework with real cost math to help you decide whether to build AI features with APIs or buy a third-party AI product for your SaaS.
Friday 10/04/2026
· 15 min readBuild a Multi-Agent Customer Support System with Handoffs in TypeScript
Build a multi-agent customer support system in TypeScript where a triage agent routes conversations to specialized billing, technical, and returns agents — with human escalation.
Stay updated
Get notified when I publish new posts. No spam, unsubscribe anytime.