
How to Evaluate AI Agents in Practice: Trajectories, Tool Calls and Judges
Evaluate AI agents in layers: deterministic tool checks, trajectory match, then an LLM judge. Working code for Pydantic Evals, Mastra and more.
11 articles

How durable execution keeps AI agents alive through crashes, deploys and multi-day approvals, with a LangGraph crash test and type-checked code.

Evaluate AI agents in layers: deterministic tool checks, trajectory match, then an LLM judge. Working code for Pydantic Evals, Mastra and more.

How LangGraph, Mastra, the AI SDK, OpenAI Agents SDK and Claude Agent SDK pause agent tool calls for approval, with verified code for all five.

Mastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.

One agent run crashes mid tool call, waits two days for approval, then retries a charge. How LangGraph, Mastra, Pydantic AI and OpenAI Agents SDK handle it.

Mastra npm supply chain attack: 140+ @mastra packages were backdoored with a credential-stealing trojan. How to check your lockfile and what to do if affected.

Both Mastra and LangGraph.js are serious TypeScript agent frameworks - but they start from opposite philosophies. Here is what that means for your next project.

The TypeScript AI agent stack compared - Mastra, Vercel AI SDK, OpenAI Agents SDK and LangGraph.js, which layer each covers, and how to pick or combine them.

Mastra fits TypeScript products whose agents need workflows, memory, tools, MCP, evals, and traces in one backend layer. Where it fits and where it does not.

A practical field note on where Mastra, CopilotKit, and LangGraph fit when you are building the same agent-native product interface.

CopilotKit works best as the agent UI layer, not the agent framework: chat surfaces, frontend tools, shared state, generative UI, and human approval.
Showing 10 of 10 articles

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.
Explore 868 topics
Browse All Topics