# OneCLI: Open-Source Gateway Lets AI Agents Use APIs Without Ever Seeing the Keys

Original title: Launch HN: OneCLI (YC S26) – OSS sandboxed agent harness for teams

> Hacker News story 49363710 · language: en · submitted 2026-08-19
> Web version: https://zeli.app/story/49363710
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 85 · by [guyb3](<https://news.ycombinator.com/user?id=guyb3>) · 💬 25
[original](<https://github.com/onecli/onecli>) · [HN discussion](<https://news.ycombinator.com/item?id=49363710>)

## Summary

OneCLI is an open-source credential gateway that sits between AI agents and the services they call. Instead of embedding real API keys in every agent, you store them once in OneCLI and give agents placeholder keys. When an agent makes an HTTP call, the gateway swaps the placeholder for the real key, decrypts it, and injects it into the request—so agents never see the secrets. Built with a Rust gateway and a Next.js dashboard, it supports AES-256-GCM encryption, host/path matching, multi-agent access tokens, and optional Google OAuth for teams.

## Key quote

> Store once. Inject anywhere. Agents never see the keys.

## HN discussion (25 comments)

### [Cameri](<https://news.ycombinator.com/item?id=49369075>)

> How is OneCLI different from Databrick's Omnigent?

### [ezzy-1630](<https://news.ycombinator.com/item?id=49366194>)

> Keeping the real credential out of model context is a meaningful improvement, but the gateway still becomes a confused-deputy boundary. How granular are policies below the endpoint level? An agent allowed to call a CRM API may still be tricked into exporting the wrong customer or changing a field it should only read. I'd be interested in whether policies can constrain method, path, request fields, resource ownership, and response volume, and how those rules are tested against prompt injection.

### [aliasxneo](<https://news.ycombinator.com/item?id=49364395>)

> How do you even win in this space? I feel like every day I see either a paid or fully OSS version of this product being posted here. As an end user I've become so overwhelmed that I've just started to mostly ignore them at this point. I can't be the only potential customer feeling this way?

---

## Cite

- Page: https://zeli.app/story/49363710
- Date: 2026-08-19
- Source: github.com (https://github.com/onecli/onecli)
- Hacker News: https://news.ycombinator.com/item?id=49363710

## Other languages

- zh: https://zeli.app/zh/story/49363710 · markdown: https://zeli.app/zh/story/49363710.md
- ja: https://zeli.app/ja/story/49363710 · markdown: https://zeli.app/ja/story/49363710.md
- ko: https://zeli.app/ko/story/49363710 · markdown: https://zeli.app/ko/story/49363710.md
- de: https://zeli.app/de/story/49363710 · markdown: https://zeli.app/de/story/49363710.md
- es: https://zeli.app/es/story/49363710 · markdown: https://zeli.app/es/story/49363710.md
