DocHermes is a desktop risk and execution coach for trading workflows.
It is designed to sit beside an existing trading platform, watch only the window the user explicitly selects, send context to a Hermes gateway, and return structured coaching before a trader acts.
DocHermes is currently an active prototype.
Do not install this as a production trading tool yet. Do not use it as the basis for live trading decisions. There is no packaged release, no stable installer, and no production support guarantee.
This repository is public so the product direction, architecture, and implementation work can be reviewed early.
DocHermes is intended to become:
- A downloadable desktop companion.
- A professional risk copilot that stays on top of a trading workflow.
- A window-paired coach that captures only after the user selects a trading window.
- A model-agnostic client that connects to the Hermes gateway.
- A local-memory layer for journals, trade notes, postmortems, and behavior patterns.
- A guardrail layer for sizing discipline, cooldowns, source quality, liquidity risk, and repeat-mistake detection.
The intended flow:
Signal appears
-> User asks DocHermes or captures the selected trading window
-> DocHermes sends screenshot/context to Hermes
-> Hermes returns risk and execution guidance
-> User decides whether to act in their existing trading platform
-> DocHermes stores local notes/outcomes for future coaching
DocHermes is not:
- A trading bot.
- A wallet.
- An exchange client.
- An order router.
- A signing tool.
- A source of financial advice.
- A system that asks for seed phrases, private keys, approvals, withdrawals, or wallet control.
The application has no trade execution capability. It does not place orders, route swaps, sign transactions, or control wallets.
DocHermes should remain:
- Operating-system agnostic where practical.
- Trading-platform agnostic.
- Chain, exchange, wallet, and strategy agnostic.
- Model/provider agnostic.
- Explicit about what data leaves the machine.
- Advisory by default.
DocHermes connects to Hermes. Hermes owns provider selection, model selection, provider credentials, and inference routing.
The current prototype includes:
- Electron desktop app.
- Always-on-top compact coach window.
- Tray/menu-bar controls for show/hide, capture, settings, arm/pause, and quit.
- Explicit trading-window picker before capture.
- Screenshot preview.
- Text question input.
- Hermes gateway settings for local, hosted, or custom gateways.
- Connection testing with text/image route checks and copyable masked diagnostics.
- Local settings for always-on-top, armed/pause, voice, OCR, monitoring, privacy, and guardrail behavior.
- Privacy presets, including maximum privacy mode that withholds screenshots, window metadata, memory context, and monitoring context from Hermes.
- Local journal save with question, response, notes, selected-window metadata, and screenshot metadata.
- Local memory summaries and basic pattern matching.
- Trade notes and postmortem helpers.
- Read-only CSV trade-history import.
- Read-only public wallet observation cache for local risk checks.
- OCR monitoring and region calibration for local pre-checks.
- Optional browser extension scaffold for DOM-first context extraction.
Capture is user initiated. The journal stores screenshot metadata instead of screenshot image bytes.
DocHermes talks to a Hermes gateway, not directly to a provider model.
Default local gateway URL:
http://localhost:8642
Default compatibility route:
POST /v1/chat/completions
The UI exposes gateway setup as:
- Hermes gateway type.
- Gateway URL.
- Optional bearer token.
- Test gateway.
Advanced compatibility settings exist for gateways that require a specific adapter mode or OpenAI-style route/profile token. Normal users should not need to configure a model inside DocHermes.
See Hermes API integration notes for payload details.
This is for contributors and reviewers. It is not an install path for end users.
Install dependencies:
npm installRun the app in development mode:
npm run devRun verification:
npm test
npm run typecheck
npm run buildDocHermes does not have an installable beta yet. Current beta work is for maintainers, contributors, and invited testers using local development runs or maintainer-created release-candidate builds.
Useful beta docs:
- Beta tester support checklist
- Known beta limitations
- Beta troubleshooting
- Tester feedback template
- Manual QA checklist
- UX and accessibility audit
- Release notes template
- Beta release runbook
Near-term work is focused on:
- Hardening the desktop companion loop.
- Making Hermes gateway setup harder to misconfigure.
- Improving first-run clarity.
- Preserving strict privacy boundaries.
- Strengthening local memory and postmortem flows.
- Keeping the product advisory-only while guardrail and policy modes mature.
Longer term, DocHermes should support:
- Advisory mode: recommendations only.
- Guardrail mode: warnings when user-defined rules are violated.
- Policy mode: explicit override required before proceeding outside rules.
- Better context extraction through optional browser DOM helpers.
- Voice input and optional spoken replies.
- A packaged desktop release.
DocHermes is a risk and execution coach. It should help traders slow down, size better, review prior behavior, and avoid repeating preventable mistakes.
It must not become a trade executor.
DocHermes is licensed under the MIT License. See LICENSE.