agentleFS
Hashi-Ai-DevHashi-Ai-Dev/HermitDoc/skills/hermes-providers/SKILL.md

hermes-providers

Skill4 starsChanged 7 months agoMITView on GitHub

Use when configuring model providers or selecting models. Covers: hermes model CLI, hermes login/logout, hermes auth (pooled credentials), hermes fallback, real providers (MiniMax, OpenRouter, Anthropic, DeepSeek, Google, Groq, Mistral, xAI and 20+). Triggers on: provider, model, API key, openrouter, anthropic, deepseek, gemini, ollama, groq.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When primary model fails, Hermes tries fallback providers:

    line 92
  2. Very specific:

    Check model ID format: provider/model-id

    line 103
  3. Very specific:

    Verify API key set: hermes status --all

    line 104
  4. Distinctive:

    Check provider is up

    line 105
  5. Very specific:

    Verify key in .env

    line 114
  6. Distinctive:

    Check key is active on provider dashboard

    line 115

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Hermes Providers Reference

Real providers supported by Hermes. Use hermes model for interactive selection.

Provider CLI

hermes model                     # Interactive model/provider picker
hermes login --provider PROVIDER  # OAuth login (nous, openai-codex, qwen-oauth)
hermes logout                   # Clear stored auth
hermes auth list [PROVIDER]    # List pooled credentials
hermes auth remove PROVIDER INDEX  # Remove credential by index
hermes auth reset PROVIDER      # Clear exhaustion status
hermes fallback                 # Manage fallback providers

Supported Providers

ProviderModelsAuth
MiniMaxMiniMax modelsAPI key
OpenRouter100+ modelsAPI key
AnthropicClaude 3.5/4API key
OpenAIGPT-4o, o1API key
DeepSeekDeepSeek Chat/V2API key
GoogleGemini 1.5/2.0API key
GroqLlama/MixtralAPI key
MistralMistral/MixtralAPI key
xAIGrok 1/2API key
Nous PortalNous modelsOAuth
Kilo CodeCode modelsAPI key
Kimi/MoonshotMoonshotAPI key
Alibaba/DashScopeQwenAPI key
Z.AI/GLMGLMAPI key
Xiaomi MiMoMiMoAPI key
Hugging FaceInference endpointsToken
OllamaLocal modelsNone (local)
AI Gateway (Vercel)ProxyAPI key
OpenCodeCode modelsAPI key
Custom endpointAnyConfig

Credential Setup

API Key

Set in ~/.hermes/.env:

MINIMAX_API_KEY=sk-...
OPENROUTER_API_KEY=sk-or-...
ANTHROPIC_API_KEY=sk-ant-...

Then select in hermes model.

OAuth

hermes login --provider nous
hermes login --provider openai-codex
hermes login --provider qwen-oauth

Credential Pools

# Add multiple keys for the same provider
hermes auth add  # prompts interactively

# List all
hermes auth list

# Remove specific key
hermes auth remove openrouter 1

# Reset exhaustion (rate limited)
hermes auth reset openrouter

Fallback Providers

When primary model fails, Hermes tries fallback providers:

hermes fallback  # manage fallback chain

Configure in config or interactively.

Common Issues

"Model not found":

  • Check model ID format: provider/model-id
  • Verify API key set: hermes status --all
  • Check provider is up

"Rate limited":

hermes auth add          # add another key
hermes auth reset PROVIDER  # reset exhaustion

"Invalid API key":

  • Verify key in .env
  • Check key is active on provider dashboard

References

  • hermes-config/ — provider config keys
  • hermes-cli/ — model CLI commands
  • hermes-auth/ — credential management

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.