Unlinkable chats in your coding agent
Copy one config below and your coding agent uses Obscurify.ai’s private sessions (unlinkable inference): our server gets a random session secret for each conversation, and can’t tell which account paid for it or that two conversations are yours.
Your API key goes in one place, the proxy on your machine. The agent configs don’t have it. Where they ask for a key, they say local, which is only a filler.
1. Start the proxy
You need Rust, an account with some balance, and your API key from the account page.
cargo install unlinkable-inference-cli # 0.2.2 or newer; add --force to update
export OBSCURIFY_API_KEY=sk-obs1_... # your API key, only here
unlinkable-inference serve # leave it running, http://127.0.0.1:8899
The proxy uses your key only to move a dollar or so at a time from your balance into a wallet on your machine. It’s never sent with a chat. Also set OBSCURIFY_ACCOUNT_NUMBER to your account code if you want any machine to be able to rebuild that wallet. Without it, don’t lose ~/.local/share/unlinkable-inference/.
Check it answers:
curl http://127.0.0.1:8899/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "deepseek/deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Say hi"}]}'
2. Copy your agent’s config
They all use deepseek/deepseek-v4.1-flash, which works on every plan. Put any other model with "tools": true from the model list in its place.
Claude Code
Save as ~/.claude/obscurify.json:
{
"env": {
"ANTHROPIC_BASE_URL": "http://127.0.0.1:8899",
"ANTHROPIC_AUTH_TOKEN": "local",
"ANTHROPIC_MODEL": "deepseek/deepseek-v4.1-flash",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek/deepseek-v4.1-flash",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek/deepseek-v4.1-flash",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek/deepseek-v4.1-flash",
"CLAUDE_CODE_MAX_CONTEXT_TOKENS": "1000000",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
}
}
Start it with:
claude --settings ~/.claude/obscurify.json
Plain claude still uses your usual setup. The last line of the config turns off Claude Code’s own telemetry to Anthropic.
Codex
Add to ~/.codex/config.toml:
[model_providers.obscurify]
name = "Obscurify (unlinkable)"
base_url = "http://127.0.0.1:8899/v1"
wire_api = "responses"
Save as ~/.codex/private.config.toml:
model_provider = "obscurify"
model = "deepseek/deepseek-v4.1-flash"
model_context_window = 1000000
Start it with:
codex --profile private
OpenCode
Save as opencode.json in your project, or as ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"model": "obscurify/deepseek/deepseek-v4.1-flash",
"small_model": "obscurify/deepseek/deepseek-v4.1-flash",
"provider": {
"obscurify": {
"npm": "@ai-sdk/openai-compatible",
"name": "Obscurify (unlinkable)",
"options": { "baseURL": "http://127.0.0.1:8899/v1", "apiKey": "local" },
"models": {
"deepseek/deepseek-v4.1-flash": {
"name": "DeepSeek V4.1 Flash",
"limit": { "context": 1000000, "output": 32000 }
}
}
}
}
}
Then run opencode.
Kilo Code
Save as ~/.config/kilo/kilo.json:
{
"$schema": "https://kilocode.ai/config.json",
"model": "obscurify/deepseek/deepseek-v4.1-flash",
"small_model": "obscurify/deepseek/deepseek-v4.1-flash",
"provider": {
"obscurify": {
"npm": "@ai-sdk/openai-compatible",
"name": "Obscurify (unlinkable)",
"options": { "baseURL": "http://127.0.0.1:8899/v1", "apiKey": "local" },
"models": {
"deepseek/deepseek-v4.1-flash": {
"name": "DeepSeek V4.1 Flash",
"limit": { "context": 1000000, "output": 32000 }
}
}
}
}
}
Then run kilo.
pi
Save as ~/.pi/agent/models.json, or add the provider to the one you have:
{
"providers": {
"obscurify": {
"baseUrl": "http://127.0.0.1:8899/v1",
"api": "openai-completions",
"apiKey": "local",
"models": [{ "id": "deepseek/deepseek-v4.1-flash", "contextWindow": 1000000, "maxTokens": 32000 }]
}
}
}
Start it with:
pi --provider obscurify --model deepseek/deepseek-v4.1-flash
Aider
export OPENAI_API_BASE=http://127.0.0.1:8899/v1
export OPENAI_API_KEY=local
aider --model openai/deepseek/deepseek-v4.1-flash --analytics-disable
Cline, Continue, Roo Code and Zed
Choose the OpenAI-compatible provider and fill in:
| Field | Value |
|---|---|
| Base URL | http://127.0.0.1:8899/v1 |
| API key | local |
| Model ID | deepseek/deepseek-v4.1-flash |
Where that goes in each one: Cline, Continue, Roo Code, Zed.
Cursor
Cursor can’t do this as its main model: its servers make the calls, and they can’t reach a proxy on your machine. You can give it our models as tools, with private sessions, through the MCP server.
3. Check that it’s unlinkable
Run a task, then open http://127.0.0.1:8899/_unlinkable. Under the last requests, each one to /v1/... says authorization: <session secret>. Your account key only shows on the requests that fill the wallet (/u/withdraw and /u/passes).
Each conversation is its own session. A session closes after 5 quiet minutes, and what’s left in it goes back to your wallet.
Keep it running (Linux)
Put your key in ~/.config/unlinkable-inference/env, as OBSCURIFY_API_KEY=sk-obs1_..., and make the file private with chmod 600. Save this as ~/.config/systemd/user/unlinkable-inference.service:
[Unit]
Description=Obscurify private sessions proxy
[Service]
EnvironmentFile=%h/.config/unlinkable-inference/env
ExecStart=%h/.cargo/bin/unlinkable-inference serve
KillSignal=SIGINT
Restart=on-failure
[Install]
WantedBy=default.target
systemctl --user enable --now unlinkable-inference
What still shows
- Your IP address. We see it unless you run the proxy behind Tor or a VPN. It follows
HTTPS_PROXYandALL_PROXY. - What your agent sends. Agents put your working directory, file names and file contents in the prompt. A path like
/home/yourname/projectis the same in every conversation. To have passwords and keys in prompts replaced, see secret scrubbing. - Other programs on your machine can use the proxy while it runs, and spend from its wallet.
Proxy versions before 0.2.2 put all of your Claude Code conversations in one session, and passed on the device id Claude Code sends and the installation id Codex sends. 0.2.2 fixes both, so update first.
If something fails
- Connection refused: the proxy isn’t running. Start
unlinkable-inference serve. - 402: there’s no balance to fill the wallet. Add credit on the account page.
- 403, or a model needs a plan: frontier models need Casual or Pro, uncensored models need Pro. The proxy shows an anonymous pass for them by itself.
- The agent talks but never uses tools: pick a model with
"tools": true.
Tested
On 2026-11-22 against obscurify.ai, with proxy 0.2.2, each of these ran a shell command or wrote a file through its tools, with the configs above: Claude Code 2.1.330, Codex CLI 0.171.0, OpenCode 2.3.2, Kilo Code 7.8.32, pi 1.6.0 and Aider 0.86.2. We logged what left the machine: every chat request carried a session secret, separate conversations had separate secrets, and there was no device or installation id. Cline, Continue, Roo Code and Zed weren’t run through the proxy; they use the same fields as in their own tutorials.
How the proxy works, the API, MCP and building it into your own app: private sessions.