2026-11-26 15:47 UTC

ByteAsk preprint reports equal tested C++ fixes with lower token and cost use

state: significantheat: lowuncertainty: highrelevance: highcoding-agents cpp verification inference-costPratyush SainiAnirudha KulkarniByteAsk

What is this?

ByteAsk Research’s November 9, 2026 preprint by CTO Pratyush Saini and CEO Anirudha Kulkarni presents a coding-agent system for C and C++. Its build-aware context engine identifies likely edit locations, related code and relevant tests before the model edits; a targeted checking loop then tests the change. The authors compare it with OpenAI Codex CLI using the same model and report equal fixes across the tested runs with fewer tokens and lower cost. This is a company-authored preprint, not independent validation; the supplied sources provide no external reproduction.

Why it matters

The potential for cheaper work in complex C/C++ repositories remains meaningful, but the claims are still limited to the authors’ tests and have not been independently established.

Current assessment

ByteAsk Research’s November 9, 2026 preprint describes a C/C++ coding agent that uses build-aware context to identify likely edit locations and relevant tests, then checks changes. Its authors report that ByteAsk and Codex CLI using the same model each fixed 129 of 144 runs, while ByteAsk used 63–80% fewer tokens and cost 59–70% less across task sets. These are company-authored results without independent confirmation in the available evidence; how representative the tasks are and whether results generalize to other models, projects, or workflows remain open questions. The paper links code and data, but no independent replication or adoption evidence is available. If the findings generalize, this approach could lower the cost of coding agents for difficult systems software. The episode remains relevant but is not currently gaining attention.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 434h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-08 13:00⭐ origin echo-reconstructedThe preprint describes a C/C++ agent that uses build-aware context to locate relevant code and tests, then reports matching Codex CLI fixes
Pratyush Saini and Anirudha Kulkarni on paper (echo) · attributed from hn.story.50434555
—
11-10 00:39first on hacker news · published · +35.7hByteAsk: Build-Aware Context and a Checking Harness for C++ Coding Agents
anirudhak
—
11-10 00:39amplified on hacker news 👑hn.story.50434555
anirudhak
peak 2 · 0 comments · 69% of case engagement
11-11 01:08amplified on hacker newshn.story.50448569
anirudhak
peak 1 · 0 comments · 34% of case engagement
11-10 01:20our radar first saw it · +36.3hdiscovery anchor: hn.story.50434555—
pace: p35 vs 1845 stories at the 336h mark (now 434h old) — ahead of adobe-max-ai-agents-creative-tools-mcp (1.5x), behind 42loop-agent-operated-product-experiment (0.8x)

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnByteAsk: Build-Aware Context and a Checking Harness for C++ Coding Agents
Retrieved article excerpt

Open article · Retrieved 2026-11-10T01:21:35.595378+00:00

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

Pratyush Saini, CTO, ByteAsk Research; Anirudha Kulkarni, CEO, ByteAsk Research · [[email protected]](https://byteask.ai/cdn-cgi/l/email-protection#e2929083969b97918aa2809b9687839189cc838b) · [[email protected]](https://byteask.ai/cdn-cgi/l/email-protection#42232c2b3037262a2302203b36272331296c232b) · November 9, 2026 · Preprint · 4 pages

[Read paper (PDF)](https://byteask.ai/papers/byteask-system-cpp-2026-11.pdf?v=8)[Download PDF](https://byteask.ai/papers/byteask-system-cpp-2026-11.pdf?v=8)[Cite this paper](https://byteask.ai/research/byteask-system-cpp#cite)[Code and data](https://github.com/ByteAsk/byteask-system-cpp)

[First page of the paper](https://byteask.ai/papers/byteask-system-cpp-2026-11.pdf?v=8)

## Key findings

1. 01Same fixes as Codex CLI on the same model: 129 of 144 runs fixed by each.
2. 0263–80% fewer tokens and 59–70% lower cost in every task set.
3. 03The 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

A row of five steps: the issue text goes to Context, which understands the code as the build sees it; Context returns where to change, its siblings and the tests that cover it; the AI model edits; a targeted check confirms the change and can send it back to the model.

Scroll sideways for the full figure. [Open full-size figure](https://byteask.ai/img/research/byteask-system-cpp/figure-system-1374.webp?v=4)

ByteAsk's approach. Before the model starts, Context identifies where the change belongs, which related places may need the same change and which tests cover them; the model edits, and a check limited to those tests confirms the change. Figure 1 of the paper.

## 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}}
}
```

Copy citation

Questions about the study: [[email protected]](https://byteask.ai/cdn-cgi/l/email-protection#34575b5a4055574074564d405155475f1a555d)[← All research](https://byteask.ai/research)
anirudhak20
🟧 echo.paper ⭐The preprint describes a C/C++ agent that uses build-aware context to locate relevant code and tests, then reports matching Codex CLI fixes Pratyush Saini and Anirudha Kulkarni——
🟧 hnBuild-Aware Context and a Checking Harness for C++ Coding Agentsanirudhak10

Interpretation history

Decision trace