Papers
arxiv:2607.25431

CodeNib: A Multi-View Data System for Serving Repository Context to Coding Agents

Published on Jul 28
Ā· Submitted by
Zhongming Yu
on Jul 29
Authors:
,
,
,
,
,
,
,
,
,
,
,
,
,
,

Abstract

Coding agents repeatedly search, navigate, and retain context from evolving repositories, but disconnected indexes, language servers, and task-local histories force repeated discovery and obscure lifecycle costs. CodeNib builds reusable lexical, dense, and structural views per repository commit, maps outputs to repository-relative source ranges, maintains selected views across edits, and serves ranked search, symbol navigation, and bounded context through one runtime. Across 100 snapshots, we map quality-cost frontiers across the repository-context lifecycle. When outputs match an independent rebuild, graph and vector updates are 8.7times and 25.4times faster at the median. On the static-navigation subset matching normalized live-server locations (63% of 1,000 requests), the median per-request live/static latency ratio is 4.7times. Across five models, selected context policies preserve localization with 50--87% fewer trajectory tokens than paired grep/read. Together, these results support multi-view repository-context serving with explicit, operation-specific validity boundaries.

Community

Paper submitter

Coding agents keep rediscovering the same repository. CodeNib treats repo context as a data-systems problem: build lexical, dense, and structural views once per commit, maintain each through its own incremental path, and serve them as bounded agent context.

šŸš€ 8.7Ɨ/25.4Ɨ faster graph/vector updates than rebuilding (only counted where outputs match an independent rebuild)
🧭 4.7Ɨ lower median latency than a live LSP on compatible navigation requests
šŸŖ™ 50–87% fewer trajectory tokens than grep/read at matched localization quality, across 5 agent models

Code & artifacts: github.com/sysevol-ai/CodeNib

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2607.25431
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2607.25431 in a model README.md to link it from this page.

Datasets citing this paper 1

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2607.25431 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.