Point any OpenAI-compatible client at http://localhost:4000 (or your deployed Airlock URL).
# Install client-side hooks and route traffic through the proxy
airlock hooks install
eval $(airlock dogfood)
claudeEvery request now flows through PII redaction, keyword blocking, and JSONL logging. Open airlock tui in another terminal to watch traffic in real time.
In settings, set:
- OpenAI Base URL:
http://localhost:4000/v1 - API Key: your Airlock master key (from
.env)
In VS Code settings.json:
{
"github.copilot.advanced": {
"debug.overrideProxyUrl": "http://localhost:4000/v1"
}
}Set the base URL to http://localhost:4000/v1 and use your Airlock master key as the API key. Airlock translates between providers transparently.