HyperGrok Autonomous Desk
A seven-role Hyperliquid trading desk that trades without you approving each ticket: a systematic engine trades the liquid universe on a policy gate; four runtimes.
Seven agents, one exchange, no human in the loop. You write a policy file once. From then on a deterministic strategy engine trades the twenty most liquid perps on a factor model, the agents supervise, propose and review on a schedule, and every send has to get past a deterministic gate that checks the ticket against your written limits and your live account before a single script is allowed to sign. It runs on Grok Bot, Grok Build, Claude Cowork or Claude Code, on testnet by default, on mainnet when you change one word.
This is an SWC Studio fork of HyperGrok Trading Desk by Andrew Wilkinson and Galleon Labs. The roles, skills and desk vocabulary are theirs; the autonomy and the engine are the fork's additions. See License and credit.
Start
Claude Code
Install the plugin, copy the desk templates, write the policy, and run one cycle by hand before you schedule anything:
/plugin marketplace add swcstudiospace/hypergrok-autonomous-desk
/plugin install hypergrok@hypergrok
claude plugin validate passes on this checkout (29 skills including the 5 commands, 7 agents, 1 hook). Until the v2.4.0 push to GitHub lands, install from a local clone instead: claude plugin marketplace add /workspace/hypergrok then claude plugin install hypergrok@hypergrok; the commands and the guard behave the same either way.
mkdir -p /workspace/trading-desk/{proposals,briefs,research,strategies,data,journal/incidents,watch,autonomy}
cp /workspace/hypergrok/template/autonomy.json /workspace/trading-desk/autonomy.json # then edit account, mode, limits
cp -r /workspace/hypergrok/template/strategies/hg-systematic /workspace/trading-desk/strategies/ # the engine's rules, status: paper
mkdir -p /workspace/trading-desk/.claude && cp /workspace/hypergrok/template/claude/settings.json /workspace/trading-desk/.claude/settings.json
cp /workspace/hypergrok/template/claude/CLAUDE.md /workspace/trading-desk/CLAUDE.md
cd /workspace/trading-desk && claude -p "/hypergrok:desk-cycle /workspace/trading-desk" --permission-mode bypassPermissions --max-turns 40
autonomy.json is the whole of your standing authority: network, account, whether the desk may originate ideas, how often it runs, and the limits every ticket is checked against. Only you edit it. The template ships with mode: testnet and small numbers; read desk-autonomy-policy before you change either.
When one cycle has run cleanly with you watching the transcript, hand it to the scheduler. scripts/autonomy_cycle.py wraps the same claude -p call with a lock, a heartbeat, a log per cycle and a timeout:
python3 /workspace/hypergrok/scripts/autonomy_cycle.py --desk-root /workspace/trading-desk --once # one cycle
python3 /workspace/hypergrok/scripts/autonomy_cycle.py --desk-root /workspace/trading-desk --loop # every cycle_interval_minutes
*/15 * * * * python3 /workspace/hypergrok/scripts/autonomy_cycle.py --desk-root /workspace/trading-desk --once >> /workspace/trading-desk/autonomy/cron.log 2>&1
/hypergrok:desk-status reads the desk back to you at any time; /hypergrok:desk-halt <reason> stops new risk until you resume from your own terminal. desk-claude-code-runtime explains why nothing prompts and what still says no.
When the supervising cycle is running cleanly, start the engine beside it. It runs as its own process (a systemd unit and a Dockerfile are in deploy/) and the cycle switches from proposing trades to checking the engine's:
python3 /workspace/hypergrok/scripts/strategy_engine.py --desk-root /workspace/trading-desk --once --dry-run # print the universe, regime and plan; send nothing
python3 /workspace/hypergrok/scripts/strategy_engine.py --desk-root /workspace/trading-desk --loop --interval 60
The engine runs only strategy folders that carry a signed review. Review the shipped one (or any the Strategist writes) against template/strategy-criteria.json on real history before it trades:
python3 /workspace/hypergrok/scripts/strategy_review.py --desk-root /workspace/trading-desk --strategy hg-systematic
/hypergrok:strategy-review <name> runs the same script and reads the result back to you.