Skip to main content

Kingsoft Cloud Agent Development Kit

金山云智能体开发套件

构建、部署、调试、观测企业级 AI 智能体的一站式云原生框架。 兼容 Google ADK、LangGraph、LangChain 与 DeepAgents,并支持一键拉起 OpenClaw 和 Hermes 运行时。

简体中文(默认) · English

Docs PyPI License

KsADK 真实 CLI 截图:agentengine -h

30 秒快速体验

python -m venv .venv
source .venv/bin/activate
pip install -U "ksadk[all]"

agentengine init demo-agent -f langgraph
cd demo-agent
agentengine config set OPENAI_API_KEY=your-api-key OPENAI_MODEL_NAME=gpt-4o-mini
agentengine run -i

启动本地调试 Web UI:

agentengine web . --no-open

0.8.3 运行时架构

KsADK 0.8.3 把“框架适配”收敛为稳定的运行时分层,同时保留各框架的原生执行语义:

  • 可信内核:统一并发、取消、恢复、状态一致性和运行时安全边界。
  • Harness 执行层:负责装配、Activation、生命周期和共用能力注入;一次 Activation 只选择一个 Provider。
  • 可插拔 Provider:Codex、KsADK Harness、DSH/Cordis 与 Subagent 在同一 Harness 契约下运行,Provider 保留原生线程、checkpoint 与事件语义。
  • 统一事件RuntimeEvent(schema_version=2) 是存储、回放、API、Studio 与托管界面的事件事实来源;v1 仅作为只读兼容投影。
  • 受控插件化:DSH Bundle/Profile 使用固定工具链、不可变来源摘要和失败回滚;Codex 官方插件仍由 Codex App Server 管理。
  • 本地开发闭环:Studio 覆盖创建、构建、调试、评测与本地 Scheduler Lite;配套 Web UI 固定为 @kingsoftcloud/ksadk-web@0.3.4

0.8.3 运行时架构AgentKit Local Studio插件与自动化开始阅读。版本演进与发行状态见 CHANGELOG 和 PyPI 徽章。

RuntimeEvent schema v2 契约

运行事件主路径固定为 canonical RuntimeEvent(schema_version=2);能力描述为 RuntimeEventVersions=[1,2]RuntimeEventDefault=2RuntimeEventV1ProjectionModes=["snapshot_only","identity_replace"]RuntimeEventV1ProjectionDefault="snapshot_only"。v1 仅作只读兼容投影。

KsADK 真实 Web UI 调试截图

KsADK 真实本地 Web UI 演示

为什么需要 KsADK

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

  • 本地开发:agentengine initagentengine runagentengine web
  • 统一调试:浏览器 Web UI、streaming、附件、workspace 文件、工具调用和会话。
  • 统一协议:本地 /v1/responses/v1/chat/completions
  • 工具边界:Skill Runtime、Workspace、Sandbox、Memory、Knowledge。
  • 工程链路:打包、部署、OpenClaw / Hermes 运行时、OpenTelemetry 可观测。

架构

KsADK 总体技术架构

Agent Kernel 收口可信控制,Harness 管理装配与生命周期,可插拔 Provider 保留框架原生执行语义;RuntimeEvent v2 为 API、Studio 与托管界面提供统一事件事实链。

文档与样例

相关项目

参与贡献

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

make public-preflight

开源协议:Apache-2.0。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ksadk-0.8.3.tar.gz (5.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ksadk-0.8.3-py3-none-any.whl (5.5 MB view details)

Uploaded Python 3

File details

Details for the file ksadk-0.8.3.tar.gz.

File metadata

  • Download URL: ksadk-0.8.3.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ksadk-0.8.3.tar.gz
Algorithm Hash digest
SHA256 87b96eafbbd86d12557cdf22daf8b3e92150649bdd0cdc629674260fa5d8a1a2
MD5 d6034b488acfb1ebf7030c24484605e5
BLAKE2b-256 5fc8539044965210403fac7f13d419d885c78afb976ee135441c3d00e4fb7ad7

See more details on using hashes here.

Provenance

The following attestation bundles were made for ksadk-0.8.3.tar.gz:

Publisher: publish-pypi.yml on kingsoftcloud/ksadk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ksadk-0.8.3-py3-none-any.whl.

File metadata

  • Download URL: ksadk-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for ksadk-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5027d1b0b427b14167326eef2d2c50d8bf45f132adc849c159954bdf03098a20
MD5 4ae2610fb87cf7102a50347a7b8037d8
BLAKE2b-256 63aac6c38de44708c502d5ba53e5528d2d041cb43abae8a394d75e9afd7bd220

See more details on using hashes here.

Provenance

The following attestation bundles were made for ksadk-0.8.3-py3-none-any.whl:

Publisher: publish-pypi.yml on kingsoftcloud/ksadk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.8.4

2 files

This release

0.8.3 This release

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.0

2 files

0.6.9

2 files

0.6.8

2 files

0.6.7

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

1 file

0.5.9

1 file

0.5.8

1 file

0.5.7

1 file

0.5.6

1 file

0.5.5

1 file

0.5.4

1 file

0.5.3

1 file

0.5.2

1 file

0.5.1

1 file

0.5.0

2 files

0.4.0

1 file

0.3.9

1 file

0.3.8

1 file

0.3.7

1 file

0.3.6

1 file

0.3.5

1 file

0.3.0

1 file

0.2.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page