







How prompt caching shapes the cost, latency, tools, and architecture of coding agents, and what Pi does to keep cache behavior visible.
Prompt caching: 10x cheaper LLM tokens, but how? | ngrok blog
A far more detailed explanation of prompt caching than anyone asked for.

Prompt caching: 10x cheaper LLM tokens, but how? | ngrok blog
A far more detailed explanation of prompt caching than anyone asked for: how tokens, embeddings, and attention make cached LLM tokens 10x cheaper and faster.

New capabilities for building agents on the Anthropic API | Claude
Claude now offers code execution, MCP server connections, file storage, and extended prompt caching through the API—giving developers powerful tools to build agents that analyze data, connect to external systems, and maintain context for longer periods of time.


The Shape of Memory Benchmarks
Why the familiar memory benchmarks are outdated, how the agent-native work looks today and why design your own.

shepherd-agents/shepherd
A runtime substrate that turns an agent's execution into a reversible, Git-like trace, so meta-agents can observe, fork, replay, and revert any run. Couples agent and environments in a copy-on-write fork ~5x faster than docker commit, with ~95% KV-cache reuse on replay. Framework built for meta-agents to supervise, optimize, and train other agents
Joshua Gu on Twitter / X
Recent agentic systems (Claude Code, Codex, RLM, etc.) push context out of the prompt and into the environment (e.g., as files). This helps them maintain long-term knowledge about their goals and functionality.🚨 While this is a good idea, we show a surprising result: systems… pic.twitter.com/XHFVaDcr4l— Joshua Gu (@astrogu_) May 20, 2026

nicobailon/pi-interactive-shell
Pi coding agent extension that allows Pi to autonomously control interactive CLIs in an observable overlay. Full PTY emulation, no tmux, token efficient. User can take over anytime.
Can agentic coding raise the quality bar?
Five examples of using agentic coding to improve software quality, instead of delivery throughput.

Unrolling the Codex agent loop
A technical deep dive into the Codex agent loop, explaining how Codex CLI orchestrates models, tools, prompts, and performance using the Responses API.

Agent Memory Patterns
A short HOW TO guide for agent memory systems. Especially the difference between blocks, files and skills.

Background Coding Agents: Predictable Results Through Strong Feedback Loops (Part 3) | Spotify Engineering
This is part 3 in our series about Spotify's journey with background coding agents and the future of large-scale software maintenance. See also and .



We've recently made Pi's cache behavior more visible. This site has been debating whether agent harnesses are helping or quietly torching their caches. That seemed like a good excuse to explain how KV caches actually work and how Pi helps (or doesn't). earendil.com/posts/prompt-caching/
Prompt Caching In Agents | EARENDIL
earendil.com