Back to browse
GitHub Repository

Finance workflow plugin for Opencode

5 starsTypeScript

OpenCode-finance – prompt a ticker, get a structured PDF analyst report

by bilalbayram·Feb 14, 2026·1 point·1 comment

AI Analysis

●●SolidNiche GemSolve My Problem
The Take

The project is opinionated in a good way: reports are assumption-first, label observed vs inferred claims, and embed retrieval timestamps and source URLs so you can audit what the model actually used. It’s smart product thinking — single-command /report, an assumptions ledger, and TUI onboarding — but it’s essentially a focused fork of OpenCode with expected friction (multiple API keys, Bun runtime), not a ground-up reinvention.

Category
Target Audience

Equity analysts, fintech developers, quant researchers, power users who want reproducible analyst reports

Post Description

OpenCode Finance — `/report <TICKER>` generates a delivery-ready PDF equity research brief

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.

Similar Projects

Finance●●Solid

AI-powered multi-agent equity research in Python

End-to-end equity research pipeline: SEC filings to Excel models and PDFs, not just text summaries.

Solve My ProblemNiche Gem
schnetzlerjoe
603mo ago