Outworld

Open-source privacy gateway for cloud LLMs, v0.3.0

Your data stays in the nest.

You decide what leaves, it leaves in disguise, and the answer comes back translated. Outworld sits between your app and the model, speaks the OpenAI and Anthropic APIs, and keeps the real names, emails, phones and addresses on your machine.

go install github.com/davidparkercodes/outworld/cmd/outworld@latest

See it

What the provider sees is not what you sent

You send

Draft a reply to John Smith (john.smith@gmail.com) confirming our call on March 15, 2024. My verification code is 482913.

The provider sees

Draft a reply to Kasimir Sandoval (kasimir.sandoval@example.org) confirming our call on December 25, 2024. My verification code is [redacted code].

You get back

A draft addressed to John Smith about March 15, 2024. The verification code was never sent and is not restored.

Walk through every step

Drop-in

Change one URL

Outworld speaks both the OpenAI Chat Completions API and the Anthropic Messages API. Anything that lets you set a base URL works: Claude Code, the OpenAI and Anthropic SDKs, LiteLLM, Open WebUI, and local servers like Ollama, llama.cpp and vLLM.

Claude Code

export ANTHROPIC_BASE_URL=http://127.0.0.1:8787
claude

Any OpenAI-compatible client

base_url = "http://127.0.0.1:8787/v1"

All integrations

Why it works

Private where it matters, useful everywhere else

Also

  • No model required. Patterns and a built-in name detector run in milliseconds.
  • Optional NER sidecars (GLiNER, OpenAI Privacy Filter) for extra recall.
  • Byte-stable transcripts, so provider prompt caching keeps working.
  • Dry-run any request to see exactly what would be sent, and why.
  • Logs carry routes, counts and timings. Never real values or prompts.
  • One static Go binary, a distroless Docker image, and a Go library.

Measured, not promised

We publish our miss rate

Every number comes from a blind corpus of 131 hand-written documents, about 43,000 words with 4,208 labelled values, written without access to the detector code. Nothing was tuned against it. Measured on version 0.3.0 with a dictionary and no model.

0%of emails leaked
8%of phone numbers leaked
16%of all sensitive values leaked, on text it has never seen
99.3%of answers translated back correctly

Outworld removes most of what identifies people in ordinary prompts. It does not remove all of it. See every number and what drives it

Honest limits

What Outworld is not

  • Not anonymization. A rare job title plus a small town can still identify someone with every name replaced.
  • Not a content filter. Your medical question is still a medical question. Route that kind of request to a local model, or block it.
  • Not a secret scanner. It strips the credentials it recognizes, and about a third of unlabelled secrets still get through.

Read the threat model

Why "Outworld"

The nest and the arena

In ant-keeping, the outworld is the foraging arena attached to the nest. The colony stays safe inside, and only what you choose goes out. Your machine and your vault are the nest. The cloud model is the outworld.

Run it locally

go install github.com/davidparkercodes/outworld/cmd/outworld@latest
export OUTWORLD_VAULT_KEY=$(outworld keygen)
outworld serve --config outworld.yaml