Try it
- Ask your AI assistant
- In the Itoflow app
With Itoflow connected to your assistant, paste this into your assistant:Using another client? Copy the prompt with the button on the code block.The prompt settles the choices the agent would otherwise ask about: how the account starts, which gains the losses can offset, and which rules the risk budget limits. To use your own lots, attach them as a file in the Itoflow app and name the file in the prompt.
Open in Claude
Start this in Claude with the Itoflow plugin.
Open in ChatGPT
Start this in ChatGPT with the Itoflow plugin.
What a result looks like
Finding tax alpha with Itoflow, September 29, 2026, compared eight harvesting approaches and a no-harvest baseline on one modeled $10M account that tracked the S&P MidCap 400 from September 2021 to September 2026. Its assumptions differ from the prompt above: $100,000 of short-term and $50,000 of long-term gains a year outside the account, and a 15% one-way turnover limit.- Optimized sales with IJH as the replacement ended $1.08M (7.3%) ahead of no harvesting: 4.85 points from lower modeled tax and 2.49 points from returns after costs.
- That gain came with more tracking error against the index: 1.56% a year, against 1.19% with no harvesting.
- In each threshold rule, replacing sold lots with the ETF beat holding the proceeds in cash.
How it’s checked
- Same inputs for every rule. The research contract fixes the lots, prices, rates and costs before the comparison runs.
- You get the code. The agent writes the harvesting and wash-sale logic in Python in its sandbox, so you can read the rules it applied and run them again.
- A second agent reviews it. The independent reviewer reads the files before the answer reaches you.
Limits
- A replay needs the index’s dated holdings and full price and identity history for every security in them. Itoflow rebuilds past holdings from a fund that tracks the index, and for several funds those start in late 2025. Where history is missing, the agent stops and says so.
- Results are modeled. Real fills, tax lots and corporate events will differ.
- Itoflow doesn’t give tax advice or file anything. Check rules for your own account with a tax adviser.
- A strategy can act on a harvesting rule on a paper portfolio. On a live portfolio, a person approves each list of trades.
Next steps
- Run a strategy under a mandate to apply a rule on a paper portfolio.
- Measure a book’s factor risk to see what a replacement does to your exposures.