# Product

> [llms.txt](https://onecli.sh/llms.txt)

OneCLI sits between your sandboxed agents and every system they call.

URL: https://onecli.sh/product

## Exactly the access the job needs

[Dashboard](https://app.onecli.sh) · [Read the docs](https://onecli.sh/docs/llms.txt)

The path of one request:

1. **Sandbox** (E2B, Daytona, Boat). The agent runs here. `GITHUB_TOKEN` is not set.
2. The agent sends its request with no key.
3. **OneCLI gateway.** The policy allows it, the key is added, the call is logged.
4. The request goes on with the key.
5. **GitHub API** (`api.github.com`) answers `201 Created`.

## One policy per job

An admin writes it once. The agent gets that, and nothing more.

### QA agent: policy `qa-permissions`

Allowed:

- **Jira:** Read issues, Comment
- **GitHub:** Read repos, Open pull requests

| Request | Result |
| --- | --- |
| `GET jira /issue/QA-142` | Allowed |
| `POST github /repos/acme/web/pulls` | Allowed |
| `DELETE github /repos/acme/web/branches/main` | Blocked |
| `POST stripe /v1/refunds` | Blocked |

### Support agent: policy `support-desk`

Allowed:

- **Slack:** Read, Post in #support
- **Stripe:** Read customers
- **Jira:** Create issues

| Request | Result |
| --- | --- |
| `POST slack chat.postMessage #support` | Allowed |
| `GET stripe /v1/customers/cus_8fK2` | Allowed |
| `POST stripe /v1/refunds` | Blocked |
| `GET github /repos/acme/web` | Blocked |

### Release agent: policy `release-train`

Allowed:

- **GitHub:** Create releases, Tag
- **Slack:** Post in #releases

| Request | Result |
| --- | --- |
| `POST github /repos/acme/web/releases` | Allowed |
| `POST slack chat.postMessage #releases` | Allowed |
| `DELETE github /repos/acme/web` | Blocked |
| `GET jira /issue/SEC-9` | Blocked |

Illustrative policies and requests.

## Every call on record

Which agent, which policy, what happened. SOC 2 Type II: [read the report](https://trust.onecli.sh).

| Time | Agent | Request | Policy | Result |
| --- | --- | --- | --- | --- |
| 14:02:11 | qa-agent | `POST github /repos/acme/web/pulls` | qa-permissions | Allowed |
| 14:02:19 | qa-agent | `DELETE github /repos/acme/web/branches/main` | qa-permissions | Blocked |
| 14:03:02 | support-agent | `GET stripe /v1/customers/cus_8fK2` | support-desk | Allowed |
| 14:03:40 | support-agent | `POST stripe /v1/refunds` | support-desk | Blocked |
| 14:05:27 | release-agent | `POST github /repos/acme/web/releases` | release-train | Allowed |

Illustrative log.

## Built for sandboxes

The sandbox holds the agent. OneCLI holds the keys. Agents in E2B, Daytona and Boat all reach their keys through one OneCLI vault.

## Connect a tool. Hand out no token.

Every connector takes the same road through the gateway: Jira, GitHub, Slack, Salesforce, Notion, Stripe, Datadog, Sentry, HubSpot, Gmail. 100+ in all.

## Give agents the job. Keep the keys.

[Dashboard](https://app.onecli.sh)
