OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modeling
Context lengths of language models (LMs) have dramatically increased, driven by the demands for in-context learning, self-improvement, and long-horizon agentic workflows. Existing long-context corpora, however, are dominated by books, academic articles, and code repositories, which are finite resources and often scarce in long-distance dependencies. In this work, we introduce OctoLong, a context engineering pipeline that instruments an AST parser, a language server backend, and a package manager
Record details
Published: 5 August 2026
Source: arXiv cs.AI
Category: Research
Topics: Agents & autonomy
Retrieved: 6 August 2026
Related evidence
These records share source-supplied organisations, an exact publisher byline, automatic topics or regions. The reason is shown on every link; related does not mean supporting, agreeing with or verifying this record.
Argus: A General-Purpose Agentic Runtime for Long-Horizon Reasoning
arXiv cs.AI · 5 August 2026
Characterizing Visual Accessibility Issues in AI Developer Tools: An Empirical Study
arXiv cs.HC · 5 August 2026
Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
arXiv red teaming query · 5 August 2026
ABSeeker: Training Long-Horizon Search Agents via Answer-Backtracked Credit Assignment
arXiv cs.AI · 5 August 2026
Failing Gracefully: Mitigating Impact of Inevitable Robot Failures
arXiv cs.HC · 5 August 2026
Hierarchical Graph Memory for LLM Agents with Path-level Localization and Rewrite
arXiv cs.AI · 5 August 2026
How to cite this record
ethics.ai (5 August 2026), “OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modeling,” evidence record 16911, https://ethics.ai/record/16911 (originally published by arXiv cs.AI).
Use and limitations
This page is a stable index and citation surface for a source record. ethics.ai did not author the underlying report and has not independently verified every claim. Automatic topics may be imperfect. For consequential use, quote and cite the original publisher.