Manu Agrawal
8 pages, 3 figures. Reproducibility artifacts and source-linked evaluation code: https://github.com/manu2/Context-Aware-Agent-Experiment
Telling an LLM the execution environment's RAM and time limits before it writes code (substrate awareness) makes it proactively choose lower-memory, faster implementations, without any algorithmic hint or repair loop.
Single-turn numerical code generation: an 8,000 x 1,024 float32 pairwise Euclidean-distance task given to three frontier configurations (Claude Opus 5, GPT-5.6-Sol, Gemini 3.7 Flash), five samples per condition, with versus without a 128 MB / 10 s contract, plus a 96 MB extension. Outcomes: correctness, peak RSS (MaxRSS), wall time on a pinned local Python 3.9 environment.
Contract disclosure lowered peak memory in 13 of 14 executable paired comparisons and cut mean wall time 1.68x to 3.09x across cohorts. At 96 MB, correct-and-within-budget outcomes were 4/5 (Claude), 5/5 (GPT), 3/5 (Gemini) versus 0/5, 1/5, 0/5 task-only; mean MaxRSS fell 49-74% and wall time 35-64%. Effect demonstrated on exactly one task, one runtime, tiny n=5 per condition.
Authors concede cohorts are independently sampled, not statistically matched; configurations are diverse rather than tier-matched; results are descriptive with no significance testing; one task and one deployment environment only; the broader agenda (runtime versions, GPUs, tools, quotas) is untested. Obvious unstated limits: n=5 per cell, single deterministic micro-benchmark, measured MaxRSS may not reflect cloud billing or production workloads, and results may not generalize beyond numerical NumPy code.
This is a proof of concept at toy scale: one synthetic task, five samples per condition, no error bars, no baseline of simply asking models to write efficient code (efficiency-focused prompting without limits), and possible prompt-sensitivity, a different phrasing of the constraint could change outcomes. A single-author arXiv paper with a hand-built benchmark could reflect prompt-engineering rather than a general substrate-awareness principle, and 'up to 3.1x faster' headlines the best cohort.
Little or nothing yet economically. If the principle generalizes, agent harnesses that pass deployment contracts into planning context could cut cloud compute waste and first-pass deployment failures in agentic coding products, but this paper alone does not establish that at production scale.
Technical Capability: Agent builders get controlled evidence that injecting execution constraints into the planning context changes first-pass implementation choices, a cheap, training-free intervention worth testing in real harnesses.
Market & Valuation: Cloud and agent-platform vendors have a small early signal that context-exposing features (contract injection) could differentiate agent runtimes by reducing over-provisioned compute and failed deployments.