Skip to main content

A secure sandbox execution environment for DB-GPT Agent

Project description

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 案例

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

dbgpt_sandbox-0.7.3.tar.gz (648.7 kB view details)

Uploaded Source

Built Distribution

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

dbgpt_sandbox-0.7.3-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file dbgpt_sandbox-0.7.3.tar.gz.

File metadata

  • Download URL: dbgpt_sandbox-0.7.3.tar.gz
  • Upload date:
  • Size: 648.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dbgpt_sandbox-0.7.3.tar.gz
Algorithm Hash digest
SHA256 2ac9f776172e45450284eb227ffb5025a9ec14eac8cbe87f5cd1f53cf4c74800
MD5 6c866a524f7d9d4ad876e99183cc6f6d
BLAKE2b-256 979c42aaefa2f7f9edb5dab81e165d59701af17853d54706325a20388d3e6f1c

See more details on using hashes here.

File details

Details for the file dbgpt_sandbox-0.7.3-py3-none-any.whl.

File metadata

  • Download URL: dbgpt_sandbox-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dbgpt_sandbox-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d2ac659e3dd1a50c398a62238ece5ee6e1f1194bed7eedce23b0306c58d78d9
MD5 d846ba7f5786eb72d285f6bc0366f34a
BLAKE2b-256 a258dae7217796bff1382804bd073a8605d1bfb7ca1fd2be1f4e3ba30ab339ca

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