@tinfoilsh/omp-provider0.2.1
Verifiably-private models from Tinfoil secure enclaves, for the omp coding agent
Built for omp
The author tagged this package oh-my-pi.
Reports 0
No reports yet.
Readme
Tinfoil provider for omp
Use Tinfoil's verifiably-private open models from the omp coding agent. Inference runs inside hardware secure enclaves that even Tinfoil cannot read into.
Setup
Install the plugin:
omp plugin install @tinfoilsh/omp-providerStart omp and set your API key:
/loginPick Tinfoil and paste your key from the Tinfoil dashboard. For headless use, set
TINFOIL_API_KEYinstead.Pick a Tinfoil model with
/model.
How verification works
The plugin uses the tinfoil SDK to
verify the inference enclave: it checks the enclave's attestation document and
confirms the running code against the release digest signed in Sigstore. Every
connection is then pinned to the attested TLS key, so only the verified enclave
can read your requests.
Run /tinfoil at any time to verify again and print what the verification
proved. When it fails, the report names the check that rejected the enclave.
The plugin also refuses to send requests while PI_REQ_DEBUG=1. That setting
makes omp write request bodies to disk, and omp records them before they are
encrypted. Unset the variable, or set TINFOIL_ALLOW_REQ_DEBUG=1 to accept
plaintext prompt logs and continue.
| Variable | Default | Purpose |
|---|---|---|
TINFOIL_API_KEY |
(none) | Your tk_… key, for headless workflows. Not needed if you use /login. Overrides the stored key. |
TINFOIL_ALLOW_REQ_DEBUG |
(unset) | Set to 1 to allow requests while PI_REQ_DEBUG=1, which writes your prompts to disk in the clear. |