This setup uses a named custom provider, so you can keep LithosAI alongside any other
providers already configured in Hermes Agent.
Before you begin
Create a key on the API Keys page and confirm the model ID you want to use on the Models page.1
Install Hermes Agent
Install Hermes Agent with any method on the
official installation page,
then confirm the installation.
2
Add your LithosAI key
Hermes Agent reads provider keys from Exporting
~/.hermes/.env. Add your key there.~/.hermes/.env
LITHOSAI_API_KEY in the shell that starts Hermes Agent also works.3
Add LithosAI as a custom provider
LithosAI is a
named custom provider.
Merge the following into
~/.hermes/config.yaml, or open the file with hermes config edit.~/.hermes/config.yaml
key_env names the environment variable that holds the key, so the credential never
enters the configuration file. Replace the model ID if you selected a different model in
the LithosAI console.4
Start a session
Start Hermes Agent from the project you want it to inspect. The session opens on LithosAI
because
model.provider is custom:lithosai.Auxiliary tasks such as vision, web summarization, and session titles use the main chat
model by default, so they run on LithosAI too.
Verify the connection
From a project that contains aREADME.md, ask Hermes Agent:
Troubleshooting
Issues common to every agent are listed under Common issues.