AI & Machine Learning.
9 articles
Building Evaluations for LLM Apps: Beyond Vibes
Shipping an LLM feature on gut feel works until it does not. Here is how to build real evaluations: golden datasets, assertion checks, LLM-as-judge scoring, and running them in CI.
Model Context Protocol in Production: Building & Shipping MCP Servers
A practical guide to building Model Context Protocol servers that survive real use: the anatomy of a server, a minimal TypeScript implementation, and the hardening every production server needs.
Milla Jovovich's MemPalace: How a Memory Palace Architecture is Revolutionizing AI Memory
Actress Milla Jovovich and engineer Ben Sigman open-sourced MemPalace, an AI memory system that uses the ancient method of loci to organize LLM conversations. It scored 96.6% on LongMemEval and runs entirely offline with ChromaDB and Llama.
Building AI Agents with the Model Context Protocol (MCP)
The Model Context Protocol is becoming the USB-C of AI tool integration. Learn how MCP works, how to build MCP servers, and how it enables AI agents to interact with databases, APIs, and external services through a standardized interface.
What's New in Claude 4.6 and the Agent SDK
Claude 4.6 brings a 1M-token context window on Opus, faster Haiku, and a proper Agent SDK that handles the loop, tool execution, and memory. A hands-on look at what actually changed and patterns for building production agents.
Running Untrusted AI Code Safely with Vercel Sandbox
Vercel Sandbox gives you Firecracker microVMs for executing untrusted or AI-generated code — the kind of isolation you need when your agent wants to run arbitrary Python or Node. A hands-on walkthrough with a code-interpreter tool.
Building AI-Powered Apps with Claude and Next.js
Learn how to integrate Anthropic's Claude AI into your Next.js applications using the Vercel AI SDK. This comprehensive guide covers streaming responses, error handling, and production best practices.
Building Agents with the AI SDK v6
AI SDK v6 makes agent loops, multi-step tool calling, and provider-agnostic model routing first-class. A walkthrough of the new patterns — tool(), stopWhen, streamText with UIMessage parts, and generateObject — with working code for a research agent.
One API for Every Model: Vercel AI Gateway in Production
The Vercel AI Gateway gives you a single endpoint that proxies every major LLM provider with built-in observability, automatic failover, and zero data retention. A practical guide to adopting it, configuring fallbacks, and when it actually saves you money.