The Agenticks approach: build a strategy, not mutate a live one
How AlgoAgent uses an AI agent to build a strategy you can read and test before it runs, instead of letting an agent quietly change a live one.
Part of the Automation and Agentic Trading track on Agenticks. About 9 minutes, written for a advanced reader.
Read first: What is agentic trading, Why self-rewriting agentic auto-trading is dangerous, From a tested idea to automation (and when not to).
Last reviewed .
Risk notice. Backtested and hypothetical results are simulated: no trades were placed, the rules were applied to past data with the benefit of hindsight, and they may not reflect liquidity, slippage or every cost. Past results, real or simulated, do not predict future results.
Key takeaways
- The agent's job is to build and test a strategy you can read; running it is a separate step that stays with you.
- Each change saves a new version, and a backtest describes exactly one version, so every result you read is about rules that held still.
- A newer version is not automatically better: in the worked example the best-looking version rested on about half the trades.
- Before a build is saved it is compared with your request rule by rule, and any rule that still differs is pointed out to you.
- A frozen strategy can still hold a flawed idea, so honest testing and a way to stop everything are still needed.
In the last two lessons we looked at what an AI agent can do and where agentic auto-trading gets dangerous. The danger was never the AI itself. It was the idea of handing an agentic trading system the keys to a live account and letting it keep rewriting its own behavior while real orders fly. Agenticks takes a deliberately different path, and the whole difference fits in one sentence: the agent builds a strategy you review, it does not mutate a live one behind your back.
The output is an artifact you can read, not a black box that trades
When you describe an idea to AlgoAgent, the result is a written strategy: clear entry rules, exit rules, and risk, laid out as something you can inspect. That artifact is the deliverable. It sits still so you can study it, test it, and decide on it, instead of changing under you while it runs.
It helps to split what an AI agent does into two very different jobs. The first job is research and building: take a messy idea, ask clarifying questions, and turn it into a precise rule set you can test. That is genuinely useful, and an AI trading agent is good at it because it removes the boring friction between an idea and a testable version of that idea. The second job is execution: actually placing orders in a live market. The first job is where the value is. The second job is where almost all the danger lives. Agenticks keeps these two jobs apart on purpose.
So the agent's main role is to build, not to trade on a whim. You talk through an idea in chat, and AlgoAgent produces a saved strategy card: a concrete set of rules with a name you can point at. Nothing is live yet. You can read every rule, see it drawn as a flowchart from the code that actually runs, change your mind, and run it against history first. Before the build is even saved, it is compared with your request rule by rule, and any rule that still differs is pointed out to you rather than quietly swapped. This is the opposite of an agent that silently edits the logic of a position it already holds. A self-mutating agent can drift somewhere you never tested, and by the time you notice, the rules that are live may have no test behind them at all.
A frozen rule set is a testable rule set
You can only honestly backtest something that holds still. If the agent keeps changing the rules, every test you ran describes a strategy that no longer exists. Freezing the strategy into a reviewable artifact is what makes a real backtest and a fair paper trade possible in the first place.
That frozen quality is not a limitation, it is the entire point. A backtest only means something if the rules you tested are the rules that will run. If an agent is free to rewrite the logic mid-flight, your test results describe a ghost. Paper trading has the same problem: watching a strategy on live prices with fake money only tells you something if the strategy stays the same long enough to learn from it. A reviewable strategy is what lets you say, with a straight face, that the thing you are about to run is the thing you actually tested.
There is still a human in the loop, and that is by design. The agent proposes, you dispose. You read the rules, you decide whether to test them, and you decide whether they ever go near a live broker. Strategy automation can come later, but it runs the saved version you chose, in the mode you chose: observe only, signals you place yourself, paper trading, or orders through a connected broker. A kill switch stops every automation at once and closes what they opened. The agent can read how your automations are doing, but it has no tool to start one or change what one runs. It can suggest a single order on your own connected brokerage, and that order only goes through if you press Confirm. The agent is not sitting on the live account improvising. It handed you a plan, you checked the plan, and only the plan you approved is allowed to run. That separation is the safety story.
Worked example: three versions, three tests
You ask the agent to build an idea, then ask for two changes. Each change saves a new version, and you backtest each one.
| Version 1, as first described | 240 trades, +$9 a trade |
|---|---|
| Version 2, with a tighter stop | 238 trades, +$12 a trade |
| Version 3, with a time-of-day filter added (About 55% of version 2's trades) | 131 trades, +$15 a trade |
| Automation started on version 2 (Until you choose another version yourself) | Keeps running version 2 |
| Best-looking number | Version 3, on about half the evidence |
Illustrative numbers, before costs. A higher average on a smaller sample deserves a harder look, not an automatic switch.
None of this makes a strategy good. A reviewable artifact can still hold a flawed idea, and automation will run a flawed idea faithfully. Building a strategy you can read does not promise it will make money, and nothing here is a prediction about how any idea will perform. What it does buy you is the ability to actually look before you leap: to test on data the idea was not built on, to watch it on paper, and to keep the dangerous job, live execution, behind a gate you control. That is a smaller, more honest claim, and it is the right one. The lessons on sample size and out-of-sample testing are where that testing starts.
What is the core of the Agenticks approach to AI in trading? The agent builds a strategy you can review and test, instead of silently changing a live one The agent's deliverable is a readable, testable strategy artifact. You inspect and approve it before anything runs, and it does not rewrite itself behind your back.
- A saved strategy card
- A written, fixed rule set you can read and inspect
- A frozen rule set
- Rules that hold still long enough to backtest honestly
- A human approval gate
- A checkpoint where you sign off before any live order
- A self-mutating live agent
- Logic that rewrites itself while a position is open
Put the Agenticks agent workflow in the order it actually happens.
- Describe the idea to the agent in chat
- The agent builds a saved strategy you can read
- You review the rules and backtest them on real history
- Only if it holds up, you start it yourself in observe, signal, paper or broker mode
backtest review mutate
You understand the Agenticks approach
The agent builds a strategy you can read, test, and approve. It does not silently mutate a live one, and execution stays behind a gate you control.
Check your understanding
- In the worked example, why might version 3 not be the better choice despite its higher expectancy?
- It rests on about half as many trades, so its number is less reliable. 131 trades against roughly 240 means far more room for luck. The extra filter may have cut good trades along with bad ones.
- Can the agent in AlgoAgent start an automation or switch the version one is running?
- No. Starting an automation and choosing its version are steps you take yourself. The agent can read how your automations are doing, but it has no tool that starts one or changes what it runs.
- What happens before a strategy the agent built is saved?
- It is compared with your request rule by rule, and any rule that still differs is pointed out. That check exists because a stated rule left out or swapped for a stand-in is one of the most common ways a build goes wrong.
Common questions
- What does it mean to build a strategy instead of mutating a live one?
- Building a strategy means the agent produces a written, fixed set of rules that you can read, test, and approve before it ever touches the market. Mutating a live one means an agent keeps changing the running logic on its own while real money is at stake, so you never know exactly what rules are active right now.
- Why is a reviewable strategy artifact safer than a self-adjusting agent?
- A reviewable artifact freezes the rules so you can backtest them, paper trade them, and approve them as a known quantity. A self-adjusting agent can drift away from anything you ever tested, which means the live behavior may have no test behind it at all.
- Does using an AI agent to build a strategy remove the risk?
- No. It separates the helpful part (turning an idea into testable rules quickly) from the dangerous part (letting software change live behavior unsupervised). You still have to test the strategy honestly and keep guardrails on, because automation runs your rules faithfully whether they are good or flawed.
Terms defined in this lesson
Continue
- Previous: Why self-rewriting agentic auto-trading is dangerous
- What is agentic trading
- Out-of-sample testing and walk-forward analysis
- From a tested idea to automation (and when not to)
- Sample size and why ten trades mean nothing
- Automation and Agentic Trading track
- All Agenticks lessons
- Trading glossary
Sources
Written and reviewed by the Agenticks Learn editorial team. How we write and check lessons.
Agenticks Learn is general education. It is not financial, investment, tax or legal advice, it does not take your situation into account, and nothing on it is a recommendation to buy, sell or hold any security or to open any account. Examples use illustrative numbers. Investing involves risk, including losing money you put in, and past performance does not predict future results. Tax rules and limits change; the official sources linked in each lesson are the final word.