← Back to Leaderboard
Avllm-project

vllm-project/agentic-api

A Rust gateway that adds conversation state and tool execution to model servers

Engineering Health (Methodology)
A+ · 93/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.10.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedLocal AIMCPAPI
Total Stars
★ 367
24h Growth
+1
7d Growth
+7
Forks
117

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

vllm-project/agentic-api Star History (2026-03-22 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +366 in 256d · avg +1/day 387 194 0 2026-03-22: ★ 12026-04-11: ★ 212026-05-02: ★ 222026-05-23: ★ 242026-06-13: ★ 312026-07-04: ★ 382026-07-25: ★ 542026-08-15: ★ 662026-09-05: ★ 1712026-09-26: ★ 2962026-10-17: ★ 3232026-11-02: ★ 3412026-11-18: ★ 3572026-12-03: ★ 367 ★ 367 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Agentic API is a Rust gateway, not a model server. The Axum-based agentic-server crate handles HTTP, SSE, and WebSocket transports, configuration, and the agentic CLI. agentic-server-core owns protocol types, the executor, the tool framework, and persistence. For a stored Responses continuation, the gateway rehydrates history from previous_response_id, sends inference to the upstream, and continues the loop when a tool is assigned to the gateway. SQLite is the default; PostgreSQL is configurable for shared session state.

The tool contract separates gateway-owned execution from client callbacks and provider pass-through. Unknown or ambiguous calls are returned rather than executed by default. Messages supports remote HTTPS MCP through the mcp-client-2025-11-20 connector shape; when a turn mixes client and MCP calls, the gateway waits for matching client results before executing the MCP calls. The workspace also separates the llm-d split-execution state backend and the Praxis integration into dedicated crates. The Python packaging uses Maturin to distribute the Rust binary and launcher; it does not replace the gateway with a Python service.

Key Capabilities & Differentiators

OpenAI-compatible Responses and Conversations coexist with Anthropic Messages and token counting. Responses supports non-streaming HTTP, SSE, multiplexed WebSocket streams, background response polling and cancellation, and /v1/responses/compact. A Responses request can start a root agent and subagents with separate histories and tools. A stored tree can be continued by ID; with store: false, callers must send the complete item history. Chat Completions, Completions, embeddings, and audio routes are forwarded rather than wrapped in the stateful executor.

The gateway runs web search and fetch, MCP, and file_search; the embedded code interpreter is an opt-in build feature. File search combines the Files and vector-store APIs with sqlite-vec retrieval and retains citations across JSON responses, streaming, persistence, and continuation. The quickstart pairs Qwen/Qwen3-30B-A3B-FP8 with vLLM’s qwen3_coder tool-call parser and qwen3 reasoning parser. SGLang and NVIDIA Dynamo are also supported upstream paths. Open Responses conformance testing and replay cassettes provide protocol coverage, but do not establish feature parity across all models or clients.

Trade-offs & Limitations

Compared with calling vLLM directly, the gateway removes application-side work for chaining response IDs, running server-owned tools, and serving Codex and Claude Code through their respective protocols. It also adds a network hop, a state store, and tool dependencies to operate. If an application already owns its tool loop or only needs a pass-through endpoint, direct inference is simpler. Compared with consuming a hosted agent API, this design gives operators control over where inference and state run, but makes them responsible for model compatibility, storage lifecycle, network policy, and observability.

Validate tool parsing, streaming events, and client-specific behavior against the exact model and upstream you intend to run. The v0.10.0 durable Messages threads are opt-in; do not equate them with Responses continuation or assume the broader Messages roadmap is complete. Tenant-scoped state is still listed as production-hardening work, so treat tenant isolation as a rollout requirement, not an established guarantee. Keep remote tools and the opt-in interpreter behind deliberate access and egress controls. Apache-2.0 applies to the gateway; model weights and external services have separate terms.

Hardware & Deployment Guide

For an existing inference server, start the gateway with agentic serve --upstream ..., or start agentic-server from Cargo with --llm-api-base. The Maturin distribution requires Python 3.10+ and provides wheels for Linux x86_64 with glibc 2.17+, Intel macOS, and Apple Silicon. The base package does not install vLLM; the Linux local extra pins vllm==0.11.0. The multi-stage Dockerfile uses cargo-chef for the Rust build, and Kubernetes deployment is covered separately. Use SQLite for a standalone setup or configure PostgreSQL when instances need shared session state. The first run generates ~/.agentic-api/config.toml; CLI flags and environment variables override it.

A local gateway can use local inference, but web search, fetch, remote MCP, and telemetry export need network access when configured to reach external services. Size inference for the model, context, and concurrency, and size the gateway separately for open streams, tool calls, and storage I/O. Release v0.8.0 added opt-in OpenTelemetry tracing and HTTP metrics with OTLP export. v0.10.0 expanded the operational surface with Files and vector stores, asynchronous client tools, WebSocket multi-agent steering, and opt-in durable Messages threads.

State: Resume stored Responses with previous_response_id; use default SQLite or configure PostgreSQL for shared session state.
Transport: Responses supports HTTP, SSE, and WebSocket; stream_id multiplexes WebSocket streams, and background responses can be polled or cancelled.
Tool ownership: The gateway executes its own tools, returns client tools to the caller, passes provider tools upstream, and does not execute ambiguous calls by default.
Retrieval: v0.10.0 adds Files and vector-store APIs, sqlite-vec retrieval, pluggable repository and blob storage, and file_search citations across streaming and continuation.
Orchestration: A root Responses agent can coordinate subagents with separate histories and tools; stored agent trees can be continued by response ID.
Operations: /health and /ready expose probes; opt-in OpenTelemetry exports traces and HTTP metrics over OTLP HTTP/protobuf.
Best For

Teams with a compatible inference server that need shared Responses state, gateway-run tools, or a self-hosted endpoint for Codex and Claude Code.

Skip If

You only need stateless inference, already own the tool loop, or require turnkey tenant isolation and fully mature durable workflows.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedLocal AIMCP
curl http://localhost:9000/v1/responses \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Qwen/Qwen3-30B-A3B-FP8",
    "input": "What is new in vLLM this month?",
    "tools": [{"type": "web_search"}]
  }'

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
agentic-api ★367+7RustApache-2.0A Rust gateway that adds conversation state and tool execution to model servers
cua34.2k+1kRustMITRust-backed sandboxes and cross-OS desktop controls for computer-use agents
multica59.2k+967Go—A shared task board that dispatches coding agents to machines you control.
OpenHands94.8k+374TypeScriptMITSelf-hosted control plane for coding agents across local, remote, and cloud back

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/vllm-project/agentic-api.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

vllm-project/agentic-api Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about agentic-api

How do Codex and Claude Code connect, and where do their tools run?

Point Codex at the gateway’s /v1 base URL and use the Responses wire protocol; enable WebSocket support if the client will use it. Point Claude Code at the gateway’s base URL and set its model to one served by the upstream. The gateway handles the protocol and server-owned tools, but Claude Code’s own tools still execute on the client. Test the selected model and tool-call parser with the actual client before rollout.

What hardware and VRAM should I budget for?

Size the Rust gateway and inference server separately. The remote-upstream package does not install vLLM or require a local model GPU. For local inference, budget VRAM for the chosen model, precision, context length, and concurrent sequences; concurrent subagents can increase in-flight inference demand. Load-test gateway CPU, memory, and storage separately with representative streaming sessions, tool calls, and file collections. There is no fixed VRAM requirement for this stack.

Can I self-host it commercially, and does that keep all data on premises?

The gateway is Apache-2.0 licensed, which permits commercial self-hosting subject to the license’s conditions. Review model weights, tools, and external providers under their own terms. Self-hosting does not by itself keep data on premises: remote inference, web search, remote MCP, or OTLP export can still send data outside the deployment. Review retention for stored responses, files, and indexed content.

When is this preferable to connecting directly to vLLM or a hosted API?

Use a direct upstream for stateless inference, or when your application already handles history and tool calls; the gateway forwards Chat Completions and embeddings unchanged. Add Agentic API when you need shared, self-hosted Responses state, gateway-executed tools, or both Responses and Messages client compatibility. If a hosted API is acceptable and minimizing operations matters more than controlling where inference and state run, the direct hosted path is simpler.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining vllm-project/agentic-api? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature vllm-project/agentic-api on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare