Privacy by default

Your AI shouldn't
see your secrets.

AI coding agent with built-in privacy. Tokenizes API keys, credentials, and PII before they ever leave your machine.

$ curl -fsSL https://getprivacycode.com/install | sh
No signup. No credit card. Open source.

See the difference

Watch how PrivacyCode protects your data before it reaches the AI provider.

Without PrivacyCode
$Fix auth for jane@acme.com
sk-live-51HdF8xKd...
โ†’Sent to provider:
jane@acme.com
sk-live-51HdF8xKd...
⚠️ Provider sees your real data
With PrivacyCode
$Fix auth for [EMAI-1A2B...]
[KEY-E65774...]
โ†’Sent to provider:
[EMAI-1A2B...]
[KEY-E65774...]
✓ Provider sees only tokens
privacycode
~/project $ privacycode
โ”Œโ”€ PrivacyCode โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Debug payment timeout for invoice #INV-08842 โ”‚
โ”‚ Stripe key: sk_live_51HdF... โ†’ [KEY-8F3A...] โ”‚
โ”‚ โ— Thinking... โ”‚
โ”‚ โ— Analyzing Stripe rate limits... โ”‚
โ”‚ โœ“ Found: rate limit at 100 req/s โ”‚
โ”‚ โœ“ Raised to 250 in config/payment.ts โ”‚
โ”‚ โœ“ Invoice retried. Customer notified. โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
~/project $

Everything you need.

Privacy-first AI coding, without compromise.

🔒

Defender™ Privacy

18 PII/PHI patterns tokenized before any cloud provider sees your data. SOC 2 and HIPAA ready.

165+ Providers

OpenAI, Claude, Gemini, Groq, Ollama, and more. Bring your own keys.

💻

Multi-Platform

Terminal, desktop, mobile, web. Same agent, synced sessions everywhere.

Approval Gated

Explicit approval for every mutation. Diffs shown before any write happens.

📈

Zero Telemetry

No servers. No analytics. No crash reporting. What you run stays yours.

🌐

Air-Gap Ready

Works fully offline. Local models, bundled registry, no internet required.

One command. Privacy on.

No signup. No credit card. Open source and free.

curl -fsSL https://getprivacycode.com/install | sh
or npm install -g privacycode  ยท  Set your key and run privacycode

CLI Reference

PrivacyCode runs entirely in your terminal. No daemon, no background service.

Quick Start

# Install
curl -fsSL https://getprivacycode.com/install | sh

# Set your key
export OPENAI_API_KEY=sk-...

# Run
privacycode

Commands

CommandDescription
privacycodeStart interactive session in current directory
privacycode <prompt>Run a single prompt and exit
privacycode --model <id>Start with a specific model
privacycode --provider <id>Start with a specific provider

Slash Commands

CommandDescription
/privacy on|offToggle Defender tokenization
/model <id>Switch AI model
/provider <id>Switch AI provider
/statsShow token usage statistics
/vaultShow vault statistics
/clearClear conversation history
/exitQuit

File Mentions

Attach files to your prompt with @path/to/file:

privacycode> Look at @src/auth.js and fix the null check on line 42

Configuration

Config is resolved in order: CLI flags → environment variables → project config → global config.

// ~/.config/privacycode/config.json
{
  "provider": "anthropic",
  "model": "claude-sonnet-4-20250514"
}

Project-level config (place in your repo):

// ./privacycode.jsonc
{
  "provider": "openai",
  "model": "gpt-4o"
}

Environment Variables

VariableDescription
OPENAI_API_KEYOpenAI API key
ANTHROPIC_API_KEYAnthropic API key
PRIVACYCODE_PROVIDERDefault provider name
PRIVACYCODE_MODELDefault model name

Documentation

Quick start guide for PrivacyCode.

Installation

curl -fsSL https://getprivacycode.com/install | sh

The install script detects your OS and architecture, downloads the latest release, and places it in ~/.local/bin.

Verify Installation

privacycode --version

Manual Install

# Download the latest release for your platform
curl -OL https://github.com/profullstack/getprivacycode/releases/latest/download/privacycode-\$(uname -s)-\$(uname -m).tar.gz
tar xzf privacycode-*.tar.gz
sudo mv privacycode /usr/local/bin/

Getting Started

PrivacyCode is on by default. No extra configuration needed. Just set your API key and run:

export OPENAI_API_KEY=sk-...
privacycode

Choose a Provider

PrivacyCode supports 165+ providers. Set your preferred provider:

export PRIVACYCODE_PROVIDER=anthropic
export ANTHROPIC_API_KEY=sk-ant-...

List all supported providers:

privacycode providers

Slash Commands

CommandDescription
/privacy on|offToggle Defender tokenization
/model <id>Switch AI model
/provider <id>Switch AI provider
/statsShow token usage
/vaultShow vault statistics
/clearClear conversation history
/exitQuit

File Mentions

Attach files to your prompt with @path/to/file:

privacycode> Look at @src/auth.js and fix the null check on line 42

Configuration

Config is resolved in order: CLI flags → environment variables → project config → global config.

// ~/.config/privacycode/config.json
{
  "provider": "anthropic",
  "model": "claude-sonnet-4-20250514"
}

Project-level config (place in your repo):

// ./privacycode.jsonc
{
  "provider": "openai",
  "model": "gpt-4o"
}

AI coding that passes
compliance audits.

Your devs want AI coding tools. Your compliance team needs guarantees. PrivacyCode lets you say yes to both โ€” tokenizing PHI, PII, and credentials before they ever reach a third-party model.

Plans for regulated environments

PrivacyCode is free and open source. These plans cover deployment, custom configuration, and compliance readiness for your organization.

Starter
$299 /month
For small teams who want PrivacyCode deployed and configured remotely.
  • Remote installation & configuration
  • Defender tokenization tuned for your stack
  • Provider key setup (OpenAI, Claude, etc.)
  • Team training session (60 min)
  • Up to 10 developers
  • Email support (48h response)
Get Started
Enterprise
Custom
Self-hosted, air-gapped, or VPC deployment with dedicated compliance engineering and SLA.
  • Everything in Compliance
  • Self-hosted / air-gapped deployment
  • VPC or on-premises installation
  • No data ever reaches our infrastructure
  • Custom compliance documentation package
  • Dedicated support engineer
  • Unlimited developers
  • SLA guarantee
Contact Sales

How it works

1

Compliance Assessment

We evaluate your compliance requirements, team size, stack, and AI provider usage to design a deployment that satisfies your audit framework.

2

Deploy & Configure

I install PrivacyCode, configure Defender tokenization for your data types, set up SSO, wire audit logging, and verify tokenization coverage with a compliance report.

3

Audit & Support

Your team gets trained. We provide compliance documentation for your auditor. Ongoing support keeps patterns updated and policies aligned.

Need to pass an audit?

Book a 30-minute compliance consultation. We'll map your requirements to a deployment plan โ€” no obligation.

Enterprise & Compliance Features

Everything your organization needs for secure, auditable AI coding.

🔒

Defender™ Tokenization

18+ PII/PHI patterns detected and replaced before data reaches any AI provider. Custom patterns for healthcare identifiers, internal IDs, and proprietary formats.

📝

No BAA Required

Since PHI is tokenized before transmission, your AI providers never receive protected health information. No Business Associate Agreement needed for AI services.

📖

Audit Logs & SIEM

Complete audit trail of every prompt, tokenization event, and approval. Export to Splunk, Datadog, or any SIEM. Ready for SOC 2 evidence collection.

💳

SSO & Access Control

Single sign-on via SAML 2.0 or OIDC. Role-based access controls. SCIM provisioning for automated onboarding and offboarding.

📈

Usage Analytics

Team-wide dashboards showing model usage, tokenization volume, and cost per team. Exportable audit reports for compliance reviews.

🌐

Data Residency Control

Self-hosted or VPC deployment ensures data never leaves your infrastructure. Air-gapped option for classified or isolated environments.

Privacy Policy

Last updated: July 29, 2026

What PrivacyCode Collects

PrivacyCode is designed with zero telemetry by default. The CLI application does not phone home, collect usage data, or send analytics. There are no background services or data collection servers.

The only data that leaves your machine is what you explicitly send to your chosen AI provider through their API. This data is tokenized by Defender™ before transmission to remove PII, credentials, and secrets.

Information You Provide

When you contact us or sign up for enterprise services, we collect:

  • Name and email address
  • Company name and billing information
  • Communications you exchange with our team

We do not sell your personal information. We do not share it with third parties except as required to provide our services (payment processing, email delivery).

Cookies & Tracking

This website uses no tracking cookies, no analytics scripts, and no third-party tracking. The site is statically served with no backend logging beyond standard HTTP access logs (IP address, timestamp, requested page) which are retained for 30 days and used solely for operational purposes.

Open Source

PrivacyCode CLI is fully open source. You can verify exactly what it does by reading the source code at github.com/profullstack/getprivacycode. No obfuscation, no hidden behavior.

Contact

For privacy-related inquiries, contact us at privacy@getprivacycode.com.