Protoverta¶
Protoverta
One request, any provider. Protoverta converts requests, responses and streams between OpenAI Chat Completions, Anthropic Messages and OpenAI Responses, as a Python library or a local gateway.
pip install protoverta
Every direction between the three APIs, for JSON and streaming: text, images, PDFs, function tools and output formats.
A field that cannot keep its meaning is rejected with a clear error. Reasoning, token counts and history are never fabricated.
One command puts any provider behind the endpoint your client already speaks, on 127.0.0.1 only.
Transient provider errors are retried by class; deterministic ones are reported at once. Output is never sent twice.
Framing and lifecycle are validated, keep-alives prevent idle timeouts and deadlines bound every request.
Pure Python 3.11+, fully typed public API, attested releases with SHA-256 checksums.
Routes¶
From ↓ · To → |
Chat Completions |
Anthropic Messages |
Responses |
|---|---|---|---|
Chat Completions |
native |
translated |
translated |
Anthropic Messages |
translated |
native |
translated |
Responses |
translated |
translated |
native |
Native routes forward payloads unchanged while validating stream framing and lifecycle. Translated routes cover the portable subset; see the compatibility guides for each feature’s exact contract.
Using Codex CLI or Claude Code?¶
You do not need to configure the gateway yourself. The launchers install and run Protoverta for you:
OpenAI Codex CLI with Responses, Chat Completions or Messages providers. Command: codex-ca.
Claude Code with Messages, Chat Completions or Responses providers. Command: claude-ca.