schema = "m64/capsule@1" description = "Hermes Agent on Qwen3.8 Max (0902) (OpenRouter). Hermes Agent v2026.9.21 (NousResearch), driven through its one-shot CLI (hermes -z), with Qwen3.8 Max (0902) through OpenRouter ($2.00/$6.00 per M tokens, 1M context, tools + vision). Each session gets an empty directory; the agent can write and run code there. Replies are the final text only (no per-tool trace). No GPU. It needs openrouter.ai:443, so it runs with --allow-external-network (public internet, never your LAN; every connection is logged by m64 net); the m64 gate adds the OpenRouter key, so the agent never holds it." kinds = ["agent.session"] authors = ["dh7"] license = "apache-2.0" [hardware] platform = "linux-aarch64" [runtime] sandbox = "container" # No image: the Dockerfile builds on debian:12-slim pinned by digest. gpu = false internal_port = 9500 health = "/health" expected_load_seconds = 30 user = "1000:1000" [network] needs = ["openrouter.ai:443"] why = "the model runs on OpenRouter: your prompts, the files the agent reads and its replies go through openrouter.ai" [secrets] required = ["OPENROUTER_API_KEY"] # The key never enters the container: llm_relay.py calls http://openrouter.ai/api/v1 through # the gate, which adds the header and goes on over TLS. The capsule's env var holds only the # placeholder m64-injected:OPENROUTER_API_KEY. [[secrets.inject]] name = "OPENROUTER_API_KEY" host = "openrouter.ai" header = "Authorization" value = "Bearer {secret}"