A secure sandbox execution environment for DB-GPT Agent
Project description
DB-GPT Sandbox
背景:AI Agent 逐步成为使用 AI 解决真实环境中各类问题的有力工具,然而真实环境的任务隔离性和安全性是企业落地中必然要考虑的问题。 DB-GPT Agent 目前不支持统一、可扩展的安全沙箱环境。
预期目标:
为 DB-GPT Agent 实现一个安全的沙箱执行环境(支持 Agent、工具的运行和多语言代码的执行)。 分三个部分:
- 基于 DB-GPT Agent + Docker 容器实现安全的代码执行环境,支持 Python、Shell、Node.js 等代码的执行,改造 DB-GPT 现有的代码执行智能体。
- 支持有状态的沙箱环境,多次代码执行可以在相同的环境中,并且上次环境的变更能影响下次的执行(例如第一次执行安装 pypi 依赖,第二次执行安装后的依赖能正常使用)
- 插件化的安全沙箱环境实现,设计统一的沙箱环境接口,支持 Docker、Podman、本地进程(基Cgroup/Namespace/WebAssembly等)等沙箱环境的实现。
产出要求:
- 项目设计文档(含架构图、原理图、实现细节等)
- 实现安全沙箱环境的核心模块(统一沙箱环境接口,Docker 实现和本地进程的实现)
- 提供完整的使用教程文档说明
- 基于沙箱环境,开发一个支持 Python 等代码执行的 Agent 案例
Project details
Release history Release notifications | RSS feed
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.8.0rc1.tar.gz
(649.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbgpt_sandbox-0.8.0rc1.tar.gz.
File metadata
- Download URL: dbgpt_sandbox-0.8.0rc1.tar.gz
- Upload date:
- Size: 649.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3789950bc23dbd2eebb546be026aa4d92b89fdfd7b2adea5ed3343894cc0eb41
|
|
| MD5 |
161193991a3ee8c9756967f889a7f8a2
|
|
| BLAKE2b-256 |
fcfce1a0b30a766b8f88c051ece14dc4af9560b9a7ed322c197e6454e86368a8
|
File details
Details for the file dbgpt_sandbox-0.8.0rc1-py3-none-any.whl.
File metadata
- Download URL: dbgpt_sandbox-0.8.0rc1-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cba564d1d9600558c4c4a205161babb6c4ddc39c4e5f289e65c52558166eceb
|
|
| MD5 |
fb0a02c72248e5d41fcf2cc539d57466
|
|
| BLAKE2b-256 |
805491af316bb1415a9866297d5d8802b53ed18263a25d0425c45b4a4e8f80ee
|