Desk roles
Research, execution and risk: what each agent does and what it is allowed to do.
Research agent
Finds and buys the data the desk needs: data feeds, signals and APIs. It calls language models through the anonymous gateway and pays with shielded notes.
Permissions it should have: model access through the gateway and a spending limit on private notes. It should not hold a trading key.
Execution agent
Places the orders. It receives sealed strategy jobs from research and turns them into orders on Hyperliquid. Large size can be split across agents.
Permissions it should have: a Hyperliquid API agent key, which can place and cancel orders but cannot withdraw. A fresh key each session. No custody of funds.
Risk agent
Checks positions and drawdown and keeps the desk inside its limits. Its checks are encrypted, so positions are not exposed.
Permissions it should have: read access to the desk's positions and the ability to flag or stop the execution agent. It should not be able to move funds.
Open templates
Status
In progressAgent templates and integration docs will be open source, so anyone can read what each role can do. The templates are in progress.