Architecture
~9 min readUpdated: November 2026

VibeServe: Multi-Agent Synthesis of Bespoke LLM Serving Systems

VibeServe Multi-Agent Synthesis of Bespoke LLM Serving Systems in Smoke Monkey

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.

Technical Review: Smoke Monkey Core Architecture Team
Tested on Node.js 18+ & BunTypeScript 5.x
Quick Answer & Executive Definition

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.

Key Architectural Takeaways
Quick Implementation Examplevibeserve-serving-synthesizer.ts
vibeserve-serving-synthesizer.tstypescript
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);
Video Guides

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:

ScenarioModel & HardwareBaselineVibeServe Speedup / ResultKey Generated Optimization
A: Standard ServingLlama-3.1-8B-Instruct (H100)vLLM / SGLangvLLM parity; +5% tok/s, +3% TTFT vs SGLang60-iter throughput + latency tuning (8–128 req/s)
B: Predicted-Output EditQwen3-32B / CodeEditorBench (H100)vLLM (no/draft spec-dec)5.95x vs vanilla; 2.0x vs vLLM spec-dec16-token user-prediction verifier (0 draft compute)
C: Hybrid Prompt CacheOlmo-Hybrid-7B 32K prefix (L4)vLLM (recomputes DeltaNet)3.45x token throughputAttention KV blocks + DeltaNet recurrent-state snapshots
D: Streaming ASRMoonshine Streaming medium (L4, c=32)vLLM Moonshine plugin1.69x TTFT speedupFirst-class paged KV cache for sliding-window encoder
E: Constrained JSONLlama-3.1-8B (M3 Pro MacBook)22.1 s autoregressive8.6 s (2.6x)XGrammar + 1B-4bit draft (K=4) + 2048 prefill chunk
F: Unified VLM ImageShow-o2 1.5B-HQ (H100 / M3 Pro)873 ms (H100) / PyTorch-MPS687 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:

bash
# 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 32

Notice 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.

Google Search Questions & Answers

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

Related Architecture Guides

View all guides

Build with Smoke Monkey Harness

Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.

npm install smoke-monkey-harness