feat(providers): add Arcee AI #9274
Closed
arthurbr11 wants to merge 1 commit into
Closed
Conversation
teknium1
pushed a commit
that referenced
this pull request
Apr 13, 2026
…one provider Single provider ID (arcee) supports either a direct Arcee key or an OpenRouter key, auto-routed at runtime. Direct key wins; sk-or- prefix triggers OpenRouter path. Cherry-picked from PR #9274.
2 tasks
teknium1
pushed a commit
that referenced
this pull request
Apr 14, 2026
Adds Arcee AI as a standard direct provider (ARCEEAI_API_KEY) with Trinity models: trinity-large-thinking, trinity-large-preview, trinity-mini. Standard OpenAI-compatible provider checklist: auth.py, config.py, models.py, main.py, providers.py, doctor.py, model_normalize.py, model_metadata.py, setup.py, trajectory_compressor.py. Based on PR #9274 by arthurbr11, simplified to a standard direct provider without dual-endpoint OpenRouter routing.
teknium1
pushed a commit
that referenced
this pull request
Apr 14, 2026
Adds Arcee AI as a standard direct provider (ARCEEAI_API_KEY) with Trinity models: trinity-large-thinking, trinity-large-preview, trinity-mini. Standard OpenAI-compatible provider checklist: auth.py, config.py, models.py, main.py, providers.py, doctor.py, model_normalize.py, model_metadata.py, setup.py, trajectory_compressor.py. Based on PR #9274 by arthurbr11, simplified to a standard direct provider without dual-endpoint OpenRouter routing.
Contributor
|
Merged via PR #9276. Your Arcee AI provider work was cherry-picked onto current main with your authorship preserved in git log. Simplified from dual-endpoint routing to a standard direct provider — Arcee models via OpenRouter are already available in the OpenRouter model list. Thanks for the contribution! |
ulasbilgen
pushed a commit
to ulasbilgen/hermes-adhd-agent
that referenced
this pull request
May 1, 2026
Adds Arcee AI as a standard direct provider (ARCEEAI_API_KEY) with Trinity models: trinity-large-thinking, trinity-large-preview, trinity-mini. Standard OpenAI-compatible provider checklist: auth.py, config.py, models.py, main.py, providers.py, doctor.py, model_normalize.py, model_metadata.py, setup.py, trajectory_compressor.py. Based on PR NousResearch#9274 by arthurbr11, simplified to a standard direct provider without dual-endpoint OpenRouter routing.
aj-nt
pushed a commit
to aj-nt/hermes-agent
that referenced
this pull request
May 1, 2026
Adds Arcee AI as a standard direct provider (ARCEEAI_API_KEY) with Trinity models: trinity-large-thinking, trinity-large-preview, trinity-mini. Standard OpenAI-compatible provider checklist: auth.py, config.py, models.py, main.py, providers.py, doctor.py, model_normalize.py, model_metadata.py, setup.py, trajectory_compressor.py. Based on PR NousResearch#9274 by arthurbr11, simplified to a standard direct provider without dual-endpoint OpenRouter routing.
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
Adds Arcee AI as a standard direct provider (ARCEEAI_API_KEY) with Trinity models: trinity-large-thinking, trinity-large-preview, trinity-mini. Standard OpenAI-compatible provider checklist: auth.py, config.py, models.py, main.py, providers.py, doctor.py, model_normalize.py, model_metadata.py, setup.py, trajectory_compressor.py. Based on PR NousResearch#9274 by arthurbr11, simplified to a standard direct provider without dual-endpoint OpenRouter routing.
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
Adds Arcee AI as a standard direct provider (ARCEEAI_API_KEY) with Trinity models: trinity-large-thinking, trinity-large-preview, trinity-mini. Standard OpenAI-compatible provider checklist: auth.py, config.py, models.py, main.py, providers.py, doctor.py, model_normalize.py, model_metadata.py, setup.py, trajectory_compressor.py. Based on PR NousResearch#9274 by arthurbr11, simplified to a standard direct provider without dual-endpoint OpenRouter routing.
Egavasyug
pushed a commit
to Egavasyug/hermes-agent
that referenced
this pull request
Jun 10, 2026
Adds Arcee AI as a standard direct provider (ARCEEAI_API_KEY) with Trinity models: trinity-large-thinking, trinity-large-preview, trinity-mini. Standard OpenAI-compatible provider checklist: auth.py, config.py, models.py, main.py, providers.py, doctor.py, model_normalize.py, model_metadata.py, setup.py, trajectory_compressor.py. Based on PR NousResearch#9274 by arthurbr11, simplified to a standard direct provider without dual-endpoint OpenRouter routing.
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.
Summary
Adds Arcee AI as a first-class provider with. One provider ID (
arcee) supports either a direct Arcee key or an OpenRouter key, auto-routed at runtime.api.arcee.ai/api/v1ARCEEAI_API_KEYtrinity-large-thinking)openrouter.ai/api/v1OPENROUTER_API_KEYarcee/trinity-large-thinking)Aliases:
arcee-ai,arceeai. Default model:trinity-large-thinking.Routing precedence (
_resolve_arcee_base_url)ARCEE_BASE_URLoverride winsARCEEAI_API_KEY→ directOPENROUTER_API_KEY→ OpenRouter (witharcee/model-ID transform)sk-or-prefix → OpenRouter, else directInteractive onboarding
hermes model→ Arcee AI shows a 1/2/3 auth-method menu modeled on the Anthropic OAuth flow athermes_cli/main.py. Routing logic is provider-specific (not a genericauth_methodsfield) so it stays consistent with how Anthropic's OAuth menu is hand-coded.Changes
Follows the provider-addition checklist from #9172 (kimi-coding-cn) and #7702 (xiaomi).
Core provider wiring
hermes_cli/auth.py—arceeProviderConfig,_resolve_arcee_base_urlhelper, aliaseshermes_cli/config.py—ARCEEAI_API_KEY+ARCEE_BASE_URLinOPTIONAL_ENV_VARShermes_cli/models.py— Trinity model list, labels, aliases, provider orderhermes_cli/main.py— hand-coded_model_flow_arceeauth-method menu, setup menu entry, CLI choiceshermes_cli/runtime_provider.py— arcee branch in explicit-runtime credential resolutionhermes_cli/setup.py— model list + setup labelhermes_cli/model_normalize.py—arcee/prefix strip (direct) / inject (OpenRouter) based on env sniffhermes_cli/providers.py—HermesOverlayentry + aliaseshermes_cli/doctor.py— health check entryAgent internals
agent/auxiliary_client.py—trinity-minias aux model, aliasesagent/model_metadata.py— provider prefixes,api.arcee.aiURL mappingtrajectory_compressor.py—arcee.aiURL detectionNote:
agent/models_dev.pyis intentionally not touched — Arcee has no models.dev entry.Docs
website/docs/getting-started/quickstart.md— provider table rowwebsite/docs/reference/environment-variables.md—ARCEEAI_API_KEY+ARCEE_BASE_URL+ provider listwebsite/docs/user-guide/configuration.md— auxiliary provider listwebsite/docs/integrations/providers.md— full provider docs + examplecli-config.yaml.example— provider enumeration.env.example— commented example with two-endpoint explainerTest plan
tests/hermes_cli/test_arcee_provider.py— 36 tests covering registry, aliases, credential resolution (direct / OpenRouter-only / direct-wins), all 5 base-URL routing precedence rules, model-ID normalization (both directions, env-driven), URL mapping, trajectory compressor detection, providers overlay, auxiliary model routinghermes chat --provider arceeappears in argparse--helpchoices