Section 055 In development
Agent Workflows with Claude Code and Codex
Coding agents can help research, write and test models, while promotion to live trading stays behind the same review gates.
OpenHedge is designed to work with coding agents such as Claude Code and Codex, "bringing model development and agent workflows into the same picture." This integration is in development.
The idea is simple: much of quantitative research is writing and testing code. A coding agent can draft a model against the documented model interface, generate test cases, run backtests, read the results and iterate, while the researcher reviews each step.
Designed workflow:
- The researcher describes a hypothesis, for example "follow only funds whose positions are confirmed by rising open interest."
- The coding agent writes the model code and its unit tests in the researcher's workspace.
- The agent submits a backtest job through the research tools and reads back out-of-sample metrics, including costs.
- The agent proposes changes; the researcher accepts or rejects them.
- When satisfied, the researcher submits the model for shadow mode and review (section 53).
Boundaries. Coding agents work with research access only: datasets, backtests, shadow results and read-only market data. They cannot send orders, change live strategy books, or approve their own models. Promotion to live trading requires the same automated checks and human approval as any other model, so speed in research never becomes speed in risk-taking.