
Context Engineering for Agents: Caching, Compaction, Subagents
Context engineering for agents, explained: caching, compaction, tool-result clearing, retrieval and subagents, with the exact Anthropic and OpenAI API knobs.
424 articles - page 2 of 36

Context engineering for agents, explained: caching, compaction, tool-result clearing, retrieval and subagents, with the exact Anthropic and OpenAI API knobs.

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.

LangChain 1.4 and LangGraph 1.2 added per-call approvals, built-in MCP, node timeouts and DeltaChannel. What shipped since May 2026 and who should pick it.

LlamaIndex in late 2026: Python Workflows 2.26 with typed events, human-in-the-loop and DBOS durability, plus LiteParse. LlamaIndex.TS is deprecated.

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

MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.

Microsoft Agent Framework is at Python 1.22 and .NET 1.25: Harness agents, functional workflows, channels, and why AutoGen users should migrate now.

Seven multi-agent patterns, one diagram each, and which framework ships each natively: OpenAI Agents SDK, LangGraph, Mastra, AI SDK, ADK, CrewAI, A2A v1.0.

OpenAI's Agents API can now operate web apps in a hosted session. Enable computer_use, approve each origin and handle sign-in in a five-minute window.

OpenAI Agents SDK as of Python 0.24 and JS 0.20: sandbox agents, three guardrail layers, compaction sessions, MCP v2 and new defaults, with type-checked code.
Showing 13-24 of 423 articles

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