OneCLI:开源沙箱化 Agent 工具,为团队提供安全个人代理
评分
72提供了企业级 Agent 安全部署的新开源方案,信息增量较高。
内容直接引用项目描述,结构完整但缺乏细节验证。
沙箱化 agent harness 可直接落地,尤其适合安全敏感业务。
发布自 YC S26 并刚在 Hacker News 出现,时效性强。
信息源自项目官方仓库及 HN 发布,可信度较高。
基础分 79.5 × T2 信源权重 ×0.9 = 72
精选线 70已入选精选
精选理由
该产品紧贴企业 AI 落地的安全痛点,方案实用且开源可验证,但尚需观察生态成熟度。
AI 点评
「在 Agent 满天飞的当下,OneCLI 的切入点很聪明:把“安全沙箱”当作团队级基础设施来做。这个项目值得关注,不只是因为 YC 光环,而是它把企业最头疼的权限边界问题变成了默认能力。对平台工程和安全团队尤其有参考价值,开源也给了深度定制空间。」
速览
OneCLI 是 YC S26 推出的开源沙箱化 agent harness,旨在为团队中的每位员工提供一个安全、隔离的个人 AI 代理。它允许企业将 Agent 部署在可控环境中,降低数据泄露和误操作风险,同时提升团队自动化协作效率。项目在 Hacker News 上引发关注,适合希望安全引入 Agent 的团队。
- OneCLI 是 YC S26 孵化的开源 agent harness,面向团队场景。
- 核心特点是沙箱隔离与权限控制,为每位员工提供安全的个人代理。
- 支持自托管和定制,适合对数据安全要求高的企业。
- 在 Hacker News 上发布后引发关注,或成为企业级 Agent 落地基础设施。
正文
以下为原文,中文全文翻译生成中
The agent harness built for teams.
A pro assistant for companies. Give every employee a secured, sandboxed personal agent.
Quick Start
Cloud-hosted: onecli.sh
Self-hosted
git clone https://github.com/onecli/onecli.git && cd onecli pnpm install pnpm run setup
What is OneCLI v2?
OneCLI is an open-source platform for running AI agents as a team. You create an agent per person, give each agent the access it needs, and it works in a sandbox, routed through a gateway that injects the credentials and enforces your policy.
Why we built OneCLI?
OneCLI started as a credential vault for AI agents, built in Rust. We found that most of the demand came from individuals and teams running autonomous agents like Hermes, OpenClaw and NanoClaw. People wanted agents that do real work for the person running them, but two parts were missing:
- managing secrets and permissions.
- and for teams - multiplayer management.
Every autonomous agent out there is built for one person. And for one person, they're great. The moment you need to replicate that across a team, it gets messy: spinning up each agent, deciding what each one can and cannot do, hosting them, keeping track of whose agent is whose.
So we shifted, and built OneCLI v2.
Built for teams
- Your identity provider, integrated: provision agents on behalf of each employee's identity, straight from the company IdP.
- An agent per person: everyone in the workspace gets their own sandboxed agent, reachable from the dashboard or Slack.
- One policy, enforced everywhere: manage the team policy in one place, that any agent in the workspaces would be enforced by.
- Deterministic human-in-the-loop approvals: in the chat itself, for things you need 100% control over, like sending the email, deleting the Linear ticket, emptying an S3 bucket.
- Global connections: shared at the team level, like LLM keys or service accounts, granted per agent without ever being handed to one.
The agent
An agent is a durable thing, not a single prompt. It has:
- A computer: its own isolated sandbox, with a filesystem and a shell. The only way out is the gateway, so it can reach what you granted and nothing else.
- A conversation: its own page in the dashboard, or Slack. Images and files included. A message sent while the agent is working redirects it right away instead of queueing behind it.
- Memory: what the agent learns is kept by the platform, so it is never lost. You can read and edit it any time.
- Skills: instructions and helpers you write once, always available to the agent.
- A schedule: the agent can plan future work, and the platform wakes it at the right time.
- Credentials it never sees: each agent gets only the access you granted, and the gateway enforces it on every request. Or connect Bitwarden or 1Password for on-demand injection, with nothing stored on the server.
- Its own Slack app: connect it once and it answers in channels and DMs under its own name and avatar, with files and images. Delete the agent and its Slack app goes with it.
Agents run on your own infrastructure. The runner is outbound-only and holds no inbound ports, so a laptop, a homelab, or a VPC behind NAT all work with no ingress and no tunnel.
Architecture
- Web Dashboard: Next.js app. Create agents, chat with them, edit their memory and skills, manage connections, secrets and grants.
- API Server: the control plane. Owns the database, the conversation plane, and the work queue the runner polls.
- Rust Gateway: intercepts outbound requests (HTTPS included, via MITM) and injects credentials. Agents authenticate with access tokens via
Proxy-Authorizationheaders. - Runner: starts, parks and reaps agent sandboxes. Outbound-only, and never touches the database.
- Sandbox Supervisor: runs inside each sandbox, speaking a vendor-neutral harness interface so the agent runtime is swappable.
- Channel Adapter: the Slack daemon, one app per agent.
- Secret Store: AES-256-GCM at rest, decrypted only at request time, matched by host and path pattern, injected as headers or query parameters.
Local Development
git clone https://github.com/onecli/onecli.git && cd onecli mise install pnpm install pnpm dev
That's the whole setup: pnpm dev generates .env with every required secret, starts PostgreSQL, applies migrations, and runs the full stack. Prerequisites, the command reference, project structure, and configuration live in docs/development.md.
Contributing
Contributions are welcome. Read the Contributing Guide and Code of Conduct before getting started. Contributions are accepted under the terms of the Contributor License Agreement.
Security
To report a vulnerability, please follow our Security Policy. Do not open a public issue for security reports.
License
Apache-2.0, with one exception: the ee/ directories hold
enterprise features under the OneCLI Enterprise License,
each carrying a notice that points at it. That license is free for development,
testing and evaluation, and requires a subscription for production use.
Everything else is Apache-2.0 and can be self-hosted in production with no
commercial license. LICENSE-ENTERPRISE carries the
authoritative list of licensed paths.
相关条目
92
精选OpenRouter 推出提示缓存与粘性路由,大幅降低多轮对话成本
对于高频调用 AI API 的开发者,这个功能堪称直接省钱利器。粘性路由保证了缓存命中率,配合 session_id 零配置接入,值得所有使用 OpenRouter 的团队立即尝试。
91
精选ChatGPT Work:可在跨应用和文件中执行操作的AI Agent
我认为这是AI助手从问答走向执行的关键一步。对需要自动化复杂工作流的专业人士尤其值得关注。ChatGPT Work可能成为生产力工具的新范式。
90
精选前沿实验室代理入侵事件技术时间线:2026年7月事件剖析
这篇技术时间线值得所有AI安全研究员和代理开发者细读——它不只是描述一次攻击,而是为整个行业敲响了代理系统防御体系薄弱的警钟。对正在部署自主代理的团队来说,这是必读的灾难预防手册。
90
精选更好的工具反而让Copilot代码审查更糟?GitHub这样改进
这篇博客值得所有AI产品工程师和ML从业者仔细阅读——它打破了'更强大的工具=更好的AI'的直觉,转而强调与Agent推理模式匹配的工程哲学。对正在优化代码审查或类似Agent产品的团队尤其重要。
88
精选OpenRouter 推出统一多模态 API:单端点支持图像、视频、音频、嵌入与转录
这条消息值得所有做多模态AI应用的开发者关注:OpenRouter用联合API解决了模型切换的痛点,特别适合初创团队或快速原型开发。如果你正被多个API密钥和SDK折磨,这个接口可能是你需要的统一层。
87
精选Anthropic 推出 Claude for Teachers:面向教师的教育 AI 工具
这条消息对教育工作者和AI行业观察者都很有价值。Anthropic没有选择通用聊天机器人,而是专门为教师设计了安全可控的工具,这显示出AI在垂直场景落地的正确思路——不是技术炫技,而是切实解决用户痛点。同时,产品内置的安全护栏也值得其他AI公司参考,尤其是在面向儿童或青少年的场景中。
86
精选OpenRouter发布全新Auto Router:用市场智慧优化模型路由
这条更新值得所有用API开发AI应用的人关注。以前选模型靠经验和测试,现在市场数据帮你选。虽然细节不多,但方向很对。对依赖聚合模型服务的团队尤其重要。
86
精选Claude Code v2.1.211 发布:多项修复与改进
作为一个经常使用 Claude Code 进行自动化编码的开发者,我特别关注这次的安全修复,尤其是权限预览字符绕过和自动模式覆盖钩子决策的问题——这些直接关系到团队协作时的安全边界。后台代理报告的改进也让长时间运行的任务更可靠。建议所有使用者尽快升级。