Prompt in. Equity research out.
I built OpenCode Finance (opencode-finance), a finance-focused fork of the OpenCode terminal agent runtime. The goal is to make “repeatable analyst reports” feel like a single command instead of a multi-hour docs + spreadsheets + copy/paste workflow.
The core workflow is:
/report AAPL
and a few minutes (seconds when you use 5.3 Spark) later you have a polished PDF report + the underlying artifacts on disk
What makes it different from “chat with a finance bot” is that the output shape is intentionally rigid and consistent across tickers, and the report is assumption-first:
- Observed data is labeled as observed; non-observed claims are explicitly labeled as inference.
- Sources are attached inline (URLs + retrieval timestamps in the report).
- There’s an assumptions ledger so you can audit what the model assumed vs what it actually fetched.How it works in practice: - You run it locally in a terminal TUI. - `/report` runs a strict preflight; if you’re missing required provider credentials it automatically drops you into onboarding so you can finish setup and rerun immediately. - Output is a clean PDF “artifact” you can hand to someone, plus markdown/JSON artifacts for review and iteration.
Install + quick start:
curl -fsSL https://opencode.finance/install.sh | bash
/onboard
Sample PDFs: https://www.opencode.finance/reports/AAPL-2026-02-14.pdf
https://www.opencode.finance/reports/TSLA-2026-02-14.pdf
https://www.opencode.finance/reports/LLY-2026-02-14.pdf
Code + docs: https://www.opencode.finance/
https://github.com/bilalbayram/opencode-finance
A few quick notes:- Not investment advice. The report is meant to separate observed data from assumptions/inference and be auditable.
- Runs locally; tool actions are permissioned and provider credentials are stored locally via `opencode-finance auth`.
- `/report` is designed to be reproducible: fixed structure, consistent sections, and a PDF output suitable for sharing.