Local credential control for AI coding agents
Raw credentials stay on your machine. Agents get typed handles, local approvals, local execution, and sanitized output.
Node.js 20+ ยท macOS, Linux, and Windows
Overview
Real-time security posture and usage overview
Operational readiness
Pending approvals
Credential handles
| Provider | Secrets | Severity |
|---|---|---|
| Keychain | 33 | Medium |
| API Tokens | 2 | Low |
| Credentials | 1 | Low |
| 1Password | 12 | Low |
Policy coverage
Usage Flow
Recent activity
| Source | Event type | Status | Destination |
|---|---|---|---|
Codex | Request | Pending | web-prod-01 |
| Request | Executed | This Mac | |
OpenCode | Request | Denied | This Mac |
Codex | Request | Approved | AWS |
Cursor | Request | Executed | This Mac |
| Request | Pending | This Mac | |
| Request | Pending | preview-host |
The security boundary
The agent gets a handle. Never the credential.
s-gw never returns plaintext to the coding agent. The model can request an approved action, but it cannot read, print, copy, or return the secret behind the handle. That means the credential cannot leave your computer through model context, prompts, or tool responses.
s-gw:credential:prod-readonlyRaw credential stays inside this boundary
Secret values removed before return
What authorization releases
A use is safer than a secret.
Plaintext enters the authorized runtime.
The agent never receives the raw value.
How it works
Patent-pending methodologyCredentials stay local. Useful work comes back.
The agent requests an action with a typed handle. s-gw approves, resolves, executes, and sanitizes it inside one auditable loop on your machine.
Local control surfaces
Review every request before execution.
See the exact agent, credential, command, policy, and destination before deciding how long access should last.
Tracked locally
Every agent credential use becomes an audit event.
s-gw records which agent asked, which handle was used, where it ran, how it was approved, and whether the result was sanitized before returning to the agent.
Activity log
Open any event. See the complete path.
Every entry connects the original request to the agent, action, security decision, and final destination without recording the raw secret.
Built for developers
Supported agents
Use s-gw with the coding agents already in your workflow.
Native surface
Approval stays within reach.
The macOS app, menu-bar helper, local console, and CLI all read the same local store. Raw secret values stay in Keychain or the local encrypted ledger.
Desktop downloads
Prefer a desktop download?
npm is the recommended route. These packages are available if you prefer a desktop download.
Choose a platform
Keep agent credentials useful. Keep them local.
Install with npm, then see how each request stays local.
Install with npmGive s-gw a star on GitHub
Star on GitHub
Codex
OpenCode
Cursor





