02. Prompt Length, Context Growth, and Cache Cost
A trace-based analysis of how multi-turn context grows and what prefix caching, trimming, summaries, and server-side state references actually change.
Technical notes on AI agents, language models, software systems, and engineering experiments.
A trace-based analysis of how multi-turn context grows and what prefix caching, trimming, summaries, and server-side state references actually change.
A reproducible route from captured model requests to tool events, permission decisions, recovery behavior, and Agent evaluation.
Evaluating delegation through task packets, context isolation, reduced permissions, result verification, and total coordination cost.
Joining model, tool, permission, and state events with trace, turn, call, and sequence identifiers to reconstruct causality.
Following one tool request through parsing, schema validation, authorization, execution, event recording, and result delivery.
Placing adversarial instructions in user input, project files, tool results, retrieval, and memory to separate model interpretation from enforceable permissions…
Separating model, authentication, quota, protocol, validation, permission, tool, and result errors into different recovery policies.
Representing model, authorization, and tool execution as explicit states so interruption recovery does not depend on conversation text.