> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerone.run/llms.txt
> Use this file to discover all available pages before exploring further.

# 产品介绍

> 了解 Zerone 的 TypeScript Agent SDK 与核心抽象。

# 概述

Agent SDK 是开源 TypeScript SDK，在 Node.js 进程内运行完整 Agent loop，无需额外子进程或 CLI。

它提供 Agent、QueryEngine、Tool、Provider、Skill 和 Session：模型请求可以触发 Tool，再继续推理，直到任务完成或达到轮次上限。

## 主要能力

* Anthropic 与 OpenAI-compatible Provider。
* Streaming `query()` 与 blocking `prompt()`。
* 文件、搜索、命令、Web、Skill 与 subagent 工具。
* 自定义 Tool、MCP、hook、权限和结构化输出。
* Session 持久化与上下文压缩。

需要 HTTP 服务层时，在 SDK 上使用 [Agent Runtime](/zh/runtime/introduction)；需要控制平面时使用 [Agent Hub](/zh/hub/introduction)。

[在 GitHub 查看 Agent SDK](https://github.com/zerone-agents/agent-sdk)
