Connect via Tinfoil Proxy
Most coding agents talk to a configurable OpenAI-compatible base URL. That's all Tinfoil needs to slot in.
To ensure each connection is attested and the privacy is verified by your client, you need to run a Tinfoil proxy. Below we set up a local proxy that automatically verifies the attestation for all inference requests issued to Tinfoil.

Recommended for your device: macOS (DMG)
Install the local proxy
Install the Tinfoil Proxy menu-bar app or the standalone CLI binary. Either way you get the same
http://127.0.0.1:3301/v1endpoint with identical attestation; pick the menu-bar app for desktop use and the CLI for scripts, CI, or headless servers.Point the agent at Tinfoil
Configure your coding agent with:
Setting Value Base URL http://127.0.0.1:3301/v1API key Your Tinfoil API key from the Tinfoil Dashboard Model A model ID from the chat model catalog, e.g. kimi-k2-6Verify the connection
With the menu-bar app, open the Tinfoil popup and confirm the lock is green. With the CLI, watch the logs for the verification success line on startup.
Configure your coding agent
Pick your agent to see the exact setup. Each one points at the same local proxy endpoint, so attestation is verified on every request.
OpenCode is a terminal-based coding agent that talks to any provider exposed via the AI SDK. It plugs into Tinfoil through the @ai-sdk/openai-compatibleadapter — see OpenCode's Providers and Config docs for the full schema.
Add Tinfoil as a custom provider in opencode.json (project root or ~/.config/opencode/opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"provider": {