Hi, I'm Vadim Alakhverdov
Software developer writing about JavaScript, web development, and the tools that make us productive.
Recent Posts
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.
Monday 06/04/2026
· 9 min readHow to Measure If Your AI Feature Is Actually Working (A Guide for Product Teams)
Stop relying on vibes. Learn what metrics to track, how to set up A/B tests, and when to kill an AI feature that isn't delivering value.
Friday 03/04/2026
· 12 min readBuild an Agentic RAG Pipeline That Retries and Reformulates Queries
Upgrade your basic RAG pipeline to an agentic loop that evaluates retrieval quality, reformulates queries, and retries with alternative strategies — all in TypeScript.
Wednesday 01/04/2026
· 9 min readClaude Code Source Leak: What the Exposed Code Reveals About AI Agent Architecture
Anthropic accidentally shipped source maps in their Claude Code npm package, exposing the full architecture. Here is what the leaked code teaches us about building production AI agents.
Stay updated
Get notified when I publish new posts. No spam, unsubscribe anytime.