A developer building AI agents for an EV charging network launched jitprompt, a system that serves instructions to agents over MCP just when needed instead of stuffing them in the system prompt. On a planted evaluation of 23 business rules in τ²-bench's banking knowledge base (~300K tokens) using Claude Haiku 5.5, jitprompt achieved 85% rule adherence versus 67% for BM25 RAG and 50% for the full prompt, at $0.0086 per conversation versus $0.148. The evaluation harness and write-up are public.
A Reddit user running six agents for a publication reports that with prompt caching enabled, longer, stable prompts achieve 97-99% cache hit rates, making them cheaper than frequently changing short prompts. This challenges the common advice to minimize prompt length for cost savings.
A Reddit user running six agents for a publication reports that with prompt caching enabled, longer, stable prompts achieve 97-99% cache hit rates, making them cheaper than frequently changing short prompts. This challenges the common advice to minimize prompt length for cost savings.
A prompt-structuring technique can reduce multi-turn API costs by 5-10x by placing static content (system instructions, tool definitions, few-shot examples) at the front and dynamic content (latest user message, fresh context) at the end. This exploits prefix-based caching, which only works if the beginning of the prompt remains unchanged. The post argues this is a pure ordering optimization, not a model or retrieval change.
A prompt-structuring technique can reduce multi-turn API costs by 5-10x by placing static content (system instructions, tool definitions, few-shot examples) at the front and dynamic content (latest user message, fresh context) at the end. This exploits prefix-based caching, which only works if the beginning of the prompt remains unchanged. The post argues this is a pure ordering optimization, not a model or retrieval change.
A Reddit post by a developer describes testing a 450-line static CLAUDE.md against a minimal 25-line root file with dynamic skill loading across 40 multi-file refactoring tasks on their backend repo. The dynamic setup cut regression errors 38.4%, dropped per-turn input tokens from ~18,500 to under 3,200, and reduced session token spend over 45%. The team open-sourced the tool as autoharness.
A Reddit post by a developer describes testing a 450-line static CLAUDE.md against a minimal 25-line root file with dynamic skill loading across 40 multi-file refactoring tasks on their backend repo. The dynamic setup cut regression errors 38.4%, dropped per-turn input tokens from ~18,500 to under 3,200, and reduced session token spend over 45%. The team open-sourced the tool as autoharness.
ContextOS is an open-source context orchestration layer for long-horizon LLM agents. It uses hybrid retrieval, reranking, and token-budget-aware planning to decide which memories enter the model's context, with execution traces for inspection. It solves the problem of context management for developers building complex LLM agents.
ContextOS is an open-source context orchestration layer for long-horizon LLM agents. It uses hybrid retrieval, reranking, and token-budget-aware planning to decide which memories enter the model's context, with execution traces for inspection. It solves the problem of context management for developers building complex LLM agents.
A write-up of building a retrieval-augmented generation system that cites its sources, focused on the evaluation process rather than the build. The author benchmarks dense, BM25, and hybrid retrieval on a real codebase and shares five lessons, such as why average metrics mislead. Useful for engineers building retrieval pipelines who need to pick and evaluate a retriever.
A write-up of building a retrieval-augmented generation system that cites its sources, focused on the evaluation process rather than the build. The author benchmarks dense, BM25, and hybrid retrieval on a real codebase and shares five lessons, such as why average metrics mislead. Useful for engineers building retrieval pipelines who need to pick and evaluate a retriever.