Writing & Contentđuniversal
VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?
Can AI Agents Build Bespoke LLM Serving Systems?
Quick Start
Install this Skill
npx skills add uw-syfi/vibe-serve# VibeServe: Can AI Agents Build Bespoke LLM Serving Systems? [](https://arxiv.org/abs/2605.06068) **An agentic loop that synthesizes bespoke LLM serving systems â one per (model, hardware, workload) target â instead of forcing every deployment through a single general-purpose runtime.** <p align="center"> <img src="docs/figures/idea.png" width="85%" alt="Generic serving today vs. VibeServe's per-target bespoke systems"> </p> ## Updates - **2026-05** â Blog post: [Let AI Agents Write Your Serving Stack with VibeServe](https://syfi.cs.washington.edu/blog/2026-05-12-introducing-vibeserve/). - **2026-05** â Paper released on arXiv: [2605.06068](https://arxiv.org/abs/2605.06068). ## Introduction VibeServe explores a new approach to LLM serving: instead of relying on one general-purpose runtime to support every model, workload, and hardware target, we use AI agents to generate bespoke serving systems for each deployment scenario. The project asks whether long-horizon coding agents can synthesize complete LLM serving stacks end-to-end, including scheduling, caching, runtime logic, correctness checks, and performance optimizations tailored to a specific target. The system is organized as a multi-agent optimization loop. An outer loop plans the search over system designs using persistent state such as issues, memory, and git history, while an inner loop implements candidate systems, validates correctness against a reference implementation, and measures performance on the target benchmark. Across standard and non-standard serving scenarios, VibeServe matches highly optimized systems like vLLM in mainstream deployments and achieves substantial gains in specialized settings involving predicted-output decoding, hybrid prompt caching, streaming ASR, constrained JSON decoding, multimodal inference, and Apple Silicon deployment. ## Architecture <p align="center"> <img src="docs/figures/architecture.png" width="90%" alt="VibeServe architecture: outer loop dispatches per-round tasks to an inner loop of Implementer / Accuracy Judge / Performance Evaluator agents"> </p> The framework factors the work along two axes: - **Outer loop** â a search policy operating over a git-recorded history of validated checkpoints. It picks the next optimization, dispatches one concrete task to the inner loop, and updates persistent planning state (issues, long-term memory file, commit graph). - **Inner loop** â three role-specialized coding-agent invocations on a shared workspace: - *Implementer* writes/edits the candidate serving system. - *Accuracy Judge* runs the user-supplied checker against the reference and inspects diffs/runtime behavior for reward-hacking patterns; only correct candidates exit the inner loop. - *Performance Evaluator* profiles the implementation (Nsight Systems, PyTorch profiler) and feeds bottleneck hints back to the policy. - **Skills library** â Agent Skills entries distilled from existing serving engines and research literature (continuous batching, paged-KV, FlashInfer/FlashAttention, MLX, hybrid-cache management, âĻ). New model families, hardware platforms, and optimization techniques are added by writing a skill, not by modifying the framework. - **Execution environment** â an isolated workspace that mounts the user-provided artifacts read-only (so the Implementer cannot edit the checker or reference) and exposes the target hardware (local CUDA, Modal, Docker, or Apple Silicon) plus profilers. Each candidate is a git commit; the outer loop only advances on Judge-validated implementations, so incorrect candidates can never derail subsequent rounds. ## Installation Requires Python 3.11+. ```bash uv sync cp .env.example .env # provider keys (Anthropic / OpenAI / Vertex / âĻ) cp agent.toml.example agent.toml ``` ## Quickstart ```bash # Issue-tracker outer loop, Codex CLI, Docker on local CUDA, 4 rounds vibe-serve \ --ref examples/moonshine-streaming/reference \ --acc-checker examples/moonshine-streaming/accuracy_checker \ --bench examples/moonshine-streaming/benchmark \ --exp-name my-experiment \ --docker \ --agent-backend cli --cli-provider codex \ --max-rounds 4 \ --modality speech_to_text ``` `--outer-loop` defaults to `agent`. Pass `--outer-loop plain` or `--outer-loop evolve` to switch. See `vibe-serve --outer-loop <kind> --help` for loop-specific flags. See `vibe-serve --outer-loop <kind> --help` for loop-specific flags. A separate entry point exposes the issue MCP server used by the plain loop: ```bash vibe-serve-issue-mcp # serves issues.json over MCP ``` ## Domains â pointing vibeserve at your problem space A **domain** is the bundle of cross-cutting context the agents need for whatever you're building: the background knowledge the implementer must read, and the correctness/performance/integrity gates the judge enforces. It answers *"what kind of system is this, ... (truncated)
Repository
79stars
16forks
Details
Related Skills
More writing & content skills you might like
gpt-researcher
Writing & ContentGPT Researcher is an autonomous deep research agent that conducts web and local research, producing detailed reports with citations. Use this skill when helping developers understand, extend, debug, or integrate with GPT Researcher - including adding features, understanding the architecture, working with the API, customizing research workflows, adding new retrievers, integrating MCP data sources, or troubleshooting research pipelines.
â¨geminiđ¤claudeđŦgptđuniversal
27.4k
3.7k
View
xiaohu-wechat-format
Writing & ContentClaude Code å
Ŧäŧåˇä¸éŽæį+å叿čŊ | Markdown â 垎äŋĄå
ŧ厚 HTML â æ¨éčį¨ŋįŽą | 30 åĨä¸ģéĸ + å¯č§åįģåģ
đ¤claudeđuniversal
351
42
View
twitter-algorithm-optimizer
Writing & ContentAnalyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights. Rewrite and edit user tweets to improve engagement and visibility based on how the recommendation system ranks content.
â¨geminiđ¤claudeđŦgptâ¨ī¸cursor
77.0k
9.1k
View
yara-rule-authoring
Writing & ContentGuides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.
đuniversal
7.5k
643
View