Build your own AI trading agent: a job, tools, a schedule and a budget

Create a custom AI trading agent in plain English: choose the tools it may use, when it runs, what it may spend, and whether it may place orders.

  • AI agents
  • Automation
Build your own AI trading agent: cover with a pixel spark

The ready-made agents cover the usual line from idea to live trading. But most traders also have a job only they do: trimming positions before earnings, rebalancing every Friday, re-testing strategies each month, checking funding rates. A custom agent does that job for you. You describe it in plain English and set four things: its tools, its schedule, its budget and its rules for orders.

A custom agent's settings: a job in plain English, tools (your account, web search, code and backtests), a schedule, a budget for each run, and order rules (off, approve, auto)
Everything an agent can do is on this card. It can do nothing that isn't.

The job

Write it the way you'd brief a colleague: what to look at, what to decide, and what to do about it.

  • “Every weekday before the open, check my Alpaca positions for earnings this week and halve any position reporting.”
  • “Each month, re-run the backtests of my three live strategies on the latest data and tell me if any has drifted from its original results.”
  • “Watch BTC perpetual funding on Bybit and alert me when it turns negative.”

Each run starts with the previous run's report, so a scheduled agent picks up where it left off.

The tools

An agent can use only the tool groups you tick:

  • Your account: read your projects, backtests, deployments, broker connections and portfolios.
  • Web search: look things up on the open web, such as filings or news, billed per search from the run's budget.
  • Code: edit its own workspace project and backtest it, one backtest at a time.

Every agent can also send you an alert and an email.

The schedule

Run it by hand, or every hour, every day, on weekdays, or once a week, at the time and in the time zone you choose. A weekday 08:00 New York run, for example, finishes before the US open.

The budget

Each run has a budget from your prepaid balance, covering the model's use, web searches and backtests. When it's spent, the run stops. A small, frequent job might need a few cents a run; a monthly re-test of several strategies, more.

The order rules

Whether an agent may trade is a separate, explicit choice:

  • Off: it has no order tool at all.
  • Approve: it proposes orders, and nothing reaches your broker until you approve each one, within an hour.
  • Auto: it sends orders itself, within its limits.

Either way, every order is checked against the agent's per-order limit before the broker sees it, and counted against its per-run limit and its list of allowed symbols. Our guide to risk limits explains the checks.

Create one in five steps

  1. Open AI agents in the app and choose Build an agent.
  2. Name it and write its job.
  3. Tick the tools it needs, and no more.
  4. Set its schedule, its budget for each run and its order rules.
  5. Run it once by hand and read its report before letting the schedule take over.

Build an agent, or read more on the AI agents page.

Frequently asked questions

Can I create my own AI trading agent without coding?

Yes. You describe the agent's job in plain English, then choose its tools, schedule, budget and order rules from a form. It can write and backtest code itself if you give it the code tools.

Can a custom agent place trades?

Only if you allow it. Its order rules are off (no orders), approve (it proposes, you approve each order within an hour) or auto (it sends orders within its limits). Every order is still checked against its per-order limit before the broker sees it.

How often can a custom agent run?

By hand, every hour, every day, on weekdays or once a week, at a time and in a time zone you choose.

Share on XLinkedIn

Test your own idea on point-in-time data.

Write a strategy in Python or describe it to the AI assistant, and see a full backtest report in minutes.

Get started