Documentation▾
Getting Started
Install
npm install -g unclaw
Requires Node.js 22+.
Onboard
Run the interactive setup:
unclaw onboard
This will:
- Start a local proxy on your machine
- Scan for API keys (environment variables, config files)
- Import selected keys into the proxy
- Configure your system to route agent traffic through it
On macOS, you'll be prompted to approve a Network Extension and proxy configuration. On Linux, you can choose between a systemd service or an ephemeral process.
See Onboarding for all the details about the onboarding process.
Run an Agent
Once onboarded, run any command through the proxy:
unclaw run claude
unclaw run python agent.py
unclaw run node my-agent.js
The proxy intercepts the agent's traffic, injects your API
keys, and logs every request. Open http://localhost:8080 to
see the dashboard.
What Just Happened
After onboarding, Unclaw is running as a background service.
Your API keys are stored in the local proxy (at ~/.unclaw/),
not in plaintext environment variables. When you run an agent
through unclaw run, the proxy:
- Intercepts HTTPS requests from the agent
- Matches requests to configured integrations (by hostname)
- Injects the real API key into the request headers
- Forwards the request to the upstream service
- Logs the request and response for the dashboard
The agent never sees your actual credentials.
Dashboard
Open http://localhost:8080 in your browser. The dashboard
shows:
- Devices — registered machines
- Integrations — configured API keys and plugins
- Profiles — groups of integrations assigned to agents
- Requests — live request log with full details
- Analytics — latency, status codes, LLM token costs
Uninstall
unclaw offboard
This stops the proxy, removes the Network Extension (macOS) or systemd service (Linux), and optionally deletes all data.
Connecting to a remote gateway
Instead of running a local proxy, you can connect to any self-hosted Unclaw gateway:
unclaw onboard --server https://gateway.example.com
This skips local proxy setup and authenticates with the remote gateway via an OAuth device-code flow.