Show HN:Amla Sandbox – 用于 AI 代理的 WASM bash shell 沙盒
发布: (2026年1月30日 GMT+8 22:34)
1 分钟阅读
原文: Hacker News
Source: Hacker News
概览
WASM 沙箱,用于安全运行 LLM 生成的代码。代理获得类似 bash 的 shell,并且只能调用你提供的工具,受你定义的约束限制。无需 Docker、子进程或 SaaS —— 只需 pip 安装 amla-sandbox。
功能
- 类 Bash shell,供代理交互使用。
- 工具约束:代理只能调用你暴露的工具,并受你设定的限制。
- 零外部运行时:无需 Docker、子进程或 SaaS。
- 简易安装:
pip install amla-sandbox。
元数据
- Comments URL: https://news.ycombinator.com/item?id=46824877
- Points: 6
- Comments: 6