cd /news/ai-agents/byteask-build-aware-context-and-a-ch… · home › topics › ai-agents › article
[ARTICLE · art-166634] src=byteask.ai ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

ByteAsk: Build-Aware Context and a Checking Harness for C++ Coding Agents

ByteAsk Research's ByteAsk coding agent fixed 129 of 144 runs on C++ issues, matching OpenAI's Codex CLI on the same underlying model while using 63–80% fewer tokens and costing 59–70% less, according to a November 2026 preprint by Pratyush Saini and Anirudha Kulkarni. ByteAsk's context engine reads a C/C++ codebase through the project's own build to locate where a change belongs, which related places need the same change, and which tests cover them, then checks the edit against only those tests. The authors report the largest savings, about 80% fewer tokens, on little-known and hard C++ projects, a setting where agents struggle to find where a change belongs.

read2 min views1 publishedNov 10, 2026
ByteAsk: Build-Aware Context and a Checking Harness for C++ Coding Agents
Image: source

Key findings #

  1. Same fixes as Codex CLI on the same model: 129 of 144 runs fixed by each.
  2. 63–80% fewer tokens and 59–70% lower cost in every task set.
  3. The biggest savings come on little-known and hard C++ projects: about 80% fewer tokens.

Abstract #

Large language model (LLM) coding agents have changed how people write software: a developer describes a change in plain language and the agent finds, edits, and tests the code. Most of this progress, however, has concentrated on a few widely used languages, Python above all. C and C++, which still underpin operating systems, browsers, databases, and embedded software, remain far less explored, even though their large, build-dependent codebases are exactly the setting in which agents struggle to find where a change belongs. We propose ByteAsk, a coding agent built for C and C++. At its core is a context engine that understands a codebase the way the project's own build does. Before the model starts, the engine tells it where the change belongs, which related places may need the same change, and which tests cover them; ByteAsk then checks the change against only those tests. We compare ByteAsk with OpenAI's Codex CLI running the same underlying model, on recent issues from popular and little-known C++ projects and on a small set of hard issues. Both agents fix the same number of runs in every set (129 of 144 each, across the two main sets), but ByteAsk uses 63–80% fewer tokens and costs 59–70% less.

How ByteAsk works #

Cite this paper #

Pratyush Saini and Anirudha Kulkarni. ByteAsk: Build-Aware Context and a Checking Harness for C++ Coding Agents. ByteAsk Research, preprint, November 2026. byteask.ai/research/byteask-system-cpp

@misc{saini2026byteasksystem,
  title        = {ByteAsk: Build-Aware Context and a Checking Harness for C++ Coding Agents},
  author       = {Saini, Pratyush and Kulkarni, Anirudha},
  year         = {2026},
  month        = nov,
  institution  = {ByteAsk Research},
  howpublished = {\url{https://byteask.ai/research/byteask-system-cpp}},
  note         = {Preprint. Code and data: \url{https://github.com/ByteAsk/byteask-system-cpp}}
}

Questions about the study: [email protected] All research

── more in #ai-agents 4 stories · sorted by recency
── more on @byteask 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/byteask-build-aware-…] indexed:0 read:2min 2026-11-10 · —