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…
- arXiv
- 2612.03253
- Authors
- Weiliang Liu
- Categories
- cs.DC · cs.SE