VibeServe: Multi-Agent Synthesis of Bespoke LLM Serving Systems

VibeServe (arXiv:2605.06068) replaces one-size-fits-all inference runtimes with a two-level coding-agent pipeline that synthesizes bespoke LLM serving systems per model, hardware, and workload. Across six evaluations, VibeServe matches vLLM on Llama-3.1-8B (H100), achieves 5.95x speedup on Qwen3-32B predicted code edits, and 3.45x on Olmo-Hybrid-7B DeltaNet prompt caching.
VibeServe: Multi-Agent Synthesis of Bespoke LLM Serving Systems: VibeServe (arXiv:2605.06068) replaces one-size-fits-all inference runtimes with a two-level coding-agent pipeline that synthesizes bespoke LLM serving systems per model, hardware, and workload. Across six evaluations, VibeServe matches vLLM on Llama-3.1-8B (H100), achieves 5.95x speedup on Qwen3-32B predicted code edits, and 3.45x on Olmo-Hybrid-7B DeltaNet prompt caching. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Parity on Heavily Tuned Stacks: Matches vLLM token throughput/TPOT on Llama-3.1-8B (H100) and exceeds SGLang by 5% throughput and 3% TTFT.
- 5.95x Code-Editing Speculative Speedup: Exploits predicted-output verification in 16-token blocks on Qwen3-32B without needing a draft model.
- 3.45x Hybrid DeltaNet Prefix Caching: Snapshots per-DeltaNet recurrent state alongside KV blocks on Olmo-Hybrid-7B (L4) for 32K shared prefixes.
- 6.27x Local Apple Silicon Acceleration: Ports Show-o2 1.5B-HQ to MLX with K=16 CFG striding, reaching within 7% of the fp16 hardware floor.
- Read-Only Correctness Sandboxing: Mounts reference weights, accuracy checkers, and workload profilers read-only so agents cannot game evaluations.
import { createAgent } from "@smoke-monkey/harness";const servingArchitect = createAgent({agentId: "vibeserve-outer-planner",provider: "anthropic",model: "claude-sonnet-4-5",workspacePath: process.cwd(),permissions: {read_file: "allow",write_file: "allow",run_command: "ask",},});async function synthesizeServingStack() {const result = await servingArchitect.run("Mount ./reference_model and ./verify_accuracy.py read-only, profile baseline " +"TTFT/TPOT with PyTorch profiler, implement CUDA-graph + dual-state prefix cache " +"in src/serving_engine.py, and verify parity before benchmarking concurrency 32.");console.log("[VibeServe Architect] Result:", result.summary);}synthesizeServingStack().catch(console.error);
Watch: Related Video Guides
What is vLLM? Efficient AI Inference for Large Language Models
Understanding vLLM with a Hands On Demo
What Is VibeServe? Generation-Time Specialization Over Runtime Generality
VibeServe (arXiv:2605.06068, University of Washington) tests whether autonomous coding agents can synthesize specialized end-to-end LLM serving systems tailored to a specific model architecture, accelerator, and traffic pattern. Rather than maintaining one massive generic runtime like vLLM or TensorRT-LLM for niche architectures, VibeServe uses an outer planning loop and an inner implement-verify-benchmark loop coordinated over an MCP server.
Each iteration mounts four user artifacts read-only inside an isolated GPU workspace: (1) model weights and a slow reference implementation, (2) an executable accuracy checker, (3) a target workload benchmark script, and (4) natural-language deployment constraints. Read-only mounts ensure the Implementer cannot alter correctness tests, while Nsight Systems and PyTorch profilers guide kernel, CUDA-graph, and KV/state-caching optimizations.
6-Scenario Benchmark Results: H100, L4, and Apple Silicon vs. vLLM & SGLang
Evaluated across six production scenarios spanning standard transformers, hybrid Gated DeltaNet models, streaming ASR, and Apple M3 Pro (36 GB) local inference, VibeServe matches tuned general-purpose servers on standard paths and beats them by 1.69x–6.27x on specialized workloads:
| Scenario | Model & Hardware | Baseline | VibeServe Speedup / Result | Key Generated Optimization |
|---|---|---|---|---|
| A: Standard Serving | Llama-3.1-8B-Instruct (H100) | vLLM / SGLang | vLLM parity; +5% tok/s, +3% TTFT vs SGLang | 60-iter throughput + latency tuning (8–128 req/s) |
| B: Predicted-Output Edit | Qwen3-32B / CodeEditorBench (H100) | vLLM (no/draft spec-dec) | 5.95x vs vanilla; 2.0x vs vLLM spec-dec | 16-token user-prediction verifier (0 draft compute) |
| C: Hybrid Prompt Cache | Olmo-Hybrid-7B 32K prefix (L4) | vLLM (recomputes DeltaNet) | 3.45x token throughput | Attention KV blocks + DeltaNet recurrent-state snapshots |
| D: Streaming ASR | Moonshine Streaming medium (L4, c=32) | vLLM Moonshine plugin | 1.69x TTFT speedup | First-class paged KV cache for sliding-window encoder |
| E: Constrained JSON | Llama-3.1-8B (M3 Pro MacBook) | 22.1 s autoregressive | 8.6 s (2.6x) | XGrammar + 1B-4bit draft (K=4) + 2048 prefill chunk |
| F: Unified VLM Image | Show-o2 1.5B-HQ (H100 / M3 Pro) | 873 ms (H100) / PyTorch-MPS | 687 ms (-21.4%) / 6.27x (15.54 s) | MLX port + active-span trim + K=16 CFG stride |
Reproducing VibeServe's Read-Only Workspace & Evaluation Loop
VibeServe's reference code and scenario harnesses are published at github.com/uw-syfi/vibe-serve. Setting up a target contract requires separating mutable serving code from immutable verification harnesses:
# 1. Clone VibeServe and inspect scenario contracts
git clone https://github.com/uw-syfi/vibe-serve.git && cd vibe-serve
ls -la scenarios/ # standard_llm, predicted_output, olmo_hybrid, moonshine_asr, json_mac, show_o2
# 2. Enforce read-only mounts for reference model, accuracy checker, and benchmark
chmod -R a-w ./contracts/reference_impl ./contracts/verify_accuracy.py ./contracts/bench.py
# 3. Profile CUDA graph capture & kernel bottlenecks inside inner loop
nsys profile --trace=cuda,nvtx -o ./traces/candidate_iter python bench.py --concurrency 32Notice how Scenario E on Apple Silicon demonstrates empirically grounded pruning: VibeServe evaluated a 3B-4bit draft model, K/V quantization, and mx.compile, found they regressed latency on M3 Pro, and reverted to the Llama-3.2-1B-Instruct-4bit draft (K=4) plus prefill_step_size=2048.
Implementing VibeServe's Dual-Loop Pattern in Smoke Monkey Harness
VibeServe's architecture maps cleanly onto Smoke Monkey Harness's deterministic 6-phase loop (Explore -> Plan -> Edit -> Verify -> Recover -> Complete). By decoupling role responsibilities—one agent planning git-checkpointed experiments over an MCP issue tracker, one Implementer writing kernels, and a strictly isolated Accuracy Judge running immutable tests—you prevent reward hacking.
In Smoke Monkey Canvas, teams can wire an Nsight/PyTorch profiler MCP tool alongside a read-only CI harness so autonomous systems agents iteratively optimize custom Triton kernels, MLX pipelines, or hybrid SSM-Attention caches safely.
Never Let Optimizing Agents Edit Accuracy Checkers
Always mount accuracy-verification scripts and reference outputs read-only (or evaluate them in a separate container/subagent) so candidate loops cannot relax tolerances to chase fake speedups.
Frequently Asked Questions
Q:Can VibeServe match human-engineered serving stacks like vLLM and SGLang?
Yes. On Llama-3.1-8B-Instruct on an NVIDIA H100 across 8 to 128 req/s, VibeServe reaches parity with vLLM on token throughput and TPOT (within 5% on TTFT) and outperforms SGLang by 5% on throughput and 3% on TTFT.
Q:Why does VibeServe achieve 5.95x speedup on Qwen3-32B code editing?
Code-editing workloads overlap heavily with the existing file. VibeServe synthesizes a custom predicted-output verifier in 16-token blocks that verifies user-predicted tokens in one target forward pass—delivering 5.95x over vanilla vLLM and 2.0x over draft-model speculative decoding with zero draft-model compute.
Q:How does VibeServe accelerate hybrid models like Olmo-Hybrid-7B?
Olmo-Hybrid-7B mixes attention layers with Gated DeltaNet layers that standard vLLM cannot share across requests. VibeServe builds a dual prefix cache storing both attention KV blocks and DeltaNet recurrent-state snapshots, yielding 3.45x higher throughput on 32K shared prefixes.
Q:How does VibeServe prevent coding agents from cheating on correctness tests?
Each candidate executes in an isolated workspace where reference weights, accuracy-checking scripts, and benchmark harnesses are mounted read-only, while separate Accuracy Judge and Performance Evaluator roles validate every git checkpoint.
Q:Does VibeServe work on Apple Silicon MacBooks as well as NVIDIA GPUs?
Yes. On an Apple M3 Pro (36 GB), VibeServe reduced Llama-3.1-8B constrained JSON latency from 22.1 s to 8.6 s (2.6x) and accelerated Show-o2 1.5B-HQ image generation 6.27x over PyTorch-MPS by porting to MLX and using K=16 CFG striding.
Related Alternatives & Comparisons
Claude Code Runtime Alternative: Open Source Stdio MCP Agent Harness
Open Source Devin Alternative: Build Autonomous Software Engineers in TypeScript
Google Antigravity Alternative: Free Model-Neutral Agent + Canvas (2026)
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.