New strategy

AI Library

Every AI conversation persists here — decode requests, result explanations, variation suggestions, freeform Q&A. Your thinking compounds: search across all past sessions, reuse strong prompts, and build a personal corpus of how you reason about trading.

No conversations yet

The AI tools (decode-strategy, explain-results, suggest-variations) require a Claude API key + the persistent strategy library DB. Both land with Phase B3 (task #48). Once wired, every chat from the right-side panel lands here.

Three permanent AI tools

  • /api/ai/decode-strategy — Plain-English strategy → structured spec (legs, sizing, entry, exit, SL). Lists ambiguities for the operator to confirm.
  • /api/ai/explain-results — Takes a backtest result + regime breakdown, produces a natural-language explanation of WHY a combination works or fails.
  • /api/ai/suggest-variations — Takes a strategy + a regime where it failed, suggests 3-5 modifications that might address the failure.

All three persist input + output to this library so the AI tools become more useful over time.