Does it matter how you feed an agent its context?
How context is packaged for a coding agent (one big prompt, handoff notes pointing to files, staged ICM pipeline) barely changed cost, speed or quality on a realistic 18–20 file change across three mature codebases. A bounded team of specialist sub-agents behind a thin dispatcher was about 30% cheaper and fastest (~19 minutes per run). Its output was merge-ready only one time in three because no agent owned the lint gate. Making every specialist responsible for formatting and lint fixed that, and the main cost driver turned out to be how many sub-agents get spawned, with one Default run spawning eleven and costing $13.22.
Related posts
- How we make AI coding more cost efficient without sacrificing task quality
GitHub Engineering mediumAdeptGitHub Copilot cut agent costs by optimizing for whole-task outcomes rather than per-tool-call token counts, after finding that aggressive shell-output compression (RTK) made agents reread or rerun commands and raised end-to-end cost. Four changes were validated with offline benchmarks and online A/B tests. They were selective output compression that preserves source-like output such as git diff and keeps a recovery path (5.5%), removing line-number prefixes from the view tool (3.1%), a meta-prompted task-tool prompt saving about 1,300 tokens per turn (2.9%), and batching background-task completion results to avoid retrieval turns (2.3%). The prompt rewrite initially serialized parallel agents, which shows that prompt behaviour needs regression tests and that savings must be measured in each workflow where a change ships.
- Context Engineering Is Just Writing Things Down
Fly.io mediumAdeptAgent output quality depends more on project and environment context than on model capability, and that context can be built from plain files on disk. OpenClaw's memory design (append-only daily logs, a curated MEMORY.md, hybrid BM25/vector recall weighted 70/30 with diversity re-ranking on SQLite) illustrates the idea. In a Fly.io Sprite, four mechanisms supply that context: CLAUDE.md for conventions, Skills for repeatable workflows like a preflight check, hooks that inject live service and git state, and checkpoints that persist the whole environment. A sample Bun + Hono + Postgres project shows Claude fixing a bug while following the test, logging and error conventions without being told.
- Open SWE: An Open-Source Framework for Internal Coding Agents
LangChain mediumAdeptOpen SWE is an MIT-licensed framework for internal coding agents, built on Deep Agents and LangGraph. It packages the patterns that Stripe's Minions, Ramp's Inspect and Coinbase's Cloudbot converged on: per-task isolated cloud sandboxes, a small curated toolset, context drawn from AGENTS.md plus the source Linear issue or Slack thread, subagents for delegated subtasks, and deterministic middleware around the agent loop. Two middleware examples are injecting follow-up messages mid-run and opening a PR if the agent didn't. It is invoked from Slack, Linear and GitHub, and the sandbox provider, model, tools, triggers, prompt and middleware are all pluggable.
- Four minutes after midnight, Codex said the page was live
Render mediumAdept
OpenAI's Dominik Kundel argues that with agentic delegation, code is no longer the bottleneck. What matters is the harness around the agent: context, validation and verification. Codex reaches context through plugins (Slack, Notion, Drive, Linear), Memories and Chronicle. It validates its own work with fast tests, linters like Vale for docs, parallel app copies, CDP debugging and deployment-watching plugins. Changes get verified by a separate Codex review session tuned via AGENTS.md to flag only P0/P1 issues, plus deploy previews or videos. Recurring feedback should become skills, lint rules or tests rather than repeated corrections, illustrated by Codex shepherding a midnight docs deploy end to end.
- Everything We Talked About at O11yDay London 2026
Honeycomb mediumAdeptAcross ten sessions at O11yDay London, the recurring bottleneck was not writing code but reviewing it, operating agents in production, and proving the spend is worth it. Speakers described instrumenting AI agents like any other production system: OpenTelemetry pipelines repaired to expose hidden Claude Agent SDK subagents, per-conversation Agent Timelines showing tokens and cost (about $1.70 and seven minutes for one review), and anomaly detection that tied a failure spike to a switch from per-PR to per-commit review. Concrete findings include roughly 80% of merged PRs at Honeycomb having no human-driven changes (prompting a rule that two developers must participate, one of whom may be a machine), Fin's measured wins from enforcing Claude Code configuration (brief mode cut output tokens ~20%, a hard nudge to cheaper models saved 7.4%), and HelloFresh seeing restores 20% faster but over 10% of investigations stalling. Corey Quinn closed by treating AI cost as an observability problem: put cost, price at time of request, and whether the result was accepted on every span, share one request ID across retries, use the OpenTelemetry GenAI semantic conventions, and enforce spend limits outside the agent loop.