Flaq AI Agent Guide
Practical Guide for using Hermes Agent with Flaq AI's API Services
Use Flaq AI's Hermes Agent-compatible endpoint to quickly configure Hermes Agent with Flaq and access our model services from the terminal. After configuring your API key, follow the examples in this guide to choose a currently supported model and verify the setup.
Install
Install Hermes Agent
Install Hermes Agent for your system, reload your shell if needed, then verify the hermes command before adding Flaq AI settings. If the installer opens the setup wizard, you can skip Nous Portal login and configure Flaq manually afterward.
Install Hermes Agent
Choose the installer that matches your system, then run the install command below.
- The installer may open the Hermes setup wizard.
- For Flaq setup, you can skip Nous Portal login and continue with the manual config below.
Official install script
Reload shell profile
Run this after installation if the hermes command is not available yet. Use source ~/.bashrc if your shell uses bash.
Reload shell profile
Verify Hermes Agent
Confirm the hermes command is available before adding Flaq AI credentials.
Verify installation
Install Hermes Agent
Choose the installer that matches your system, then run the install command below.
Windows PowerShell
Verify Hermes Agent
Confirm the hermes command is available before adding Flaq AI credentials.
Verify installation
Configure
Connect Hermes Agent to Flaq AI
Choose a model currently supported by Flaq's OpenAI-compatible endpoint, store your Flaq API key in ~/.hermes/.env, and point config.yaml to the Flaq API base URL.
Recommended text model for a dependable default Hermes Agent coding workflow.
Stronger GPT option for planning, analysis, and more demanding coding workflows.
Claude option for deeper reasoning and complex multi-step coding sessions.
Use Hermes CLI commands to write the Flaq API key and model settings with fewer manual file edits. This updates your local Hermes settings, so back up existing config first if you already use Hermes.
Writes the Flaq key, selected model, custom provider, base URL, and context length through Hermes config commands.
Hermes CLI quick setup
Writes the Flaq key, selected model, custom provider, base URL, and context length through Hermes config commands.
Hermes CLI quick setup
Writes the Flaq key, selected model, custom provider, base URL, and context length through Hermes config commands.
Hermes CLI quick setup
Use Hermes CLI commands to write the Flaq API key and model settings with fewer manual file edits. This updates your local Hermes settings, so back up existing config first if you already use Hermes.
Writes the Flaq key, selected model, custom provider, base URL, and context length through Hermes config commands.
Hermes CLI quick setup
Writes the Flaq key, selected model, custom provider, base URL, and context length through Hermes config commands.
Hermes CLI quick setup
Writes the Flaq key, selected model, custom provider, base URL, and context length through Hermes config commands.
Hermes CLI quick setup
Verify
Verify Flaq in Hermes Agent
Run a quick Hermes one-shot command. A normal answer means Hermes can call models through the Flaq LLM endpoint.
Start interactive mode
Start interactive mode
Start interactive mode
Quick test command
Quick test command
Quick test command
Configuration diagnostics
Configuration diagnostics
Configuration diagnostics
Set the selected model as default
Set the selected model as default
Set the selected model as default
Start interactive mode
Start interactive mode
Start interactive mode
Quick test command
Quick test command
Quick test command
Configuration diagnostics
Configuration diagnostics
Configuration diagnostics
Set the selected model as default
Set the selected model as default
Set the selected model as default
Troubleshooting