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("http://localhost:9620", "tp_...")
response = agent.chat("Hello", model="gpt-4o-mini")
Terminal window
export OPENAI_BASE_URL=http://localhost:9620/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.