Skip to content

fig-isometric-prompt-cache-stack

Keep the prefix stable. Anything that changes every turn goes above the cache boundary.

Isometric sketch of a stacked prompt: tool schemas, system prompt, and earlier turns sit below a dashed cache boundary and are reused every call; the new tool result, user message, and timestamps sit above it and are recomputed each call.

Building something in this space?

Thirty minutes with an engineer, not a salesperson.

Start Your AI Journey