> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> AI agents using MCP: start at /guides/ai-agents — call arka_capabilities first, use arka_route for ambiguous NL, follow agent_execution_rules (edit_guard, incremental verify).
> Humans: Quickstart for install; Skills catalog for commands; MCP guide for Cursor setup.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# 引擎内推测解码

> 配置草稿模型以加速本地生成。

```bash theme={null}
arka speculative vllm --draft-model qwen3:1.7b
arka speculative vllm --draft-model qwen3:1.7b --num-draft-tokens 6 --apply
```

Arka 会保存草稿设置，但不会声称每个运行时都支持它们。启用后，正在运行的 vLLM、Exo、Ollama 或 MLX 构建必须在启动时暴露推测解码选项。启用后请验证生成质量与延迟。


## Related topics

- [轻松搭建 AI 模型托管](/cn/guides/model-hosting.md)
- [使用唤醒词、STT 和 TTS 的语音控制](/cn/guides/voice.md)
- [运行自主目标 Agent](/cn/guides/goal-agent.md)
- [聊天、网络搜索和事实问答技能](/cn/guides/chat.md)
- [频道会话和子 Agent 委托](/cn/guides/hermes-features.md)
