Observed since 20 Oct, 22:27 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
面向智能体工作负载的 vLLM 插件:请求调度、KV 缓存管理与 AgentBench 基准测试。
AgentInfer 为智能体工作流提供缓存管理和请求调度能力,可集成到 vLLM 等 LLM 推理引擎中或作为前置请求路由器运行。
文档导航 · 快速开始 · vLLM 接入 · 基准测试指南 · AgentRouter WASM affinity + native 补丁 · 变更日志
pyproject.toml 中的 requires-python 保持一致。AgentInfer 必须与 vLLM 安装在同一 Python 环境中。
开发环境中,先激活目标 vLLM 环境,再以可编辑模式安装 AgentInfer:
git clone https://gitcode.com/openJiuwen/agent-infer.git
cd agent-infer
python -m pip install -e .
下载 AgentInfer 0.1.0 wheel,然后在目标 vLLM 环境中安装:
python -m pip install agentinfer-0.1.0-py3-none-any.whl
使用单一参数启动 AgentInfer 服务路径:
vllm serve meta-llama/Llama-3.1-8B-Instruct --agentinfer
未设置 AGENTCACHE_VLLM_LIFECYCLE_SOCKET 时,生命周期 socket 默认为
/tmp/agentinfer-vllm-lifecycle.sock;同一主机上的多个服务实例需分别导出不同的 socket。
仓库中的等效示例位于 examples/serve-progress-ttl.sh。
安装后的 vllm 命令会将普通命令委托给上游 vLLM。显式的 vllm bench serve --agentinfer 命令进入
AgentBench;vllm serve MODEL --agentinfer 激活 AgentInfer 服务路径;其他命令原样委托给上游。标准服务参数见
vLLM Quickstart。
会话亲和通过 WASM agent_hint_affinity 插件接入,需要带 --wasm-middleware 的上游 vLLM Router
(#251 及之后)。插件构建和启动命令见
agentinfer/agentrouter。原生 agent_hint_token_offsets 仍是该目录下的可选补丁。
本项目基于 Apache License 2.0 开源。
本产品仅作为流程编排工具,不包含 AI 模型能力;用户在连接 AI 模型用于特定业务场景时,需自行承担欧盟 AI 法案等相关合规义务。
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 14 Oct 2026 | 15 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:27 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ca95cfb58712d45fac4af75b3b99fe740ed3079eea7f29076dfc0f315dce0f5c