---
title: "Does it matter how you feed an agent its context?"
description: "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."
url: "https://swe.quest/articles/does-it-matter-how-you-feed-an-agent-its-context-9b5070d3af38ec07"
canonical: "https://tech.olx.com/does-it-matter-how-you-feed-an-agent-its-context-ee1519586520"
source: "OLX Tech"
published: "2026-08-21"
difficulty: "medium"
kind: "Research"
reading_minutes: 7
tags: ["ai-coding","ai-agents","cost-optimization","evals"]
---

# Does it matter how you feed an agent its context?

A post on [OLX Tech](https://swe.quest/sources/olx.md), published 2026-08-21, 7 min read, Research. Original: [https://tech.olx.com/does-it-matter-how-you-feed-an-agent-its-context-ee1519586520](https://tech.olx.com/does-it-matter-how-you-feed-an-agent-its-context-ee1519586520)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- Claude Code sub-agents ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))
- AGENTS.md / CLAUDE.md context files ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))

## Keywords

Claude Code, Claude Opus, CLAUDE.md, Interpretable Context Methodology, Forge, OLX

## Related posts

- [How we make AI coding more cost efficient without sacrificing task quality](https://swe.quest/articles/how-we-make-ai-coding-more-cost-efficient-without-sacrificing-task-quality-07be31d835dcfb01.md): GitHub Engineering · 2026-09-02 · Medium · 10 min read · AI agents, AI for coding, LLMs, Evaluation, Cost optimization
  GitHub 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.
- [Context Engineering Is Just Writing Things Down](https://swe.quest/articles/context-engineering-is-just-writing-things-down-529d8105d51bf0f4.md): Fly.io · 2026-02-23 · Medium · 5 min read · AI for coding, AI agents, Developer productivity
  Agent output quality depends more on project and environment context than on model capability, and that context can be built from plain files on disk.
- [Open SWE: An Open-Source Framework for Internal Coding Agents](https://swe.quest/articles/open-swe-an-open-source-framework-for-internal-coding-agents-1b0f7521a5a00040.md): LangChain · 2026-10-13 · Medium · 8 min read · AI agents, AI for coding, Open source, Sandboxing & isolation
  Open SWE is an MIT-licensed framework for internal coding agents, built on Deep Agents and LangGraph.
- [Four minutes after midnight, Codex said the page was live](https://swe.quest/articles/four-minutes-after-midnight-codex-said-the-page-was-live-25ae19da11733480.md): Render · 2026-08-16 · Medium · 9 min read · AI for coding, AI agents, Code review, Developer productivity
  OpenAI's Dominik Kundel argues that with agentic delegation, code is no longer the bottleneck.
- [Everything We Talked About at O11yDay London 2026](https://swe.quest/articles/everything-we-talked-about-at-o11yday-london-2026-0f7b0e96a8f38f57.md): Honeycomb · 2026-10-16 · Medium · 11 min read · AI agents, Observability, AI for coding, Code review, Cost optimization
  Across 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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
