Skip to content

Anthropic

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

Uses the Anthropic Messages API (/v1/messages), not the OpenAI-compatible endpoint.

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