OPEN SOURCE. OPEN POSSIBILITIES.

Your agent harness.
Now on vLLM.

vLLM Agentic API is the agentic server that lets you run Codex and Claude Code on top of vLLM.

Bring the tools you love to the open models you choose. We handle the state, tools, and execution in between.

APACHE 2.0BUILT IN RUSTPOWERED BY vLLM
THE AGENTIC STACK01 — 03
Codex
Claude Code
Your app
HTTP · SSE · WebSockets
Agentic APITHE APPLICATION LAYER
RUST
State Tools Execution
Reason → call tools → continue
MODEL INFERENCE
vLLMINFERENCE ENGINE

Open models. Your GPUs.

(SGLang and Dynamo also supported)

You own every layer.
One application layer.Conversations+Built-in tools+Multi-turn execution+WebSockets
BUILT FOR THE AGENT LOOP

Inference is the start.
Keep the agent going.

vLLM serves the model. Agentic API carries the conversation forward, executes built-in tools on the gateway, and connects every turn.

01 / CONTEXT

A conversation that carries forward.

Keep item history and response state on the server. Continue with previous_response_id, without rebuilding the transcript on every call.

response_01response_02response_03
02 / ACTION

Tools, with the server in the loop.

Execute built-in web search and tools from Model Context Protocol (MCP) servers on the gateway. Tool call outputs flow back to the model so it can take the next step.

web_search MCP toolsGATEWAY-EXECUTED
03 / EXECUTION

One request.
Multiple inference rounds.

Let the gateway coordinate model calls and built-in tools until the response is ready or the client needs to act.

REASON → ACT → CONTINUE
04 / TRANSPORT

Stay connected.
Keep streaming.

Use HTTP for requests, server-sent events (SSE) for streamed responses, and WebSockets for interactive Responses API clients.

HTTPSSEWS
05 / INFERENCE

Open models.
Your choice.

Connect to compatible open models served by vLLM. Choose the model and tool-calling configuration for your workload.

EXPLORE SETUP

Clear execution boundaries. Codex and Claude Code still execute their own shell and editor tools. Agentic API runs the tools assigned to the gateway.

ACROSS THE OPEN INFERENCE STACK

Bring your serving stack.

Built for vLLM, with recorded integration tests for SGLang and NVIDIA Dynamo covering streaming, multi-turn state, and client-executed function calls.

FROM MODEL TO AGENT

Same workflow.
Your infrastructure.

Point your coding agent at Agentic API. Keep your familiar workflow, with an open model behind it.

  1. 01
    Serve your model

    Run a tool-capable model with vLLM. The example uses an upstream on port 5050.

  2. 02
    Build Agentic API

    Install Rust, clone the repository, and build the gateway and CLI.

  3. 03
    Launch your client

    Install Codex or Claude Code, then choose your client and served model.

Read the full setup guide
QUICKSTARTbash
Build from source
git clone https://github.com/vllm-project/agentic-api.git
cd agentic-api
cargo build -p agentic-server --bins
Launch Codex
./target/debug/agentic run codex \
  --upstream http://127.0.0.1:5050 \
  --model Qwen/Qwen3-30B-A3B-FP8
Use the model ID served by your vLLM instance.
BUILT IN THE OPEN

Better agents.
Built together.

Meet the people building the application layer for open-model agents. There’s room for your ideas, your fixes, and your next contribution.

Join us in #sig-agentic-api on the vLLM Slack.

People helping make Agentic API better.

Make your first contribution