Skip to content

Commit d9316a7

Browse files
committed
feat: refine cli/sdk developer documentation
1 parent 1c1f758 commit d9316a7

File tree

15 files changed

+1528
-1100
lines changed

15 files changed

+1528
-1100
lines changed

README.md

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,65 @@
1-
# Agentkit Python SDK
1+
<div align="center">
2+
<h1>
3+
Agentkit Platform Python SDK and Starter Toolkit
4+
</h1>
25

3-
Python SDK for transforming any AI agent into a production-ready application. Framework-agnostic primitives for runtime, memory, authentication, and tools with volcengine-managed infrastructure.
6+
<h2>
7+
Launch your local agent on Volcengine AgentKit Platform as a fully managed service.
8+
</h2>
9+
10+
<div align="center">
11+
<a href="https://github.com/volcengine/agentkit-sdk-python/graphs/commit-activity"><img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/volcengine/agentkit-sdk-python"/></a>
12+
<a href="https://github.com/volcengine/agentkit-sdk-python/pulls"><img alt="GitHub open pull requests" src="https://img.shields.io/github/issues-pr/volcengine/agentkit-sdk-python"/></a>
13+
<a href="https://github.com/volcengine/agentkit-sdk-python/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/volcengine/agentkit-sdk-python"/></a>
14+
<a href="https://pypi.org/project/agentkit-sdk-python"><img alt="PyPI version" src="https://img.shields.io/pypi/v/agentkit-sdk-python"/></a>
15+
<a href="https://python.org"><img alt="Python versions" src="https://img.shields.io/pypi/pyversions/agentkit-sdk-python"/></a>
16+
</div>
17+
18+
<p>
19+
<a href="https://console.volcengine.com/agentkit/"> Volcengine AgentKit</a>
20+
◆ <a href="https://volcengine.github.io/agentkit-sdk-python/">Documentation</a>
21+
◆ <a href="https://github.com/volcengine/agentkit-samples/tree/main">Samples</a>
22+
◆ <a href="https://pypi.org/project/agentkit-sdk-python/">PyPI Package</a>
23+
◆ <a href="https://github.com/volcengine/agentkit-sdk-python">GitHub Repository</a>
24+
25+
</p>
26+
</div>
27+
28+
## Overview
29+
30+
AgentKit is a developer platform by Volcengine that supports the building, deployment, and operation of AI Agents. It lowers the entry barrier for developers and enterprises by providing essential infrastructure beyond the model—including security, built-in tools, memory, knowledge, monitoring, and evaluation. This empowers enterprises to efficiently build, deploy, and operate complex, intelligent, enterprise-grade Agents. The platform also includes a Python SDK and a Starter Toolkit to help developers build, deploy, publish, and manage Agent applications through an SDK and CLI.
31+
32+
AgentKit includes the following modular Services that you can use together or independently:
33+
34+
## AgentKit Runtime
35+
36+
AgentKit Runtime is a fully managed service that provides a secure, isolated environment for running AI Agents. It supports the deployment of Agents built with any framework and language, and provides a set of APIs for interacting with the Agents.
37+
38+
**[Runtime Quick Start](https://volcengine.github.io/agentkit-sdk-python/content/4.runtime/1.overview.html)**
39+
40+
## AgentKit Tools
41+
42+
AgentKit Tools is a service that provides a set of built-in tools for AI Agents. It supports the execution of common tasks, such as data retrieval, web search, and code execution, in a secure and scalable manner.
43+
44+
**[Tools Quick Start](https://volcengine.github.io/agentkit-sdk-python/content/5.tools/1.sandbox_quickstart.html)**
45+
46+
## AgentKit Memory
47+
48+
AgentKit Memory is a service that provides a persistent storage solution for AI Agents. It supports the storage of Agent states, memories, and other data in a secure and scalable manner.
49+
50+
**[Memory Quick Start](https://volcengine.github.io/agentkit-sdk-python/content/6.memory/1.memory_quickstart.html)**
51+
52+
## AgentKit Knowledge
53+
54+
AgentKit Knowledge is a service that provides a knowledge base solution for AI Agents. It supports the storage of Agent knowledge, facts, and other data in a secure and scalable manner.
55+
56+
**[Knowledge Quick Start](https://volcengine.github.io/agentkit-sdk-python/content/7.knowledge/1.knowledge_quickstart.html)**
57+
58+
## AgentKit MCP
59+
60+
AgentKit MCP is a service that provides a set of tools for managing AI Agents. It supports the deployment, configuration, and monitoring of Agents in a secure and scalable manner.
61+
62+
**[MCP Quick Start](https://volcengine.github.io/agentkit-sdk-python/content/8.mcp/2.mcp_quickstart.html)**
463

564
## Installation
665

@@ -25,3 +84,7 @@ pip install agentkit-sdk-python==1.0.0.dev1
2584
```
2685

2786
**Note**: Development versions may contain bugs and are not recommended for production use.
87+
88+
## License
89+
90+
This project is licensed under the [Apache 2.0 License](./LICENSE).

docs/.vitepress/config.js

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export default {
22
title: 'AgentKit',
33
description: 'Python SDK and CLI for building Agent applications on Volcengine',
4-
base: '/agentkit-sdk-python/',
5-
4+
base: '/',
5+
66
head: [
77
['link', { rel: 'icon', href: '/favicon.ico' }]
88
],
@@ -20,10 +20,10 @@ export default {
2020
text: '📖 概述',
2121
collapsed: false,
2222
items: [
23-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
23+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
2424
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
2525
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
26-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
26+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
2727
]
2828
},
2929
{
@@ -47,7 +47,7 @@ export default {
4747
text: '🚀 Runtime',
4848
collapsed: true,
4949
items: [
50-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
50+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
5151
]
5252
},
5353
{
@@ -86,10 +86,10 @@ export default {
8686
text: '📖 概述',
8787
collapsed: true,
8888
items: [
89-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
89+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
9090
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
9191
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
92-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
92+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
9393
]
9494
},
9595
{
@@ -113,7 +113,7 @@ export default {
113113
text: '🚀 Runtime',
114114
collapsed: true,
115115
items: [
116-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
116+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
117117
]
118118
},
119119
{
@@ -152,10 +152,10 @@ export default {
152152
text: '📖 概述',
153153
collapsed: true,
154154
items: [
155-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
155+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
156156
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
157157
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
158-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
158+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
159159
]
160160
},
161161
{
@@ -179,7 +179,7 @@ export default {
179179
text: '🚀 Runtime',
180180
collapsed: true,
181181
items: [
182-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
182+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
183183
]
184184
},
185185
{
@@ -218,10 +218,10 @@ export default {
218218
text: '📖 概述',
219219
collapsed: true,
220220
items: [
221-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
221+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
222222
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
223223
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
224-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
224+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
225225
]
226226
},
227227
{
@@ -245,7 +245,7 @@ export default {
245245
text: '🚀 Runtime',
246246
collapsed: false,
247247
items: [
248-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
248+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
249249
]
250250
},
251251
{
@@ -283,10 +283,10 @@ export default {
283283
text: '📖 概述',
284284
collapsed: true,
285285
items: [
286-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
286+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
287287
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
288288
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
289-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
289+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
290290
]
291291
},
292292
{
@@ -310,7 +310,7 @@ export default {
310310
text: '🚀 Runtime',
311311
collapsed: true,
312312
items: [
313-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
313+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
314314
]
315315
},
316316
{
@@ -348,10 +348,10 @@ export default {
348348
text: '📖 概述',
349349
collapsed: true,
350350
items: [
351-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
351+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
352352
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
353353
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
354-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
354+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
355355
]
356356
},
357357
{
@@ -375,7 +375,7 @@ export default {
375375
text: '🚀 Runtime',
376376
collapsed: true,
377377
items: [
378-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
378+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
379379
]
380380
},
381381
{
@@ -413,10 +413,10 @@ export default {
413413
text: '📖 概述',
414414
collapsed: true,
415415
items: [
416-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
416+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
417417
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
418418
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
419-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
419+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
420420
]
421421
},
422422
{
@@ -440,7 +440,7 @@ export default {
440440
text: '🚀 Runtime',
441441
collapsed: true,
442442
items: [
443-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
443+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
444444
]
445445
},
446446
{
@@ -478,10 +478,10 @@ export default {
478478
text: '📖 概述',
479479
collapsed: true,
480480
items: [
481-
{ text: 'AgentKit 概述', link: '/content/1.introduction/1.overview' },
481+
{ text: 'AgentKit', link: '/content/1.introduction/1.overview' },
482482
{ text: '安装指南', link: '/content/1.introduction/2.installation' },
483483
{ text: '快速开始', link: '/content/1.introduction/3.quickstart' },
484-
{ text: '常见问题', link: '/content/1.introduction/4.troubleshooting' }
484+
{ text: 'Troubleshooting', link: '/content/1.introduction/4.troubleshooting' }
485485
]
486486
},
487487
{
@@ -505,7 +505,7 @@ export default {
505505
text: '🚀 Runtime',
506506
collapsed: true,
507507
items: [
508-
{ text: 'Runtime 概览', link: '/content/4.runtime/1.overview' }
508+
{ text: 'Runtime 快速开始', link: '/content/4.runtime/1.runtime_quickstart.md' }
509509
]
510510
},
511511
{
@@ -571,4 +571,4 @@ export default {
571571
}
572572
}
573573
}
574-
}
574+
}
Lines changed: 21 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,34 @@
11
# AgentKit
22

3-
## 什么是 AgentKit?
3+
## 产品定位
44

5-
AgentKit是火山引擎为AI Agent构建、部署、运行提供支持的开发工具平台,帮助开发者和企业降低 Agent 开发门槛,为Agent 提供模型之外的安全、内置工具、记忆、知识、监控、评测等基础设施,助力企业高效构建、部署、运维复杂智能的企业级Agent。平台也包含一个Python SDK和Starter Toolkit,来帮助开发者通过SDK/CLI来构建、部署、发布和管理Agent应用
5+
AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛
66

7-
## AgentKit Platform
7+
## 核心优势
88

9-
AgentKit Platform 为 Agent 应用提供:
9+
- **声明式应用定义**:通过简洁的 YAML 文件定义智能体应用的核心组件和配置,实现“一次定义,处处运行”。
10+
- **模块化与可扩展**:内置丰富的 **Tool**(工具)、**Memory**(记忆)、**Knowledge**(知识库)等模块,并提供标准化的接口,方便开发者自定义和扩展。
11+
- **云原生部署**:与 **AgentKit Platform** 无缝集成,支持一键将应用部署到云端,并提供弹性伸缩、持续集成和高可用保障。
12+
- **多智能体协作(MCP)**:支持构建多个 **Agent** 协同工作的复杂系统,实现任务的分解、协作和汇总。
13+
- **全面的生命周期管理**:提供从项目初始化、本地调试、云端部署到线上运维的全套 `agentkit` CLI 工具链。
1014

11-
- **Runtime 环境**:提供隔离的运行环境,支持容器化部署
12-
- **基础设施服务**
13-
- Memory(记忆管理)
14-
- Knowledge(知识库)
15-
- Identity(身份认证)
16-
- Gateway(MCP 工具聚合与路由)
15+
## 架构理念
1716

18-
通过 AgentKit Platform,开发者无需关心底层基础设施,可以专注于 Agent 业务逻辑的开发
17+
AgentKit 的核心设计理念是将 **Agent App****定义****执行**分离
1918

20-
## AgentKit SDK
19+
- **应用定义(Definition)**:开发者通过 `agentkit.yaml` 文件声明式地定义应用的元数据、依赖、运行时环境和所需使用的平台服务(如知识库、记忆模块等)。
20+
- **应用执行(Execution)**`agentkit` CLI 和 **AgentKit Platform** 负责解析定义文件,并自动完成环境准备、代码打包、镜像构建、持续集成和云端部署等一系列繁琐工作。
2121

22-
AgentKit SDK 是一个Python开发工具包,内置了对AgentKit Platform的所有服务的客户端,开发者可以通过SDK来调用Platform的所有服务
22+
这种分离的设计使得开发者可以专注于业务逻辑的实现,而将复杂的工程化问题交给 AgentKit 来处理,敏捷构建,快速生产级落地
2323

24-
## AgentKit CLI
24+
## 适用场景
2525

26-
AgentKit CLI 是一个命令行工具,用于简化 Agent 应用的全生命周期管理,包括初始化、配置、构建、部署和运维。
26+
- **智能问答机器人**:快速构建集成知识库的智能问答服务。
27+
- **自动化工作流**:创建能够自动执行一系列任务(如发送邮件、生成报告、调用 API)的自动化流程。
28+
- **复杂数据分析**:构建能够理解用户意图、查询数据库、分析数据并生成可视化报告的数据分析 **Agent**
29+
- **多智能体系统**:设计和部署多个 **Agent** 协同完成复杂任务的系统,例如“研究员-分析师-报告员”模式。
2730

28-
### 主要命令
31+
## 开始使用
2932

30-
| 命令 | 功能 | 说明 |
31-
|------|------|------|
32-
| `agentkit init` | 初始化项目 | 创建 Agent 应用模板,支持多种框架 |
33-
| `agentkit config` | 配置项目 | 交互式配置部署和运行参数 |
34-
| `agentkit build` | 构建镜像 | 构建符合标准的 Docker 镜像 |
35-
| `agentkit deploy` | 部署应用 | 将镜像部署到 Platform Runtime |
36-
| `agentkit launch` | 一键部署 | build + deploy 的组合命令 |
37-
| `agentkit invoke` | 调用应用 | 向已部署的 Agent 发送请求 |
38-
| `agentkit status` | 查看状态 | 查看 Runtime 运行状态 |
39-
| `agentkit destroy` | 销毁资源 | 释放 Runtime 实例和相关资源 |
33+
- **[安装 AgentKit](./2.installation.md)**:了解如何安装 AgentKit。
34+
- **[快速开始](./3.quickstart.md)**:通过一个简单的示例,快速体验从开发到部署的全过程。

0 commit comments

Comments
 (0)