Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

CodeNib: Multi-View Data System Boosts Coding Agent Efficiency by Up to 25x

AI By Crimson AI Hugging Face Papers 29 July 2026 · 00:00 22 views
Share: X Telegram

Hugging Face researchers introduce CodeNib, a data system that builds reusable lexical, dense, and structural views per repository commit, achieving up to 25.4x faster vector updates and 4.7x lower latency than live servers, while reducing trajectory tokens by 50–87%.

CodeNib: Multi-View Data System Boosts Coding Agent Efficiency by Up to 25x

Key points

Researchers from Hugging Face have unveiled CodeNib, a novel multi-view data system designed to streamline how coding agents access and maintain repository context. The system addresses a fundamental inefficiency: agents repeatedly search, navigate, and retain context from evolving codebases, often relying on disconnected indexes and task-local histories that force redundant discovery.

CodeNib treats repository context as a data-systems problem. It builds three types of views—lexical, dense (vector), and structural—for each commit. These views are maintained incrementally and served through a single runtime that supports ranked search, symbol navigation, and bounded context retrieval. The system maps all outputs to repository-relative source ranges and maintains selected views across edits.

In evaluations across 100 repository snapshots, CodeNib demonstrated significant performance gains. When outputs matched an independent rebuild, graph updates were 8.7× faster and vector updates 25.4× faster at the median. On static-navigation requests that matched normalized live-server locations (63% of 1,000 requests), the median per-request live-to-static latency ratio was 4.7× in favor of CodeNib.

Further testing across five agent models showed that CodeNib's context policies preserved localization quality while using 50–87% fewer trajectory tokens compared to paired grep/read approaches. The system establishes explicit, operation-specific validity boundaries for each view, ensuring consistency and reliability.

The code and artifacts are available on GitHub at github.com/sysevol-ai/CodeNib. The paper also highlights related works including Agent Retrieval Bench and Agent Memory, indicating growing interest in optimizing agent-context systems.

MetricImprovement
Graph update speed vs. rebuild8.7× faster (median)
Vector update speed vs. rebuild25.4× faster (median)
Latency vs. live server (static navigation)4.7× lower (median)
Trajectory token reduction (vs. grep/read)50–87% fewer
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 31 Aug 2026

Hugging Face Unveils StepGuard: Step-Level Guardrails for Safer AI Agents

StepGuard, a new step-level guard model from Hugging Face, audits agent actions before execution, reducing attack success rates by...

1
Research paper
Hugging Face 31 Aug 2026

Hugging Face Researchers Unveil ABot-Recon for Stable Long-Horizon 3D Reconstruction

ABot-Recon, a new streaming 3D reconstruction model from Hugging Face, achieves stable long-horizon performance using only local t...

1
Research paper
Hugging Face 31 Aug 2026

ContextPilot: Teaching Agents Proactive Context Management via Fine-Grained RL

Hugging Face researchers introduce ContextPilot, a framework that enhances long-horizon agent reasoning by expanding context-editi...

1