Diligence App

Anthropic API Key

The key is write-only — it's never sent back to this page once saved. Prefer setting the ANTHROPIC_API_KEY environment variable on Railway instead: an environment key takes precedence and never touches the database. Anyone who can reach this app can spend against whichever key is active.

Model

Opus 5 is the most capable and the right default for research write-ups. Sonnet 5 is faster and cheaper if you're generating a lot of these.

Effort

How long Claude thinks before writing. Drop this to Medium if drafts are timing out — Opus 5 stays strong at the lower levels.

Financial Modeling Prep API Key

FMP restricts coverage by ticker as well as by endpoint, so test the ticker you actually care about — a pass on AAPL says nothing about the rest.

Write-only, like the Anthropic key — never sent back to this page once saved. Setting FMP_API_KEY as an environment variable on Railway takes precedence and keeps the key out of the database entirely.

Alpha Vantage API Key

Used when FMP can't answer. Carries forward EPS and revenue with high/low dispersion and 30/90-day revision trends — but no forward EBITDA or EBIT, so those rows stay blank. The free tier allows 25 requests per day, so responses are cached for six hours. ALPHAVANTAGE_API_KEY as an environment variable takes precedence, same as the others.

Diagnose a Ticker

Asks FMP, Alpha Vantage and Yahoo the same question and shows what each one actually said. Use it when the Consensus block falls back and the reason isn't obvious. Costs one Alpha Vantage call.

Model Template

Your blank starting model. Every project's Model page offers it as a download, and the copy it hands out is already tagged for that project — so when you've filled it in, dropping it back files it as v1 without you saying where it goes.

System Prompt

fixed — defines the summary / detail split

  

Business Description Prompt

Bull Case Prompt

Bear Case Prompt

Prompts can use {ticker}, {name}, {direction}, and {context}. {context} is replaced with the project's details and its full tearsheet — leave it in unless you specifically don't want the model to see the numbers.