Skip to content

OpenAI

Terminal window
# Server-side (TapPass stores the key in its encrypted vault)
OPENAI_API_KEY
from tappass import Agent
agent = Agent("https://tappass.example.com", "tp_...")
response = agent.chat("Hello", model="gpt-4o-mini")
Terminal window
export OPENAI_BASE_URL=https://tappass.example.com/v1
export OPENAI_API_KEY=tp_...
# Any OpenAI-compatible tool now routes through TapPass

All requests pass through the full governance pipeline regardless of provider.