Published June 3, 2026 | Version 1.0.0
Preprint Open

Token Budget Contracts for Multi-Agent Large Language Model Orchestration with Confidence-Gated Retrieval

Description

Multi-agent large language model (LLM) systems consume tokens at four to fifteen times the rate of single-agent calls, with no formal mechanism to bound per-agent consumption or enforce minimum response quality. This paper introduces Token Budget Contracts (TBC), a declarative resource protocol for multi-agent LLM orchestration comprising three patentable elements: (1) a formal contract schema TBCᵢ = (Imax, Omax, Cmin, Priority, Dependencies) declared per agent; (2) a priority-weighted dynamic reallocation algorithm δ = min(R, α × Pw × deficit × Imax) that transfers unused budget to agents exhibiting confidence deficits; and (3) an Adaptive Confidence-Gated Retrieval (CGR) mechanism that calibrates per-agent retrieval thresholds using the objective θᵣ = argmax[Accuracy(C≥θ) − λ × RetrievalCost(C<θ)] over a rolling measurement window. A fully functional Python implementation with 72 passing tests demonstrates 40–60% token reduction at 97%+ accuracy preservation and approximately 46% hallucination reduction relative to unconstrained baseline operation. Patent Pending — US Provisional Application No. 64/081,925, filed June 3, 2026.

Files

FIG1_system_architecture.png

Files (3.9 MB)

Name Size Download all
md5:d600ad27b105f3d208063dc70d3674d8
1.7 kB Download
md5:ebae901fb5c15dad0991d82251b3a58c
12.8 kB Download
md5:906fe34be6ea4c1b22f04244bb4806ed
355.4 kB Preview Download
md5:7387eba679aff2f6ca9b01d731777f21
299.3 kB Preview Download
md5:6665a5de161bb5d85ab25f9c2556ce64
321.6 kB Preview Download
md5:9f617ddc360b2866c24d28fb642b6b68
303.0 kB Preview Download
md5:cdf3f8dcac994ad10146091260068eef
319.4 kB Preview Download
md5:780a99f50229eff661635ea726defe44
371.2 kB Preview Download
md5:0606d80b56052438bb5cc1d2e389207d
10.8 kB Download
md5:3efb2db334db3912707cc60095c6d75b
11.4 kB Download
md5:823028c78e1e8291bfa43f9fcfe9c83f
31.2 kB Download
md5:032eddf1638d0e300ad596d9711c6bd8
6.4 kB Preview Download
md5:a6b432577180ee5feb07b6c836b6d72a
1.3 MB Preview Download
md5:6bbb2c122f217b8053b96e4e9a73b942
161.7 kB Preview Download
md5:f61a9a2c39ee143ec0939797f24b6c06
360.6 kB Preview Download
md5:9229c433a0cc8904b3f27cc1bb196123
27.1 kB Download
md5:ee7154b7f6e40743f65804f1b62de775
10.2 kB Download

Additional details

Related works

Cites
Preprint: arXiv:2308.08155 (arXiv)
Preprint: arXiv:2005.11401 (arXiv)
Preprint: arXiv:2201.11903 (arXiv)
Is supplement to
Software: https://github.com/swaranshu-borgaonkar/Research_TBC.git (URL)
Patent: https://patentcenter.uspto.gov (URL)

Software

Repository URL
https://github.com/swaranshu-borgaonkar/Research_TBC.git
Programming language
Python
Development Status
Active