Skip to content

Connect your own AI agent

Besides the built-in copilot, Sigmetry can let an AI agent you already run yourself use its tools: Claude Code, Codex, Antigravity or any other MCP client. The agent writes and tests strategies, runs backtests, optimizations, walk-forwards, scans and ML discovery, starts Research Gates evaluations and moves around the app for you, under the same guards as the copilot. Everything it does shows up in the app where your own work does.

External agents are off until you turn them on, and they work only while Sigmetry is open on your computer.

  1. Open Settings › External agents.
  2. Read Before you turn this on, then click Turn on external agents.
  3. Copy the setup for your agent and add it there. Copying only copies text: Sigmetry changes no agent’s settings for you.
    • Claude Code: copy the command and run it in a terminal.
    • Codex: paste the block into ~/.codex/config.toml. If the file already has [mcp_servers.sigmetry], replace that block instead of adding a second.
    • Antigravity: add the entry to ~/.gemini/config/mcp_config.json.
    • Any other MCP client: run the command shown as a stdio server.
  4. Open the strategy folder the page shows as a workspace in your agent. Candidate strategies are single .py files there.

The page also gives a folder of agent skills, which teach an agent how Sigmetry works. Copy its subfolders into your agent’s skills folder if it supports skills; the page says where for each agent.

If local-only is on in AI Research › AI Setup, external agents stay off, because an agent sends what it reads to its own AI provider.

An agent’s everyday runs start without asking. These wait for your click in Sigmetry:

  • starting a Research Gates evaluation
  • any very large run
  • a market data download that costs money
  • the first time an agent moves around the app for you

When one is waiting, Sigmetry shows a notification and an approvals waiting badge in the title bar. Click it to see the request, then Approve or Deny. Nothing starts until you approve, and a request you leave expires after a few minutes.

Agents can’t place trades or start live trading.

Everything a tool returns, such as results, metrics, strategy summaries, candidate code and your strategy folder’s file paths, goes to the agent and from it to the AI provider the agent uses, under that provider’s terms.

The tools never return raw market data, your keys or account IDs, private strategies, sealed holdout results or results past a holdout.

This is not a sandbox. The agent runs with your own permissions whatever Sigmetry does, and a strategy file it writes runs on your computer when Sigmetry loads it, like any strategy.

Click Turn off in Settings › External agents. Closing Sigmetry also ends every agent’s access.

Updating Sigmetry closes every agent’s connection to it. After an update, reconnect Sigmetry in each agent (in Claude Code, from /mcp).