Franklin icon indicating copy to clipboard operation
Franklin copied to clipboard

feat: add 'franklin predict' prediction mode

Open KillerQueen-Z opened this issue 5 months ago • 0 comments

What

Adds a headless prediction mode to Franklin:

  • predictionCapabilities (src/tools/index.ts) — a tight, research-only capability profile: web search, webfetch, Exa search/answer/read, search X, prediction markets, and a little market data. Excludes filesystem, shell, media generation, swaps/trade execution, phone/voice and the GPU sandbox — a forecaster looks things up, it doesn't act on the world.
  • franklin predict (src/commands/predict.ts) — a non-interactive command. franklin predict --model M --question Q --json runs one model as a disciplined bettor (research the question, read live odds, commit to a pick) and prints a single JSON envelope: { finalText, trace, turnReason, usage }.

Why

Lets non-interactive callers drive grounded, tool-using predictions over the CLI. First consumer is franklin.bet (github.com/BlockRunAI/franklin-bet), which fans a question out across the model council and renders the consensus + each model's research trail.

Notes

  • Additive only — new command + new exported profile + registration. No existing behaviour changed.
  • Not yet published to npm; this is for review. Once merged + released, npm i -g @blockrun/franklin gives downstreams franklin predict.
  • The contract with downstreams is the --json envelope shape, not raw stdout.

KillerQueen-Z avatar Jun 11 '26 22:06 KillerQueen-Z