Outworld

How it works

Every request that reaches Outworld takes exactly one route. On the masked route it is detected, transformed by your policy, checked again, sent, and translated back.

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.

1. Route

Rules decide where each request goes, by keyword, regex or the kinds of values detected in it.

masked

Transform, leak-check, send to the cloud, translate back. The default.

local

Send raw to Ollama, llama.cpp or vLLM on your own hardware.

passthrough

Send raw to a confidential-compute endpoint whose attestation you trust.

block

Refuse with HTTP 403. A matching block rule always wins.

Routing rules and the route header

2. Detect

Detection is layered. Each layer can only add findings.

  1. Patterns. Emails, phones, US and European street addresses, dates, links, one-time codes, national IDs by checksum, cards, IBANs, API keys and secrets. A few milliseconds, no model.
  2. Built-in name detector. About 9,400 first names and 32,800 surnames from public-domain tables, plus context: labels, sign-offs, chat speakers, git trailers, TODO(handles), branch prefixes and home directories.
  3. Your dictionary. The people, orgs and places you know, with aliases and nicknames. The most precise layer.
  4. Names learned in the request. Once any layer finds a name, every other form of it in the request is caught too.
  5. Optional NER sidecar. GLiNER or OpenAI Privacy Filter for names nothing else caught.

Detection layers in detail

3. Transform, by your policy

Outworld does not decide what is sensitive. You do, per entity type.

ActionEffectRestored?
keepSent as-isn/a
maskReplaced with a realistic, consistent stand-in from the vaultyes
shiftDates moved by a secret per-scope offset, format preservedyes
generalizeReplaced with a bucket: Norfolk, Virginia becomes a city in Virginiano
stripReplaced with a neutral token like [redacted code], never sentno

Stand-ins are realistic and shape-preserving: same gender for first names, valid emails on reserved domains, phones in the fictional 555-01xx range, addresses from the same country. How stand-ins are made

4. Leak check

The outbound payload is scanned again for detector hits and for every real value the vault already knows. Anything found is masked in place and re-scanned. Anything that still cannot be transformed blocks the request. Fail closed.

The 422 lists each finding by type, field and position, with a fully redacted preview. It never contains a character of the value. Reading a blocked request

5. Send

The masked request goes to the upstream for its API. Tool definitions, tool results and schemas are masked too. Fields Outworld does not know get the full check instead of a free pass. Exactly what is masked

6. Rehydrate

Stand-ins and shifted dates in the answer are translated back, including across streamed SSE chunks and inside tool-call arguments. Phones are recognized in any formatting the model chooses. People the model invented that look like stand-ins are flagged in a response header.

The vault

Every real value and its stand-in live in an encrypted, append-only vault (AES-256-GCM). Stand-ins are deterministic per vault, so the same person gets the same stand-in across requests and across a whole corpus. Outworld refuses to run without a key.

The vault is the crown jewels: anyone with both the vault and its key can reverse everything. Protect the key like a password-manager master key.

Stable transcripts

Agents resend the whole conversation on every turn. Outworld remembers the exact bytes it sent for each text, so the provider sees an identical prefix every time. Prompt caching keeps working, and long agent sessions stay fast. Stable transcripts