Install & start the daemon
$ curl -fsSL https://cl-auth.com/install.sh | bash $ clauth init $ clauth start
One-time setup. Runs locally on your machine — nothing leaves your network.
Clauth is a local daemon that sits between your AI agents and the APIs they call. It holds your credentials in an encrypted vault and injects them at request time — so agents get the job done without ever touching a secret.
Install, store your credentials once, and every agent you run is automatically protected.
$ curl -fsSL https://cl-auth.com/install.sh | bash $ clauth init $ clauth start
One-time setup. Runs locally on your machine — nothing leaves your network.
$ clauth vault add github --secret ghp_xxx $ clauth vault add openai --secret sk-xxx $ clauth vault add stripe --secret sk_xxx
Encrypted at rest with AES-256-GCM. You set the passphrase, nobody else.
$ clauth grant my-agent github:read $ clauth grant my-agent openai:chat $ clauth grant my-agent stripe:charges
Each agent gets only the permissions it needs. Nothing more.
Your skill never sees a credential. Just tell Clauth what you need — it handles the rest.
import { ClauthClient } from "clauth/client"; const clauth = new ClauthClient({ skillId: "my-agent", skillToken: process.env.CLAUTH_SKILL_TOKEN }); // Make an API call — Clauth injects credentials const repos = await clauth.fetch({ provider: "github", endpoint: "https://api.github.com/user/repos", method: "GET", scope: "github:read" }); console.log(repos.body); // Your repos. No token in sight.
Your code never handles secrets. Clauth injects auth headers at the network boundary.
Request only what you need. Clauth enforces least-privilege — unauthorized calls are blocked and logged.
Drop in the SDK. Works with any provider — GitHub, OpenAI, Slack, Stripe, and everything else.
Clauth watches for anomalies — unusual endpoints, rate spikes, off-hours activity — and blocks them automatically.
Clauth is designed so you don't have to trust Clauth. Everything is local, auditable, and under your control.
No cloud service, no SaaS, no third-party servers. Clauth is a local daemon. Your credentials never leave your network.
No npm packages. No supply chain risk. Everything is built on Node.js built-in modules. You can read every line of code.
Every request, every grant, every anomaly — hash-chained and append-only. You always know exactly what happened.
MIT licensed. Audit the source, fork it, self-host it. Security through transparency, not obscurity.
One command revokes every grant instantly. Compromised skill? Shut it down in seconds, not hours.
Clauth polls public advisory feeds and auto-revokes affected credentials before you even hear about the breach.
Explore the architecture, see a request flow in action, or compare the before and after.
Everything you need to get started, integrate your skills, and harden your setup.
Install, store your first credential, and grant scoped access to a skill in under a minute.
ClauthClient API for skill developers — brokered fetch, identity verification, and health checks.
Full reference for the daemon HTTP API — proxy, admin, identity broker, and status routes.
Vault encryption, scope enforcement, behavioral anomaly detection, and audit integrity.
Transport modes, hardening options, alert routing, advisory feeds, and OAuth provider setup.
Private identity verification without public posting — OAuth, email, and signed challenge flows.