TokenSpeed: A Speed-of-Light LLM Inference Engine for Agentic Workloads

TokenSpeed: A Speed-of-Light LLM Inference Engine for Agentic Workloads

3.0

TokenSpeed is a high-performance LLM inference engine optimized for agentic workloads, featuring compiler-backed parallelism, a high-performance scheduler, and heterogeneous accelerator support.

Last Updated Nov 10, 2026
TokenSpeed: A Speed-of-Light LLM Inference Engine for Agentic Workloads screenshot

About

TokenSpeed is a speed-of-light LLM inference engine designed from first principles for agentic workloads. Agentic workloads typically consist of many successive model calls within a single task, placing heavy demands on scheduling, parallel execution, and the management of intermediate state such as the KV cache. TokenSpeed is built around these demands: it incorporates a compiler-backed modeling mechanism for parallelism, a high-performance scheduler, a safe KV resource reuse restriction, a pluggable layered kernel system that supports heterogeneous accelerators, and SMG integration.

Key Features

**基于编译器建模的并行机制: ** 并行执行策略通过编译器建模推导,而非依赖手工调优,有助于以系统化的方式组织推理过程中的并行计算。
**高性能调度器: ** 负责协调请求与计算资源,在智能体常见的多步、高频推理模式下,帮助维持高吞吐与快速响应。
**安全的 KV 资源复用限制: ** KV 缓存保存注意力计算的中间状态,复用有助于提升效率;TokenSpeed 通过安全限制机制来约束这类复用,防止资源被不当共享。
**可插拔分层内核系统: ** 计算内核按层组织、以插件形式接入,便于适配不同类型的加速硬件,从而支持异构加速器。
**SMG 集成: ** 内置与 SMG 的集成,使 TokenSpeed 能够与 SMG 协同工作。
该工具目前正在持续更新中,更多功能特点请访问官网了解。 [English]

More

介绍

[Chinese] 网站地址: https://lightseek.org/blog/lightseek-tokenspeed.html

TokenSpeed 是一款以“光速”为设计目标的 LLM 推理引擎,从第一性原理出发,专为智能体工作负载而设计。智能体类负载通常由同一任务内的多次连续模型调用构成,对调度、并行执行以及 KV 缓存等中间状态的管理提出了很高要求,TokenSpeed 正是围绕这些需求构建的。它结合了基于编译器建模的并行机制、高性能调度器、安全的 KV 资源复用限制、支持异构加速器的可插拔分层内核系统,以及 SMG 集成。