Skip to main content

DB-GPT Sandbox

背景:AI Agent 逐步成为使用 AI 解决真实环境中各类问题的有力工具,然而真实环境的任务隔离性和安全性是企业落地中必然要考虑的问题。 DB-GPT Agent 目前不支持统一、可扩展的安全沙箱环境。

预期目标:

为 DB-GPT Agent 实现一个安全的沙箱执行环境(支持 Agent、工具的运行和多语言代码的执行)。 分三个部分:

  1. 基于 DB-GPT Agent + Docker 容器实现安全的代码执行环境,支持 Python、Shell、Node.js 等代码的执行,改造 DB-GPT 现有的代码执行智能体。
  2. 支持有状态的沙箱环境,多次代码执行可以在相同的环境中,并且上次环境的变更能影响下次的执行(例如第一次执行安装 pypi 依赖,第二次执行安装后的依赖能正常使用)
  3. 插件化的安全沙箱环境实现,设计统一的沙箱环境接口,支持 Docker、Podman、本地进程(基Cgroup/Namespace/WebAssembly等)等沙箱环境的实现。

产出要求:

  1. 项目设计文档(含架构图、原理图、实现细节等)
  2. 实现安全沙箱环境的核心模块(统一沙箱环境接口,Docker 实现和本地进程的实现)
  3. 提供完整的使用教程文档说明
  4. 基于沙箱环境,开发一个支持 Python 等代码执行的 Agent 案例

Metadata

Release files for dbgpt-sandbox 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbgpt-sandbox 0.8.2
File Size Uploaded Provenance Actions
dbgpt_sandbox-0.8.2.tar.gz 650.3 kB Without provenance Details for dbgpt_sandbox-0.8.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dbgpt-sandbox 0.8.2
File Interpreter ABI Platform Actions
dbgpt_sandbox-0.8.2-py3-none-any.whl Python 3 none any Details for dbgpt_sandbox-0.8.2-py3-none-any.whl

Total release size: 684.1 kB

Release files / dbgpt_sandbox-0.8.2.tar.gz

Download URL dbgpt_sandbox-0.8.2.tar.gz
Size 650.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4b638f214caac9efbeb1dbe19439156d2019c05e7f7454548c9b191971cb7e18
BLAKE2b-256 checksum
How to use checksums
d610caf34cd6882a818a5aedcac029940d4ecf1cf263caee2f34688b09a4cb6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / dbgpt_sandbox-0.8.2-py3-none-any.whl

Download URL dbgpt_sandbox-0.8.2-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a9107280254878a2bd404ca2fed33f186c37f8ebcda3f1abb12a3e490374245
BLAKE2b-256 checksum
How to use checksums
e4b681628c181f0f989053b77915f8e2e52149756f908de2f630b4a351e62fa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for dbgpt-sandbox 0.8.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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