finagent
v0.0.13
Published
Interactive coding assistant for Jupyter Notebooks for Finance
Maintainers
Readme
FinAgent
Interactive financial analyst generating Jupyter Notebooks using Claude Code. Brings its own Jupyter Notebook server for convenience.
Prerequisites
- Node.js 20+ (get it from https://nodejs.org/en/download)
- Anthropic API key (get it from https://console.anthropic.com/)
Run
First, install the tool by calling:
npm i -g finagentThen, you can run the tool by calling finagent.
Development
npm installnpm run devfor development buildnpm run build && npm startfor production build
Usage
- Type a full-sentence prompt and press Enter (or type
/examplesto see examples) - A
analysis.ipynbfile will be created in the current directory and opened in the Jupyter Notebook server provided by the tool. - Type a follow-up prompt and press
Enterto update theanalysis.ipynbfile - Use
/resetto delete theanalysis.ipynbfile and start over - While typing, reference files with
@prefix. Example: type@ato list matches; Up/Down to highlight; Tab to insert the selected@fileinto the prompt. - Quit with
Ctrl+C.
Jupyter server
The Jupyter server is installed in a virtual environment and runs in the background on startup and shutdowns automatically on exit.
The virtual environment is located in the $HOME/.finance-agent directory.
To update the Jupyter server, use the /update command.
License and contributions
- This project is licensed under AGPL-3.0-only (see
LICENSE). - By contributing, you must agree to the project's Contributor License Agreement (CLA) (
CLA.md). The CLA grants the maintainer (Schiesser IT, LLC) the right to use and relicense your contribution, including under commercial terms, while the open-source distribution remains under AGPL. - Pull requests must check the CLA box in the PR template; a CI check will block merges if not agreed.
