Skip to main content

Kingsoft Cloud Agent Development Kit - 支持 LangChain/LangGraph/DeepAgents/ADK/OpenClaw/Hermes 的本地运行与云端部署

Project description

ksadk

简体中文 | English

金山云 Agent Development Kit。ksadk 提供 Python SDK 和 agentengine 命令行,用于创建、运行、调试、打包和部署 AgentEngine 智能体项目。它面向 本地开发、Serverless 运行时、Google ADK、LangChain/LangGraph、 DeepAgents、Hermes、OpenClaw、MCP 和 Skill Runtime 等场景。

当前版本:0.6.1

安装

pip install -U ksadk

按需安装可选运行时依赖:

pip install -U "ksadk[adk]"
pip install -U "ksadk[langgraph]"
pip install -U "ksadk[deepagents]"
pip install -U "ksadk[skills]"
pip install -U "ksadk[all]"

快速开始

创建并运行一个本地 Agent:

agentengine init my-agent -f langgraph
cd my-agent
agentengine config
agentengine run -i

打开本地 Web UI:

agentengine web . --no-open

如需走部署形态,先使用 dry-run 或内部审核流程确认配置:

agentengine launch . --target serverless

包含能力

  • 本地开发命令:initconfigrunweb
  • 构建与部署命令:builddeploylaunch
  • 远程操作:agent invokefilesdashboard
  • 运行时集成:ADK、LangChain、LangGraph、DeepAgents、MCP
  • 托管运行时资产:Hermes 和 OpenClaw
  • Skill Runtime 预览:Skill Center 发现、zip 下载、sha256 校验、安全解压、本地执行和通过 ksadk[skills] 启用的沙箱执行
  • Sandbox Runtime 预览:通用沙箱抽象与 E2B 兼容后端

0.6.1 重点

  • /v1/responses/v1/chat/completions 在外部保持独立协议,Runner 内部接收统一的 Responses 风格输入。
  • Hosted UI 与本地 agentengine web 使用 Responses input_image / input_file 发送图片和文件,同时兼容旧的 inlineData / fileData
  • 浏览器刷新或 SSE 断开后,流式运行可以在后台继续,UI 可以重新订阅同一个 invocation。
  • 未配置 STM 时,LangGraph、LangChain、DeepAgents 和 ADK 的本地 Web 会话默认使用项目内 sqlite 存储。
  • 工作区预览自动刷新时保留当前预览/编辑模式。
  • 默认运行时使用 Hermes 2026.5.16-ksadk-v1 和 OpenClaw 2026.5.22

文档

公开文档托管在 GitHub Pages,并使用 MkDocs Material 与双语 i18n 方案:

项目链接

说明

  • Skill 注册、CRUD 和版本治理属于 Skill Service;ksadk 在运行时消费 Skill Center。
  • Sandbox 模板和实例生命周期属于 Sandbox Service;ksadk 使用配置的沙箱后端执行运行时工作流。
  • E2B 兼容沙箱后端使用原生 E2B_API_URLE2B_API_KEY 环境变量。

Project details


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.6.1.tar.gz (3.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.6.1-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ksadk-0.6.1.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for ksadk-0.6.1.tar.gz
Algorithm Hash digest
SHA256 45a1c4f6888f17b9e328264d780d4269e8786171d83298cd0041f6779d0e27be
MD5 bf032782aba9d3833f52c2ceb21c7541
BLAKE2b-256 a4aef3d63bf26d09e09e2b231dafa535c6f0234df81143212b4a08e0874511e0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ksadk-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for ksadk-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cd3096325bd26ded8e7207b9ae2318f5b273bf36ad62d871efc899e1c554256
MD5 a597827e0d48324265aa6333e99ca757
BLAKE2b-256 f62fc90b8f2f21fd0b5e75ca7645c98bd345a84a8d5d0dc7aef39d904b6dd2ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page