Prerequisites
- Node.js 22 (the project pins to Node 22;
nvm use 22if you use nvm) - An OpenRouter API key for inference (Hermes 4 405B and Nemotron run through OpenRouter)
- Optional: a Stripe key (test mode is recommended), a Fly API token, and a Convex deployment URL. The app runs without these and degrades honestly.
Install and run
http://localhost:3000. Open /command to land in the Command Center as a guest.
Environment
Create.env.local. Only OPENROUTER_API_KEY is required to drive the agent.
HermesCo never fabricates state. With no Stripe key,
stripeMode reports none and deposit and earn are disabled rather than faked. With no Fly token, the agent’s machine work runs on Daytona instead.Drive the agent
In the Command Center, issue a directive. For example:propose_spend. Because 50 per-action cap, the spend is refused in code by the safety layer. The balance and net profit stay at $0. This is the “can’t lose money” guarantee, and it needs no Stripe key to demonstrate.
Try the money loop (optional, needs a Stripe key)
With ask_test_... key set:
- Deposit capital through real Stripe Checkout (use Stripe test card
4242 4242 4242 4242). - Ask the agent to create an offer. It stands up a real Stripe product and payment link.
- Pay the link with a test card, then ask the agent to collect payment. Real revenue is credited.
- Ask for a spend under the cap. It auto-approves and debits real capital.