WeaveLayer: A General-Purpose Inference Framework Designed to Be Built by Coding Agents

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.

Authors

Publication Details

Journal
arXiv
Published
2026-12-02
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

WeaveLayer: A General-Purpose Inference Framework Designed to Be Built by Coding Agents

Weiliang Liu
arXiv
Software Engineering Research
preprint

WeaveLayer: A General-Purpose Inference Framework Designed to Be Built by Coding Agents

Weiliang Liu
preprint en

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.

arXiv
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon