Ask specialist agents to inspect a portfolio and financial PDFs
At a glance
A developer built a finance learning app that routes portfolio questions to specialist agents and returns a sourced answer. This workflow is listed under Money, Learning.
SourceBuilding a tool for these workflows? See weekly rates.
What they did
1) Set up the author's Finance Agents app with Node.js 20 or later, install its npm packages, copy .env.example to .env and configure a supported language-model key and a Tavily key. The default Kite demo holdings and Yahoo market data do not need their own keys. 2) Start ChromaDB in a separate terminal with `npx chroma run --path ./local-db-data`, put reference PDFs in the pdfs folder and run `npm run ingest -- pdfs --domain general`; then start the app with `npm run dev` and open localhost:5173. 3) Ask a question such as 'can you check my portfolio'. The planner routes it to the portfolio specialist, which reads the holdings and can consult relevant tools or documents; the app synthesizes the findings into an answer with sources. The author also describes a review stage for more involved questions.
How it went
The author's example returned a portfolio value, gains, daily change and the three largest positions in about 13 seconds. The simple portfolio question used a fast path that skipped the reviewer model.
Worth knowing
This is an educational app, not a recommendation to buy. The demo holdings use a fixed 2023 price snapshot while the chart uses current Yahoo prices; the author says there is no login yet and the server is intended for local use. The article's opening overview says a reviewer checked the example, while its later trace says the fast path skipped the reviewer model.