Private coding agent (obscurify-code)

obscurify-code is an open-source (GPL-3.0) coding agent built on pi that keeps your machine, local paths, and credentials out of model prompts. You can install it as an extension inside an existing pi setup or run the standalone obscurify-code launcher with an isolated config directory (~/.obscurify-code/agent).

Every part that inspects payloads or checks enclaves runs on your machine (github.com/Obscurify-ai/obscurify-code). Model calls go either to standard Obscurify.ai routes, through the local unlinkable-inference voucher proxy, or end-to-end encrypted inside attested Intel TDX hardware enclaves.

No email, random 20-char account code · OpenAI & Anthropic API ready.Get an API key, no email

Install and choose package vs launcher

Requires Node 20.19 or later (cargo install unlinkable-inference-cli for unlinkable sessions, bwrap / bubblewrap on Linux for the shell jail):

# Option A: install inside your existing pi setup
pi install git:github.com/Obscurify-ai/obscurify-code

# Option B: standalone launcher with isolated ~/.obscurify-code/agent state
npm install -g github:Obscurify-ai/obscurify-code
obscurify-code

Need a no-email account key (sk-obs1_...)? Run npx -y @obscurify/cli signup on your device and pass it with OBSCURIFY_API_KEY or /login, or fund from inside the agent with /fund 20 xmr.

How the fail-closed privacy screen works

Before any payload leaves your machine, obscurify-code rewrites sensitive identifiers in tool output, file reads, bash results, messages, and system prompts, then reverses the mapping locally before edits or bash commands execute:

Local machine valueSent to the model
Project root directory/obscured/project
Home directory/obscured/home
OS username and hostnameobscured-user and obscured-host
Git user.name and user.emailObscured User and obscured-user@example.invalid
.env values, secret env vars, known token formats (sk-, sk_live_, ghp_, github_pat_, AWS, Slack, JWTs, PEM keys, Obscurify vouchers, git remote URLs)OBSC_SECRET_<12 hex>

Pick a privacy route

One provider supports three distinct threat models:

RouteHow you enable itWhat Obscurify.ai and the model host can see
Standard API (https://obscurify.ai/v1)Set OBSCURIFY_API_KEY (default if no proxy running)Account id and redacted prompt text reach Obscurify.ai; upstream sees redacted prompt only (ZDR-tagged models follow zero-retention policies)
Unlinkable sessions (127.0.0.1:8899)Start unlinkable-inference-cli (default on launcher)Session pays with blind-signed vouchers and fresh per-chat secret; Obscurify.ai cannot tie chats to your account; excludes frontier/uncensored pass-gated models when not supported on route
Encrypted TEE (<model>:encrypted)Pick a tee/* model (:encrypted suffix)Requires your API key (not combinable with unlinkable vouchers); prompts, replies, and randomized <tool_call_...> tool calls stay E2EE inside attested Intel TDX enclaves; receipts logged to tee-audit.jsonl without content

Read the End-to-End Encrypted AI Chat guide and unlinkable coding agents tutorial for the underlying protocols.

Shell sandbox, Tor, and /fund commands

Honest limits to keep in mind

Private coding agent questions

How is obscurify-code different from stock Claude Code, Codex CLI, or OpenCode?

Stock terminal agents send your real project paths, local username, git config, and raw .env values if read into context, and require an account tied to an email or IDE login. obscurify-code masks paths, git identity, and known credential formats on both payload hooks and HTTP fetch, jails shell commands offline with bwrap, supports Tor onion routing, and works with attested Intel TDX encrypted models using an anonymous 20-character account code.

Can obscurify-code use my existing pi skills and extensions?

Yes. All normal pi TUI features, /tree branching, compaction, prompt templates, themes, and third-party pi extensions work unchanged. By default, personal ~/.agents/skills and out-of-repo AGENTS.md files are withheld to protect host privacy unless you run /privacy share-context on or set OBSCURIFY_SHARE_CONTEXT=1.

Why can’t Encrypted TEE models run through the unlinkable proxy at the same time?

Encrypted :encrypted models (tee/*) verify an Intel TDX enclave quote and require an authenticated account API key (sk-obs1_...) rather than unlinkable session vouchers. Use the unlinkable proxy when detaching sessions from your account matters most, or choose :encrypted with Tor (/tor on) when prompt confidentiality from Obscurify.ai’s server and network ingress matters most.

Are tool calls supported in Encrypted TEE mode?

Yes. obscurify-code serializes tool schemas inside the sealed system prompt and parses randomized <tool_call_...> tags from the encrypted response stream before returning <tool_result> blocks, preventing literal <tool_call> echoes in source files from triggering false tool calls. Images are disabled in Encrypted Mode (text-only).

Can I disable the privacy screen or sandbox for one command?

Use /sandbox off, /sandbox net on, or OBSCURIFY_CODE_PRIVACY_SCREEN=0 when debugging an edge case; the footer updates immediately (NO SANDBOX or PRIVACY SCREEN OFF) so you can see the weakened state. Always keep /sandbox enabled when testing untrusted repositories.

Which plan works best for obscurify-code?

Pay As You Go ($0 monthly fee) works for standard models, tee/* open models, and orca/orcacyber-minimax-m3.1-flash via /fund Monero or crypto blind vouchers. Heavy daily loops or uncensored tool-calling models run on Pro, Dev, or Max plan (check pricing and the pi coding agent tutorial).

Last updated 2026-12-06. Plan prices and model lists on this page are read live from the site.

Create a 20-character account code with no email or phone and copy your API key for OpenAI and Anthropic clients, or start in free guest chat.

Get an API key, no email Agent & API pricing
Sign up