OneCLI
A credential gateway for AI agents with a built-in vault. Store once, inject anywhere, agents never see the keys.
- Source repo
- onecli/onecli
- Stars
- ★ 3.7k
- Last updated
- today v3.0.0
- FARS reviewed
- Nov 08, 2026 +2 new
- License
- Apache-2.0
- Primary language
- TypeScript
- FA score
- 58/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specific
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A local developer wants to run AI agents without exposing API keys in code or environment variables.
- Not a fit if
- Individuals unwilling to run PostgreSQL and multiple services
- Teams needing fully offline use with no external identity provider
- Small teams wanting zero-infrastructure, instant setup
- Website
- onecli.sh ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v3.0.0 (2026-12-02)+1.0 ★/day over 7 days
- Source review
- 58/100 · Major gaps
What does this agent do, and when should you use it?
OneCLI is an open-source credential gateway that sits between AI agents and the services they call. It uses a Rust-based high-performance gateway (apps/gateway) to intercept outbound HTTP requests and inject credentials at runtime. Real credentials are stored in an encrypted secret store using AES-256-GCM, decrypted only at request time, and injected based on host and path patterns. The web dashboard (apps/web) is a Next.js app for managing agents, secrets, and permissions. OneCLI supports a local single-user mode (no login) and Google OAuth for multi-user teams. Deployment is straightforward via Docker Compose or a one-line install script. The project is licensed under Apache-2.0.
OneCLI runs a Rust gateway (listening on port 10255) that intercepts outbound HTTP requests from AI agents. Agents authenticate using placeholder keys (e.g., FAKE_KEY), and the gateway, through MITM interception if HTTPS, replaces the placeholder with the REAL_KEY retrieved from the encrypted store and injects it as headers or query parameters. The web dashboard (port 10254) provides a UI to create agents, add secrets, and configure permissions. The gateway resolves which credentials to inject via an API provided by the dashboard. The secret store uses AES-256-GCM encryption, decrypting only at request time. OneCLI also supports integration with password managers like Bitwarden for on-demand injection without storing secrets on the server.
- A local developer wants to run AI agents without exposing API keys in code or environment variables.
- A team wants to centrally manage API keys for multiple AI agents, with the ability to rotate and revoke access independently.
- A security-conscious organization requires that sensitive credentials are never directly exposed to AI agents, but injected via an encrypted gateway.
- An administrator using Bitwarden wants on-demand credential injection for AI agents without storing secrets on the server.
- A user wants to audit AI agent calls to third-party APIs and access patterns.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://onecli.sh/install | sh
- Ports
10254·10255- Environment variables
NEXTAUTH_SECRET- Config files
docker/docker-compose.yml- Install notes cover
- Docker
How do you install or deploy this agent?
Install by running: curl -fsSL https://onecli.sh/install | sh. For manual install, clone the repo: git clone https://github.com/onecli/onecli.git, cd into it, then run docker compose -f docker/docker-compose.yml up -d --wait. After installation, open http://localhost:10254 to create agents and add secrets; the gateway listens on localhost:10255.
How do you use this agent?
After installation, create an agent in the web dashboard (port 10254) to get an access token. Configure secrets in the dashboard for the agent, specifying host and path patterns. Set your agent's HTTP gateway to localhost:10255 and use placeholder keys in requests. The gateway will automatically replace placeholders with real credentials. For multi-user mode, set NEXTAUTH_SECRET and Google OAuth credentials.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Transparent injection: agents use plain HTTP calls without modification; the gateway handles authentication.
- Encrypted storage: AES-256-GCM encryption, decrypting only at request time, reducing exposure risk.
- Multi-agent support: each agent has its own access token with scoped permissions.
- Vault integration with Bitwarden allows on-demand credential injection.
- Requires maintaining additional gateway components (Rust gateway and web dashboard) and infrastructure (PostgreSQL).
- HTTPS interception requires agents to trust OneCLI's certificate, which may introduce compatibility issues.
- No built-in identity provider; multi-user relies on Google OAuth.
- As a relatively new project, it may lack mature ecosystem and community support.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| OneCLI This agent | 58 · Major gaps | Self-hosted serviceFreemium | ★ 3.7k | today | TypeScript | — |
| Runx Skill Workflow Runtime | 82 · Good | CLIFree | ★ 106 | 13d ago | Rust | — |
| Kasetto | 65 · Some gaps | CLIFree | ★ 220 | 4d ago | Rust | Codex · Claude Code |
| Agent Desktop | 81 · Good | CLIFree | ★ 28k | 1d ago | Rust | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The README describes sandbox traffic routed through a gateway, request-time credential injection, and human approval for actions such as sending email or deleting tickets. The supervisor deletes the single-use bootstrap token, the SSH terminator uses short-lived session tokens, and shutdown paths drain sessions. This supports ordinary-use controls for permissions, confirmation, and data-flow visibility, but the packet does not show complete policy configuration, key lifecycle, or recovery procedures, so these do not earn full marks. Dependency security is supported only by CI build configuration; dependency auditing or vulnerability response is not shown. Operational side effects and rollback also lack complete, action-level documentation. The security reporting channel is clear, but publisher and maintainer attribution cannot be fully verified from the supplied material.
The entrypoints show explicit handling for configuration errors, answered authentication failures, transport retries, and signal-driven draining. CI configuration describes unit, integration, and end-to-end checks, and the supplied test covers gateway connection-selection behavior. This supports ordinary reliability and failure messaging, but only part of the repository is supplied, so consistency across all components cannot be established. Dependency availability is only indirectly addressed by setup instructions and CI workflows; dependency-failure behavior and complete runtime evidence are absent.
The README targets team operators and describes per-person sandboxed agents, Slack, identity-provider provisioning, shared connections, and self-hosting. The code shows selectable harnesses and stdio/WebSocket transports, plus Docker/Kubernetes backends. Unknown harness IDs fail explicitly, supporting some clear capability boundaries. The packet does not fully define supported and unsupported scenarios, trigger conditions, or environment differences, so these criteria receive moderate scores.
The README organizes quick start, architecture, development, security, and contribution information and provides self-hosting and development entry points. Component names are reasonably consistent in the supplied examples. The security policy, Apache license, and enterprise-license exception are explained; CI and shutdown behavior also document some operational constraints. Deductions reflect the absence from this sample of an FAQ, broad examples, a changelog, or a clearly named maintainer. package.json provides a version, but update-path information is limited.
The product combines team agent management, isolated sandboxes, credential injection, policy enforcement, and human approvals in a deployable platform. The README gives concrete workflows and component responsibilities. These scores are limited because the product benefits are largely asserted in project documentation; the packet gives no user outcome, performance, or resource-cost evidence to establish relative value or cost-benefit.
README architecture claims are partly corroborated by the supplied supervisor, channel-adapter, and SSH terminator code, as well as CI configuration. The test file asserts specific connection-ambiguity and policy outcomes. The material distinguishes some implementation facts from stated design intent, but several security and product claims remain supported mainly by README text. The packet is incomplete, and no execution or result is claimed.
- This assessment uses only the supplied static file sample; unseen files are unknown and are not treated as present or absent.
- README claims about isolation, policy enforcement, credential protection, and approvals are only partly supported by the code sample; review the complete policy, secret-management, recovery, and runtime configuration before deployment.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
[3.0.0](https://github.com/onecli/onecli/compare/v2.20.0...v3.0.0) (2026-12-02) OneCLI 3.0 replaces workspaces and per-agent grants with vaults. Put API keys, LLM keys and connected apps in a vault, connect agents to it, and set what they may do with each item. What's new - Vaults and items. A vault holds secrets and connected apps. Every agent on a vault shares its permissions, and each agent gets its own credential (oc_agent_). …View on GitHub ↗ -
Release notes excerpt
[2.20.0](https://github.com/onecli/onecli/compare/v2.19.0...v2.20.0) (2026-11-09) Features * Settings modal, DM threads, Slack reactions, smooth chat streaming, browser dialogs ([#644](https://github.com/onecli/onecli/issues/644)) ([9d5c600](https://github.com/onecli/onecli/commit/9d5c6008f8c89de22d8dce7c0802c5952b9306e3))View on GitHub ↗ -
Release notes excerpt
[2.19.0](https://github.com/onecli/onecli/compare/v2.18.0...v2.19.0) (2026-11-05) Features * context sizing, Approve similar, honest refusals, read-only home restarts, faster wakes ([#640](https://github.com/onecli/onecli/issues/640)) ([1d63469](https://github.com/onecli/onecli/commit/1d6346933ba0615fc5a313afcbb1c2a30f54dd0a))View on GitHub ↗
FAQ
How does OneCLI ensure secrets are secure in transit?
What authentication modes does OneCLI support?
Can I integrate OneCLI with existing password managers like Bitwarden?
Does OneCLI support all API protocols?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.