docs: add OrcaRouter as a named compatible provider - #18
Open
kuswardhanietidims-svg wants to merge 1 commit into
Open
docs: add OrcaRouter as a named compatible provider#18kuswardhanietidims-svg wants to merge 1 commit into
kuswardhanietidims-svg wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
claw0 teaches you to build a minimal AI agent gateway from scratch, section by section. The
.env.examplealready tells users they can plug in "Anthropic API or compatible providers (e.g. OpenRouter)" viaANTHROPIC_BASE_URL— but OpenRouter is the only provider called out by name.This PR adds OrcaRouter as a second named, copy-paste-friendly example so users who follow the Quick Start can point claw0 at OrcaRouter the same way they already can at OpenRouter — without treating it as an anonymous custom base URL.
Why OrcaRouter
OrcaRouter is an OpenAI-compatible AI gateway built for both models and agents. Like OpenRouter, it exposes a provider/model namespace across many models — but it also combines adaptive routing, automatic failover, zero-markup inference, observability, guardrails, and agent-tool governance behind the same endpoint. Adding orcarouter as a first-class provider means this project's users can use that stack directly, without treating OrcaRouter as an anonymous custom base URL.
It also runs gateway-level, zero-trust security for AI agents on the same endpoint — screening every prompt/response and governing every tool call on a default-deny basis, with no application code changes.
What changed
.env.example— add an OrcaRouter block mirroring the existing OpenRouter comment:ANTHROPIC_BASE_URL=https://api.orcarouter.aiwithMODEL_ID=orcarouter/auto, and mention it in the "compatible providers" header line.README.md/README.zh.md/README.ja.md— in the Quick Start "Configure" step, add one line noting OrcaRouter works as a named provider through the sameANTHROPIC_BASE_URLmechanism.How I verified
python3 -m py_compile).ANTHROPIC_BASE_URL:The SDK's
base_urlis used as the API root (it appends/v1/messages), andorcarouter/autoreturns a real completion.Discord: discord.gg/YEubt8enRA · X: https://x.com/OrcaRouter
I'm an engineer on the OrcaRouter team.