Hermes Guide
Hermes is an AI Agent tool that supports connecting to Flux through a custom OpenAI-compatible interface.
Installation
Use the official installation script:
bash
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bashAfter installation, the default config directory is usually ~/.hermes.
Connect to Flux
Follow Create API Key to generate an API key.
Edit
~/.hermes/config.yamland add or confirm the following configuration:yamlmodel: default: 'gpt-5.6-sol' provider: 'custom' base_url: 'https://api.tryflux.net/v1'Edit
~/.hermes/.envand write:envOPENAI_API_KEY=YOUR_FLUX_API_KEY OPENAI_BASE_URL=https://api.tryflux.net/v1Replace
YOUR_FLUX_API_KEYwith your actual API key.
Verify Configuration
After saving the configuration, run:
bash
hermes config check
hermes chat -Q -q 'Only reply OK' --max-turns 3If the command returns normally, Hermes has successfully called a model through Flux.
