WeaveLayer: A General-Purpose Inference Framework Designed to Be Built by Coding Agents
Abstract
Traditional inference frameworks put a human reviewer on every change; existing purely agent-driven systems build a serving stack for one deployment at a time. WeaveLayer takes a path between the two: it is a general-purpose inference framework that one engineer develops by directing coding agents. It is not limited to one type of model: it serves LLM, vision-language, speech and video models, among others. No human routinely reviews its changes line by line, yet the engineer stays deeply involved, owning direction, architecture and code taste, and reviewing the modules they care about; agents write, independently review, debug and continuously refactor the code. Its development rules go with human nature instead of against it: code expands and then contracts, and users get fewer guarantees and are asked for more. In addition, testing is optimized as the new bottleneck, and inference know-how is distilled into skills tested by blind replay. The framework design serves this method: AI acts as the compiler and code is the IR; Ops are self-contained, the runtime is model-agnostic, and a model is just a weave of layers (Ops), so most work on a model stays in its own code. On DeepSeek-V4.1-Flash under InferenceX AgentX on GB300, two months after the model's release, WeaveLayer leads the official vLLM and SGLang results at equal interactivity: by a median of 144% and 70% in throughput per GPU in aggregated serving, and by 15% and 21% in disaggregated serving. With aggregated configurations of its own, WeaveLayer further extends the highest throughput by 80% and the highest interactivity by 21% beyond the best aggregated vLLM or SGLang result, at matched precision under the benchmark's rules.
Create a lesson
Metadata
- Categories
- cs.DC, cs.SE
Related papers
ForkTide: Lineage-Aware Placement for Branching Code-Agent Sandboxes
Shared title terminologycs.DCQibin Gu
CAIEC: Co-Accelerating Inference and Entropy Coding for Learning-Based Scientific Data Compression
Shared title terminologycs.DCWenjing Huang, Yuhan Chen, Bing Lu et al.
TokenSimV3: Full-Stack Simulation for Agentic LLM Serving and Hardware-Software Co-Design
Shared title terminologycs.DCZhuohang Bian, Songhan Huang, Zhuoran Li et al.
When, Which, and What to Fork: The Launch-Policy Design Space for LLM Agents
Shared title terminologycs.DCZirui Wang, Mohamed M. Kassem, Adam Barker
Big Data Architecture for Large Organizations:Incorporating Generative AI and Agentic AI
Shared title terminologycs.DCFathima Nuzla Ismail, Shanika Amarasoma, Abira Sengupta
Toward an Adaptive Optimizer for Generative Inference with Large Language Models
Shared title terminologycs.DCRuben Mayer, Nikita Agrawal, Alisa Pogodaeva