Agentic paper-trading research scaffold using Hermes Workspace, Hermes Agent, a narrow project MCP, Alpaca paper trading, FastAPI services, Postgres, and simple inference.
The core rule: Hermes does not talk to Alpaca directly. Hermes calls trader-mcp; the orchestrator owns Alpaca access, policy checks, persistence, and paper order submission.
cp .env.example .env
cp services/hermes-workspace/.env.example services/hermes-workspace/.env
# edit .env with Alpaca paper API credentials
# edit services/hermes-workspace/.env with Hermes/Workspace-only secrets
docker compose up --buildUseful local URLs:
- Hermes Workspace:
http://127.0.0.1:3000 - Hermes native dashboard:
http://127.0.0.1:9119 - Hermes gateway health:
http://127.0.0.1:8642/health - Trading orchestrator:
http://127.0.0.1:8001 - Inference API:
http://127.0.0.1:8002 - Trader MCP:
http://127.0.0.1:8004/mcp
Optional notebooks:
docker compose --profile notebooks up jupyterThen open http://127.0.0.1:8888.
- Hermes Command Guide
- Architecture
- Environment Variables
- Runtime Flows
- Postman Testing
- Notebooks
- Service Docs
./scripts/smoke.shDry-run decision:
curl -X POST http://127.0.0.1:8001/decisions/propose \
-H 'content-type: application/json' \
-d '{"symbol":"SPY","qty":1,"dry_run":true,"auto_size":true}'Import postman/hermes-paper-trader.postman_collection.json for REST and MCP requests.