# Hermes Agent on ORB Cloud

Hermes reads `base_url` from `config.yaml`, not env vars. One extra line needed.

## orb.toml

```toml
[agent]
name = "hermes"
lang = "python"
entry = "entry.py"

[agent.env]
HOME = "/root"
HERMES_HOME = "/root/.hermes"
OPENROUTER_API_KEY = "${OPENROUTER_API_KEY}"
TELEGRAM_BOT_TOKEN = "${TELEGRAM_BOT_TOKEN}"

[source]
git = "https://github.com/NousResearch/hermes-agent"
branch = "master"

[build]
steps = [
  "pip install --break-system-packages -e .",
  "mkdir -p /root/.hermes",
]

[llm]
base_url = "https://openrouter.ai/api/v1"

[ports]
expose = [8000]

[resources]
runtime = "4GB"
disk = "8GB"
```

## Framework config

Set `base_url` in Hermes config:

```yaml
# /root/.hermes/config.yaml
model:
  default: "openai/gpt-4o"
  provider: "openrouter"
  base_url: "http://127.0.0.1:8080"
```

Add this in your build steps or write it from your entry script.
