AgentCage智能体沙箱 是 AI Skill Hub 本期精选AI工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
为AI智能体提供纵深防御的代理沙箱框架。通过多层安全策略隔离和监控AI Agent的执行环境,防止恶意操作和资源滥用。适合构建安全的AI工作流应用和智能体系统的开发者。
AgentCage智能体沙箱 是一款基于 Python 开发的开源工具,专注于 AI安全、沙箱隔离、智能体框架 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
为AI智能体提供纵深防御的代理沙箱框架。通过多层安全策略隔离和监控AI Agent的执行环境,防止恶意操作和资源滥用。适合构建安全的AI工作流应用和智能体系统的开发者。
AgentCage智能体沙箱 是一款基于 Python 开发的开源工具,专注于 AI安全、沙箱隔离、智能体框架 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install agentcage
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install agentcage
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/agentcage/agentcage
cd agentcage
pip install -e .
# 验证安装
python -c "import agentcage; print('安装成功')"
# 命令行使用
agentcage --help
# 基本用法
agentcage input_file -o output_file
# Python 代码中调用
import agentcage
# 示例
result = agentcage.process("input")
print(result)
# agentcage 配置文件示例(config.yml) app: name: "agentcage" debug: false log_level: "INFO" # 运行时指定配置文件 agentcage --config config.yml # 或通过环境变量配置 export AGENTCAGE_API_KEY="your-key" export AGENTCAGE_OUTPUT_DIR="./output"
<p align="center"> <img src="docs/agentcage.png" alt="agentcage logo" width="250"> </p>
curl -fsSL https://raw.githubusercontent.com/agentcage/agentcage/master/install.sh | sh
One-line installer (installs agentcage + prerequisites):
curl -fsSL https://raw.githubusercontent.com/agentcage/agentcage/master/install.sh | sh
Manual install:
Container mode (Linux only) -- prerequisites: Podman (rootless), Python 3.12+, uv.
| OS | Command |
|---|---|
| Arch Linux | sudo pacman -S podman python uv |
| Debian / Ubuntu 24.04+ | sudo apt install podman python3 && curl -LsSf https://astral.sh/uv/install.sh \| sh |
| Fedora | sudo dnf install podman python3 uv |
VM mode (Linux and macOS) -- prerequisites: Lima, Python 3.12+, uv. QEMU also required on Linux.
| OS | Command |
|---|---|
| macOS (any version) | brew install lima python uv |
| Arch Linux | sudo pacman -S qemu-full python uv + [install Lima](https://lima-vm.io/docs/installation/) |
| Debian / Ubuntu | sudo apt install qemu-system python3 && curl -LsSf https://astral.sh/uv/install.sh \| sh + [install Lima](https://lima-vm.io/docs/installation/) |
apple-container mode (macOS 26+ Apple Silicon, recommended on that platform) -- prerequisites: Apple's container CLI, Python 3.12+, uv.
```bash
PKG=$(curl -fsSL https://api.github.com/repos/apple/container/releases/latest \ | grep -oE 'https://github.com/apple/container/releases/download/[^"]+\.pkg' | head -1) curl -fsSLO "$PKG" && sudo installer -pkg "$(basename "$PKG")" -target / container system start --enable-kernel-install
agentcage cage restart myapp
```bash
agentcage cage create -c cage.yaml ```
Run agentcage init --list-scaffolds to see available scaffolds. See CLI Reference for the full command set.
agentcage cage update myapp -c cage.yaml
See the Configuration Reference for all settings, defaults, and examples. Example configs: basic/cage.yaml. Deployment state is tracked per-cage in ~/.config/agentcage/cages/<name>/.
创新的Agent安全防御方案,纵深防线设计合理。但社区认可度低,文档和案例有限,适合安全需求高的专业应用。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,AgentCage智能体沙箱 在AI工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | agentcage |
| 原始描述 | 开源AI工作流:Defense-in-depth proxy sandbox for AI agents。⭐13 · Python |
| Topics | AI安全沙箱隔离智能体框架工作流Python |
| GitHub | https://github.com/agentcage/agentcage |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-24 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。