Agent layer

The agent layer is what separates Forven's free tier from the paid Forged tier. It's also the thing most likely to cost you money if you use it carelessly, so this page is long.

What agents do

Hypothesis drafting. Given a market observation, the agent produces a testable strategy specification: entry, exit, sizing, universe.

Strategy authoring. The agent writes the Python implementation, registers it in the lab, and kicks off a screen run.

Debugging. If a strategy underperforms in the gauntlet, an agent inspects the trace and proposes parameter changes or structural edits.

Post-mortems. Every closed trade gets an automated post-mortem — why it triggered, why it exited, whether the outcome matches the thesis.

What agents do not do

  • They do not place trades directly. All live orders go through the same promotion gate as human-authored strategies.
  • They do not run unsupervised in the background without the daemon. If the daemon is off, agents are off.
  • They do not skip the gauntlet. No matter how confident the agent sounds, the strategy graduates only if it passes walk-forward OOS.

Bring your own key

You supply the LLM key. Forven does not resell tokens. Supported providers:

  • Anthropic (Claude Opus, Sonnet, Haiku)
  • OpenAI (GPT family)
  • Custom OpenAI-compatible endpoints

Keys live in the local keystore. They never leave your machine, never touch our servers.

Cost discipline

The agent layer can burn through tokens fast if you let it. Forven exposes hard caps per run and per day. The defaults are conservative; raise them only after you've watched how much a run actually costs.