OrcaRouter provider support for minion
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reading the Source abstraction and _discover_sources(), then compare the existing together and openrouter integrations and their position in SOURCE_ORDER. Confirm the project wants this optional provider before implementing; done would be a tested, key-gated OrcaRouter source with a model override that does not displace the startup source.
Written by the indexing model from the issue text.
Description
Minion's pitch is that the floor matters: about 625 tokens for a bare hey, against the 20K–50K other harnesses spend before you have said anything — and that floor is paid on every single turn. For someone running a self-hosted model, that is the difference between an agent that fits the context window they actually have and one that does not.
What makes it hold up in practice is the degradation path. When a server cannot do native tool-calling, minion parses [minion_tool_call] blocks out of the model's text, escapes those delimiters before tool results re-enter context, and renders a separate reasoning_content stream as a dim thinking block. Demanding a perfect server would exclude exactly the open models minion exists to serve.
Proposal: OrcaRouter as an optional source
I'm an engineer on the OrcaRouter team, and I would like to propose OrcaRouter as an optional source for minion. It would not replace or change any existing provider — the local llama.cpp / vLLM / SGLang default, zai, together, and openrouter all stay as they are, and OrcaRouter would be opt-in behind its own key.
OrcaRouter exposes an OpenAI-compatible API and uses standard API-key authentication, so it lines up with the abstraction minion already has. Source takes a base URL, an API key, and a model id, and _discover_sources() already auto-registers key-gated aggregator sources (together, openrouter) at the end of SOURCE_ORDER so they never displace the startup source. An OrcaRouter entry would follow that same shape. To be clear, this is a proposal, not code that exists or has been tested.
Where it would help minion users
- One endpoint, many models. Chat, reasoning, image, and video models behind a single OpenAI-compatible base URL, so
/source orcarouter <model>gives a multi-model host the per-switch model overridetogetherandopenrouteralready support. - Automatic model routing and provider failover. This matters most for remote sources: one upstream going down should not end a turn mid-task.
- Usage tracking and budgets. Complements the per-call token accounting minion already persists in the session JSON and can push to
MINION_METRICS_URL. - Team access controls, for the self-hosted crowd sharing one gateway.
Ecosystem and disclosure
OrcaRouter is already appearing in open-source projects including goose, promptfoo, Dify, and RAGFlow, so there is a working integration pattern to follow.
Full transparency: OrcaRouter runs an optional open-source partner program in which approved projects can receive a 5% revenue share on OrcaRouter usage attributed to their integration. Participation is not a prerequisite for the integration — I am glad to follow whatever disclosure or governance rules you prefer.
I would welcome your thoughts on whether this fits minion's direction. If you are open to it, I would be happy to put together the implementation PR. More on the program at https://www.orcarouter.ai/built-with.
- Dominant language
- Python
- Stars
- 337
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Sentdex/minion
-
message box queueOpen
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
utilizing concurrencyMay be free again @Sentdex claimed this 94 days ago, and no pull request is open. Openenhancement
Similar issues
-
[Bug]: Bedrock request metadata forwarding does not work for /embeddingsPossibly taken A pull request linked to this issue is open or already merged. Openbug llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Arkansas 2025 tax is $1.70 high above $100,000 net taxable income ($3,809 + 3.9% rule)Possibly taken @PavelMakarchuk claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
PolicyEngine/policyengine-us#9828 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jellyfin/jellyfin-mpv-shim#800 ·
Maintainers usually reply within 1 day
-
skillfs: one malformed chat-log line aborts the entire skill-usage analysis (skill_usage_from_chat_logs.py)Possibly taken @zjncs claimed this today. Opencomponent:skillfs
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
agentic-os-org/ANOLISA#6116 · 1 comment ·
Maintainers usually reply within 1 day
-
P4: low query
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
jeffknupp/association#336 ·