Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
040226b
feat: release ksadk 0.6.6 — unified model policy, fallback, attachmen…
AgentArcLab Jun 18, 2026
b7c8ca5
fix: allow kspmas-internal and agentengine-public registry paths in o…
AgentArcLab Jun 18, 2026
46202b0
fix: split blocked registry string in test to avoid self-audit violation
AgentArcLab Jun 18, 2026
6f7bfa6
fix: add missing dependency modules for 0.6.6 release
AgentArcLab Jun 18, 2026
348cb16
sync: align all ksadk source, tests, scripts, and build config with 0…
AgentArcLab Jun 18, 2026
f6d3614
fix: remove stale 0.6.5 tests and fix Python 3.10 datetime compatibility
AgentArcLab Jun 18, 2026
9dbb04e
fix: allow curated user docs in public repo audit
AgentArcLab Jun 18, 2026
8a9afc7
fix: skip e2b sandbox test when e2b package is not installed
AgentArcLab Jun 18, 2026
350ef49
docs: make README release wording accurate before 0.6.6 publication
AgentArcLab Jun 22, 2026
f16de91
docs: finalize 0.6.6 public release notes and gates
AgentArcLab Jun 22, 2026
48f9387
fix: expose raw workspace zip runtime route
AgentArcLab Jun 22, 2026
cbb23b0
test: harden hosted long-task release e2e
AgentArcLab Jun 22, 2026
4adc25b
docs: update 0.6.6 release notes for ksadk-web 0.2.11
AgentArcLab Jun 22, 2026
202dd31
docs: refresh runtime model examples for 0.6.6
AgentArcLab Jun 22, 2026
dd80c0c
docs: refresh 0.6.6 release notes and gates
AgentArcLab Jun 22, 2026
5ffb4b6
docs: require staging e2e before public release
AgentArcLab Jun 22, 2026
1d6846d
docs: scope 0.6.6 changelog to ksadk changes
AgentArcLab Jun 22, 2026
c3eaac3
docs: keep 0.6.6 changelog ksadk-scoped
AgentArcLab Jun 22, 2026
2db51e8
ci: pin ksadk-web 0.2.11 for public preflight
AgentArcLab Jun 22, 2026
9e68150
docs: keep 0.6.6 changelog ksadk-only
AgentArcLab Jun 22, 2026
28aaa97
ci: tolerate transient github release api failures
AgentArcLab Jun 22, 2026
4b2da7c
ci: repair public release gates
AgentArcLab Jun 22, 2026
a183400
ci: build artifacts before package gate tests
AgentArcLab Jun 22, 2026
c43eeb5
ci: sync web static before release gate build
AgentArcLab Jun 22, 2026
8084899
ci: use existing public docs build gate
AgentArcLab Jun 22, 2026
3aef3e2
ci: include docs build dependencies
AgentArcLab Jun 22, 2026
4248e01
fix: harden public release security scan surfaces
AgentArcLab Jun 22, 2026
a568b68
Propagate real usage through chat completions runtime
Jun 22, 2026
100180f
Add usage propagation for additional runners
Jun 22, 2026
e3206b6
fix: propagate streaming usage across runners
AgentArcLab Jun 22, 2026
bca93b3
fix: restrict referenced attachment reads to upload cache
AgentArcLab Jun 22, 2026
ebafb4e
ci: install full extras for public test gate
AgentArcLab Jun 22, 2026
7d67df3
fix: satisfy CodeQL security scan for release gate
AgentArcLab Jun 22, 2026
608757d
fix: avoid sensitive error logging and path alerts
AgentArcLab Jun 22, 2026
d936aa8
fix: remove CodeQL-sensitive log and local path flows
AgentArcLab Jun 22, 2026
d2ba10d
fix: stop passing response bodies through error logging
AgentArcLab Jun 22, 2026
f6b3be9
fix: avoid logging response-derived error details
AgentArcLab Jun 22, 2026
8ad267e
fix: keep http error logs detached from response details
AgentArcLab Jun 22, 2026
5eacd32
docs: clarify 0.6.6 ksadk web static pin
AgentArcLab Jun 22, 2026
23ea93a
feat: add resumable hosted terminal sessions
AgentArcLab Jun 22, 2026
953f536
test: stabilize terminal session monkeypatching
AgentArcLab Jun 22, 2026
4d25de3
fix: fetch bootstrap defaults during dry run
AgentArcLab Jun 23, 2026
2420c0e
docs: mention dry-run bootstrap fix
AgentArcLab Jun 23, 2026
5061f5d
fix: keep dry-run bypass compatible with request stubs
AgentArcLab Jun 23, 2026
d6a62ac
fix: use OpenClaw session flag for terminal TUI
AgentArcLab Jun 23, 2026
c6c0358
fix: keep runtime model policy and hermes dashboard open stable
AgentArcLab Jun 23, 2026
4878445
docs: update 0.6.6 changelog for final sdk fixes
AgentArcLab Jun 23, 2026
bbf7b88
docs: set 0.6.6 changelog release date
AgentArcLab Jun 23, 2026
d26a203
test: align 0.6.6 changelog release date
AgentArcLab Jun 23, 2026
631a3d2
test: isolate Hermes region env in CLI tests
AgentArcLab Jun 23, 2026
2e2c3e5
docs: mention usage propagation in 0.6.6 changelog
AgentArcLab Jun 23, 2026
6149b45
fix: export usage to tracing spans
AgentArcLab Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
jobs:
test:
runs-on: ubuntu-latest
env:
PUBLIC_KSADK_WEB_VERSION: "0.2.11"
steps:
- uses: actions/checkout@v4

Expand All @@ -23,20 +25,23 @@ jobs:
python-version: "3.11"

- name: Install dependencies
run: uv sync --extra dev
run: uv sync --extra all

- name: Sync KsADK Web static assets
run: make public-sync-ksadk-web-static

- name: Build package artifacts
run: uv build

- name: Run public release gate tests
run: |
uv run --extra dev pytest \
tests/test_open_source_audit.py \
tests/test_runtime_common_packaging.py \
tests/test_public_positioning_docs.py \
tests/test_prepare_ksadk_python_export.py \
tests/test_prepare_ksadk_web_export.py \
tests/test_public_release_positioning.py \
tests/test_tracing_setup_otlp.py \
tests/test_check_publication_state.py \
tests/test_check_approval_record.py \
tests/test_public_release_gates.py \
tests/test_markdown_repair.py \
tests/test_conversation_runtime.py \
tests/test_server_session_app.py \
Expand All @@ -46,10 +51,7 @@ jobs:
run: uv run --extra dev python scripts/open_source_audit.py --target public-repo

- name: Build and audit public docs
run: make public-docs-audit

- name: Build package artifacts
run: uv build
run: make public-docs-build

- name: Check package metadata
run: uv run --extra dev python -m twine check dist/*
9 changes: 3 additions & 6 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
ksadk_web_version:
description: KsADK Web npm version to bundle
required: false
default: latest
default: "0.2.11"

permissions:
contents: read
Expand Down Expand Up @@ -41,13 +41,10 @@ jobs:
with:
enable-cache: true

- name: Sync KsADK Web static assets
run: make sync-ksadk-web-static
env:
KSADK_WEB_VERSION: ${{ github.event.inputs.ksadk_web_version || 'latest' }}

- name: Run public release preflight
run: make public-preflight
env:
PUBLIC_KSADK_WEB_VERSION: ${{ github.event.inputs.ksadk_web_version || '0.2.11' }}

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
133 changes: 86 additions & 47 deletions CHANGELOG.md

Large diffs are not rendered by default.

665 changes: 355 additions & 310 deletions Makefile

Large diffs are not rendered by default.

194 changes: 148 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
<h1 align="center">KsADK</h1>
# KsADK

<p align="center"><strong>一次构建 Agent,到处运行。Build agents once. Run them anywhere.</strong></p>
[![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/kingsoftcloud/ksadk-python)

<p align="center">
KsADK 是面向 AI Agent 的运行时平台(Agent Runtime Platform)。
继续使用 Google ADK、LangGraph、LangChain 或 DeepAgents 编写业务 Agent,再用统一 CLI、Web UI、OpenAI-Compatible API、工具运行时、沙箱、部署和可观测链路把它跑起来。
</p>
Build agents once. Run them anywhere.

<p align="center"><a href="README.md">简体中文(默认)</a> · <a href="README.en.md">English</a></p>
KsADK 是面向 AI Agent 的 Agent Runtime Platform。你可以继续使用 Google ADK、LangGraph、LangChain 或 DeepAgents 编写业务 Agent,再用 KsADK 获得统一的本地运行、浏览器调试、OpenAI-Compatible API、沙箱执行、部署和可观测体验。

<p align="center">
<a href="https://kingsoftcloud.github.io/ksadk-python/"><img alt="Docs" src="https://img.shields.io/badge/Docs-ksadk--python-2f6fdf?style=flat" /></a>
<a href="https://pypi.org/project/ksadk/"><img alt="PyPI" src="https://img.shields.io/pypi/v/ksadk?style=flat&color=2f6fdf" /></a>
<a href="https://zread.ai/kingsoftcloud/ksadk-python"><img alt="Ask Zread" src="https://img.shields.io/badge/Ask_Zread-_.svg?style=flat&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff" /></a>
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/License-Apache--2.0-blue?style=flat" /></a>
</p>
当前源码版本:`0.6.6`。正式发布通过 GitHub Release 和 PyPI Trusted Publishing 提供。

<p align="center"><a href="public-docs/assets/ksadk-runtime-platform-hero.png"><img alt="KsADK 真实 CLI 截图:agentengine -h" src="public-docs/assets/ksadk-runtime-platform-hero-wide.png" width="860" /></a></p>
## Why KsADK

Most agent frameworks solve agent development.

KsADK solves agent runtime.

KsADK 不替换你已经选择的 Agent 框架,而是在框架之上补齐运行时平台层:

- Development:统一 `agentengine init`、`agentengine config`、`agentengine run`。
- Debugging:本地 Web UI、会话、附件、workspace 文件和流式输出。
- Runtime:统一 Runner、OpenAI-Compatible API 和多框架入口。
- Sandbox:Skill Runtime、Workspace 和 sandbox backend 的隔离执行边界。
- Deployment:Serverless、Hermes、OpenClaw 和远端 AgentEngine 入口。
- Observability:OpenTelemetry-first tracing,可对接多种观测后端。

Keep using your preferred framework. Get a complete runtime platform.

## 30 秒快速体验

Expand All @@ -31,59 +38,154 @@ agentengine config set OPENAI_API_KEY=your-api-key OPENAI_MODEL_NAME=gpt-4o-mini
agentengine run -i
```

如果需要调用金山云 AgentEngine、Skill Service、知识库或长期记忆等线上能力,建议显式设置线上默认地域
打开本地浏览器调试界面

```bash
agentengine config set KSYUN_REGION=cn-beijing-6
agentengine web . --no-open
```

启动本地调试 Web UI
如果你的模型服务不是默认 OpenAI endpoint,再额外配置

```bash
agentengine web . --no-open
agentengine config set OPENAI_BASE_URL=https://api.example.com/v1
```

如果需要调用金山云 AgentEngine、Skill Service、知识库或长期记忆等线上能力,建议显式设置线上默认地域:

```bash
agentengine config set KSYUN_REGION=cn-beijing-6
```

<p align="center"><img alt="KsADK 真实 Web UI 调试截图" src="public-docs/assets/ksadk-web-ui-screenshot.png" width="860" /></p>
## Architecture

```text
Agent Code
ADK / LangGraph / LangChain / DeepAgents
|
v
KsADK SDK
runner adapters / config / toolsets
|
v
Unified Runtime
CLI / Web UI / OpenAI-Compatible API
|
+-- Skill Runtime
+-- Workspace Tools
+-- Sandbox Runtime
+-- Memory & Knowledge
|
v
AgentEngine
Serverless / Hermes / OpenClaw Runtime
```

<p align="center"><img alt="KsADK 真实本地 Web UI 演示" src="public-docs/assets/ksadk-local-debugging-demo.gif" width="860" /></p>
## Supported Frameworks

## 为什么需要 KsADK
| Framework | KsADK 负责什么 |
| --- | --- |
| Google ADK | 项目模板、Runner 适配、本地运行、Web UI 调试和部署入口。 |
| LangGraph | 图状态入口、工具调用、streaming、Skill Runtime 和 workspace toolsets。 |
| LangChain | Runnable/chain 适配、本地 OpenAI-Compatible API 和 tracing。 |
| DeepAgents | 项目入口、运行时包装、浏览器调试和部署制品。 |

大多数 Agent 框架解决“如何开发 Agent”。KsADK 解决“如何运行、调试、部署和观测 Agent”。
## Comparison

- 本地开发:`agentengine init`、`agentengine run`、`agentengine web`。
- 统一调试:浏览器 Web UI、streaming、附件、workspace 文件、工具调用和会话。
- 统一协议:本地 `/v1/responses` 与 `/v1/chat/completions`。
- 工具边界:Skill Runtime、Workspace、Sandbox、Memory、Knowledge。
- 工程链路:打包、部署、OpenTelemetry 可观测。
| Capability | ADK | LangGraph | OpenAI Agents SDK | KsADK |
| --- | --- | --- | --- | --- |
| Agent Development | Yes | Yes | Yes | Yes |
| Browser Debugging UI | No | No | No | Yes |
| Unified CLI | No | No | No | Yes |
| OpenAI Compatible API | No | No | Partial | Yes |
| Sandbox Runtime | No | No | No | Yes |
| Deployment Workflow | No | No | No | Yes |
| Multi Runtime Backend | No | No | No | Yes |

## 架构
这张表只比较“项目自带的统一运行时平台能力”。KsADK 的设计目标不是替代这些框架,而是把它们放进同一套运行、调试、部署和观测体验里。

<p align="center"><img alt="KsADK Agent Runtime Platform 架构" src="public-docs/assets/ksadk-runtime-architecture.png" width="860" /></p>
## Core Capabilities

## 文档与样例
- `agentengine init`:创建或导入 Agent 项目。
- `agentengine config`:管理 `.env` 和 `agentengine.yaml`。
- `agentengine run`:本地终端运行和交互调试。
- `agentengine web`:启动本地 Web UI,验证 streaming、附件、workspace、工具调用和会话。
- `/v1/responses` 与 `/v1/chat/completions`:提供 OpenAI-Compatible API。
- `ksadk.toolsets`:提供 Skill、Workspace、Platform、Sandbox 内置工具。
- Skill Runtime:发现、下载、校验、加载并隔离执行 Skill workflow。
- Sandbox Runtime:通过可配置后端隔离执行命令或代码。
- Hermes & OpenClaw:面向更完整 runtime 后端的部署和更新路径。

- 文档:<https://kingsoftcloud.github.io/ksadk-python/>
- 快速开始:<https://kingsoftcloud.github.io/ksadk-python/getting-started/quickstart/>
- 为什么需要 KsADK:<https://kingsoftcloud.github.io/ksadk-python/getting-started/why-ksadk/>
- 架构:<https://kingsoftcloud.github.io/ksadk-python/getting-started/architecture/>
- 生态定位对比:<https://kingsoftcloud.github.io/ksadk-python/getting-started/comparison/>
- 可观测:<https://kingsoftcloud.github.io/ksadk-python/guides/observability-tracing/>
- 样例仓库:<https://github.com/kingsoftcloud/ksadk-samples>
## Examples

## 相关项目
样例仓库按场景组织,而不是只按技术框架分类:

- KsADK 仓库:<https://github.com/kingsoftcloud/ksadk-python>
- Web UI 仓库:<https://github.com/kingsoftcloud/ksadk-web>
- Wiki:<https://zread.ai/kingsoftcloud/ksadk-python>
- PyPI:<https://pypi.org/project/ksadk/>
- [KSADK Samples](https://github.com/kingsoftcloud/ksadk-samples)
- Knowledge Assistant:知识库问答和 RAG。
- Workflow Agent:LangGraph + AgentEngine toolsets。
- Tool-Using Agent:自定义工具调用。
- Memory-aware Agent:短期记忆和长期记忆接入。

## 参与贡献
每个公开 demo 都应包含中文 README、运行命令、环境变量说明、降级行为和验证问题。

欢迎通过 issue、PR、样例和文档改进参与贡献。提交前建议运行:
## Deployment

KsADK 支持本地优先的开发路径,也提供经过审核后可使用的部署入口:

```bash
agentengine build .
agentengine launch . --target serverless
agentengine dashboard open
```

Hermes 和 OpenClaw 更新已有实例时默认保留服务端已有 env、storage、network、memory 配置,只在显式传入对应 CLI 参数时覆盖,避免升级镜像时误改用户配置。

## Observability

KsADK is OpenTelemetry-native.

```bash
make public-preflight
OTEL_EXPORTER_OTLP_ENDPOINT=https://otel.example.com
OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer%20token
```

开源协议:Apache-2.0。
Compatible with:

- Langfuse
- Arize
- Datadog
- Grafana
- Phoenix

Export once. Observe anywhere.

## 0.6.6 重点

- 统一模型策略 v1:默认主模型 `glm-5.2`、多模态模型 `kimi-k2.7-code`、fallback 模型 `deepseek-v4-pro`,Hermes、OpenClaw 和通用 Agent 使用同一套默认语义。
- Hosted 附件内容恢复:本地 runtime 现在可以直接消费服务端 `ae-upload://...` 文件引用,并通过 `AttachmentContent` 恢复真实文件内容与本地缓存。
- Hosted Workspace 导出修复:Workspace zip 下载通过受控 facade 转发到 runtime export,避免 share link / Hosted UI 下载目录时被公共 action 规则误拦截。
- 会话与历史事件增强:`ListSessions` / `ListSessionEvents` 补齐分页与总数字段,本地 Web UI 支持更长历史会话列表和按需回加载旧事件。
- Hosted TUI 会话复用:配合 `@kingsoftcloud/ksadk-web@0.2.11`,原生终端默认按当前业务会话复用 terminal session,并保留显式新建入口。
- 长任务与终端验证脚本增强:新增 Hosted long-task、checkpoint resume、cancel/resume 和 terminal reconnect 验证脚本,发布前需结合目标环境完成 E2E。
- CLI 与部署路径增强:dry-run JSON、no-cache、网络参数、环境变量覆盖、framework passthrough、远程 runner、A2A、Skill Runtime 和 sandbox 路径补齐回归覆盖。
- 将公开定位从普通 SDK 调整为 Agent Runtime Platform,首页补齐 Why KsADK、30 秒体验、架构说明、Deployment、Observability 和 Community。
- 清理 README、CHANGELOG 和后续 PyPI 元数据中的环境特定表述,避免公开页面出现内部环境名、内部 header 或私有 endpoint 示例。
- 为公开定位、敏感词和 PyPI metadata 增加回归测试,防止后续回退。
- 本地开发可从 `@kingsoftcloud/ksadk-web@latest` 同步 Web UI static;0.6.6 发布候选固定使用 `@kingsoftcloud/ksadk-web@0.2.11`,避免 npm `latest` 变化影响发布包。
- PyPI 发布默认走 GitHub Actions Trusted Publishing,发布前按发布候选固定同步 KSADK Web static,并执行 `make public-preflight`。

## Documentation

- 文档:<https://kingsoftcloud.github.io/ksadk-python/>
- 中文文档:<https://kingsoftcloud.github.io/ksadk-python/zh/>
- English documentation:<https://kingsoftcloud.github.io/ksadk-python/en/>
- 命令行参考:<https://kingsoftcloud.github.io/ksadk-python/reference/cli/>
- OpenAI-Compatible API:<https://kingsoftcloud.github.io/ksadk-python/reference/openai-compatible-api/>

## Community

- 仓库:<https://github.com/kingsoftcloud/ksadk-python>
- Wiki:<https://zread.ai/kingsoftcloud/ksadk-python>
- 示例仓库:<https://github.com/kingsoftcloud/ksadk-samples>
- Web UI 仓库:<https://github.com/kingsoftcloud/ksadk-web>
- PyPI:<https://pypi.org/project/ksadk/>
- 开源协议:Apache-2.0
Loading
Loading