[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111318":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":9,"pushedAt":30,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":14,"starSnapshotCount":14,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},111318,"hermes-finance","apelabs-dev\u002Fhermes-finance","apelabs-dev","Self-hosted personal-finance dashboard: Plaid bank sync, categories, budgets and rules, with agent tools that stay read-only unless you approve a change.",null,"Python",98,16,1,0,3,40,49.19,"GNU Affero General Public License v3.0",false,"main",[22,23,24,25,26,27,28,29],"budgeting","hermes","hermes-plugin","mcp","personal-finance","plaid","python","self-hosted","2026-11-23 05:34:34","2026-11-20 07:51:18","\u003Ca id=\"top\">\u003C\u002Fa>\n\n\u003Cdiv align=\"center\">\n\n\u003Cimg src=\"docs\u002Fassets\u002Flogo.svg\" alt=\"hermes-finance logo\" width=\"96\">\n\n# hermes-finance\n\n### Your money, on your computer, with an AI agent that can read it.\n\n\u003Ca href=\"LICENSE\">\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-AGPL--3.0-f5f5f5?style=flat\">\u003Cimg alt=\"License: AGPL-3.0\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-AGPL--3.0-1f1f1f?style=flat\">\u003C\u002Fpicture>\u003C\u002Fa>\n[![Python-3.12+](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3.12%2B-3776AB?style=flat&logo=python&logoColor=white)](pyproject.toml)\n![Self-hosted](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fself--hosted-6a91fc?style=flat)\n![Data in local SQLite](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdata-local_SQLite-2f9e6e?style=flat)\n![Writes ask first](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fwrites-ask_first-e5534b?style=flat)\n\n\u003Csub>Plugs into\u003C\u002Fsub>\n\n\u003Ca href=\"#the-three-ai-modes\">\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHermes_Agent-fff?style=flat\">\u003Cimg alt=\"Hermes Agent\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHermes_Agent-111827?style=flat\">\u003C\u002Fpicture>\u003C\u002Fa>\n\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP-fff?style=flat&logo=modelcontextprotocol&logoColor=000\">\u003Cimg alt=\"MCP\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP-000?style=flat&logo=modelcontextprotocol&logoColor=white\">\u003C\u002Fpicture>\n![Plaid](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlaid-111111?style=flat)\n![OFX \u002F QFX \u002F CSV import](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FOFX%20%2F%20QFX%20%2F%20CSV_import-5b6b8c?style=flat)\n\n\u003Csub>Built with\u003C\u002Fsub>\n\n![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPython-3776AB?style=flat&logo=python&logoColor=white)\n![SQLite](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FSQLite-003B57?style=flat&logo=sqlite&logoColor=white)\n\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fuv-f5f5f5?style=flat&logo=uv&logoColor=261230\">\u003Cimg alt=\"uv\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fuv-261230?style=flat&logo=uv&logoColor=DE5FE9\">\u003C\u002Fpicture>\n![Vanilla JS](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVanilla_JS-b8a200?style=flat&logo=javascript&logoColor=white)\n![Chart.js](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FChart.js-FF6384?style=flat&logo=chartdotjs&logoColor=white)\n![pytest](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpytest-0A9EDC?style=flat&logo=pytest&logoColor=white)\n![MkDocs Material](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMkDocs_Material-526CFE?style=flat&logo=materialformkdocs&logoColor=white)\n\n\u003C\u002Fdiv>\n\n---\n\nA self-hosted personal-finance dashboard for people who already run [Hermes](#the-three-ai-modes). It pulls your\naccounts, balances and transactions from Plaid into a SQLite file on your own computer. It files spending into\ncategories and tracks budgets, recurring bills, goals, loans, investments and net worth. For what Plaid can't see (a\ncar, a home, a loan from a lender that isn't connected) you add an account by hand or import a CSV, OFX or QFX file.\nYour agent gets the same numbers as native tools, over MCP, or through the dashboard's own Ask panel.\n\nFull documentation: [`docs\u002F`](docs\u002Findex.md), a MkDocs site (`uvx --python 3.12 --with \"mkdocs-material>=9.5,\u003C10\" --from \"mkdocs>=1.6,\u003C2\" mkdocs build --strict`).\n\nTry the [live read-only demo](https:\u002F\u002Ffinancing.apelabs.dev) with synthetic data, or [build it yourself](docs\u002Fdemo.md); it needs no account or API key.\n\n\u003Cimg src=\"docs\u002Fassets\u002Fscreenshots\u002Fshowcase.jpg\" alt=\"hermes-finance: Transactions, Budgets and Overview pages with synthetic demo data\" width=\"100%\">\n\n## Quickstart\n\nYou need Python 3.12 and [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F).\n\n### Look around without any account\n\nA synthetic database and a throwaway credentials file (nothing is sent to Plaid unless you click Continue to Plaid):\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002Fhermes-finance.git   # \u003Cowner>: wherever you found this repository\ncd hermes-finance\nuv sync                                           # .venv on Python 3.12\nT=$(mktemp -d); mkdir \"$T\u002Fdata\"\nprintf 'PLAID_CLIENT_ID=fake0000000000000000001\\nPLAID_SECRET=fake000000000000000000000000\\n' > \"$T\u002Fenv\"\nuv run python tests\u002Fdemo_data.py \"$T\u002Fdata\"       # add a number (e.g. 30) for that many days of holding snapshots\nHERMES_ENV_FILE=\"$T\u002Fenv\" FINANCE_DATA_DIR=\"$T\u002Fdata\" uv run finance serve --port 8799\n```\n\nOpen \u003Chttp:\u002F\u002F127.0.0.1:8799\u002F>.\n\n### Plaid Sandbox in five minutes\n\nYou need a Plaid account's **client ID** and **Sandbox secret**.\n\n```sh\nuv run finance serve      # http:\u002F\u002F127.0.0.1:8765\u002F\n```\n\nOpen \u003Chttp:\u002F\u002F127.0.0.1:8765\u002F>. The first-run wizard opens: setup happens in the browser.\n\n1. Paste the client ID and the Sandbox secret. They're saved to `~\u002F.config\u002Fhermes-finance\u002Fsecrets.env` (0600). For\n   AI, pick *No AI for now* to just look around.\n2. *Who can open this app?* Keep **This computer only**.\n3. Pick **Try demo** (Plaid Sandbox, fake data).\n4. **Connect a bank**: Plaid Link opens. Pick any bank and sign in as `user_good`, password `pass_good`. The app\n   stores the connection and runs the first sync.\n\nThen, from another terminal in the checkout:\n\n```sh\nuv run finance status                # banks, accounts, balances, slots used\nuv run finance doctor                # every integration and what it is missing\nuv run finance sync                  # pull what's new\nuv run finance spend --by category   # this month's spending, compared with last month\nuv run finance bills --next 14d      # recurring bills coming up\n```\n\n`finance networth [--history] [--custom] [--json]` prints net worth grouped as on the Accounts page. Its\n**All · Custom** switch, and `finance networth-custom`, choose which accounts *Custom* counts. That's one saved setting\n(`networth_excluded`), so the page and the CLI always agree.\n\nEvery command is in the [CLI reference](docs\u002Freference\u002Fcli.md), generated from `finance --help`; the\n[user guide](docs\u002Fguide.md) covers each one in detail. More: [Getting started](docs\u002Fgetting-started.md) and\n[Plaid setup](docs\u002Fplaid.md).\n\n> **The 10-connection rule.** A Plaid Trial account allows at most 10 Items (bank logins) for the life of the account,\n> and removing one does not give the slot back. The app counts every connection ever made (`slots used: N \u002F 10`),\n> refuses to connect the same bank twice, and offers **Reconnect** (Link's update mode, no new Item) for a broken\n> one. Never connect a bank a second time. Details: [Plaid setup](docs\u002Fplaid.md).\n\n## Install as a Hermes plugin\n\nVersion 0.2.0 is a beta. No bank or API key is required to install the plugin or read\na local database. Plaid, market data and AI providers are optional; manual accounts,\nimports and synthetic data work without them.\n\nThe plugin is an adapter, so first prepare a trusted **app checkout** with Python 3.12\nand uv. Do not install the app into Hermes's Python 3.11 environment. Replace `\u003Cowner>`\nwith the repository owner supplied by your distributor; this release's public identity\nand catalog listing remain gated on the privacy-reviewed public export.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002Fhermes-finance.git\ncd hermes-finance\nuv sync\nexport HERMES_FINANCE_APP_DIR=\"$PWD\"\nuv run finance doctor\n```\n\n`finance doctor` runs offline. It exits 1 when an integration is missing or unusable,\nand 0 otherwise. An integration switched off on purpose (e.g. `HERMES_ALPACA=off`)\nreports `off`: it is not counted as missing and does not fail the run. Doctor explains\nhow to configure what is missing; missing provider keys do not prevent plugin loading.\nKeep this checkout available: the installed plugin loads `src\u002Fhermes_finance\u002Ftooldefs.py`\nfrom it, and report jobs use its app environment. It does not download the app for you.\n\nInstall the adapter from the same trusted repository (the `#hermes_plugin` fragment\nselects its subdirectory), then validate it:\n\n```sh\nhermes plugins install 'https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002Fhermes-finance.git#hermes_plugin' --no-enable\nhermes plugins validate hermes_plugin\nhermes plugins doctor --ci hermes_plugin\nhermes plugins enable hermes-finance\nhermes plugins list\n```\n\nFor a reproducible install, add `--ref \u003Cfull-40-character-commit-sha>` to the install\ncommand, using a reviewed commit from that repository. A private repository needs\nexisting Git access. Review any scanner warnings; a dangerous verdict blocks installation.\n\nPersist the checkout path for future Hermes processes in your active profile's\n`config.yaml` (merge into existing `plugins` settings), or export it whenever you start Hermes:\n\n```yaml\nplugins:\n  entries:\n    hermes-finance:\n      settings:\n        HERMES_FINANCE_APP_DIR: \u002Fpath\u002Fto\u002Fhermes-finance\n        HERMES_FINANCE_DATA_DIR: \u002Fpath\u002Fto\u002Ffinance-data\n```\n\nThe data directory holds `finance.db`; without that setting the app uses\n`FINANCE_DATA_DIR`, then its checkout's `data\u002F`. To try local reads without a bank,\nrun `uv run python tests\u002Fdemo_data.py \u002Ftmp\u002Ffinance-plugin-demo` and set\n`HERMES_FINANCE_DATA_DIR` in the profile settings to `\u002Ftmp\u002Ffinance-plugin-demo`.\nThe plugin opens reads read-only and never creates a missing database.\n\nEach category change, rule, budget cap and tracked bill requires approval. Scheduled\nand unattended runs block those writes. Sync contacts Plaid; a billed bank refresh\nalso requires approval. Optional report jobs run subprocesses only after explicit\n`hermes finance crons apply`. The Ask completion bridge delegates to Hermes's\nconfigured model and authentication.\n\nKeys are optional and set through Hermes, or in the Desktop's plugin settings:\n\n```sh\nhermes config set PLAID_CLIENT_ID \u003Cclient id>\nhermes config set PLAID_SECRET \u003Csecret>\nhermes config set PLAID_ENV production        # or sandbox; empty means production\nhermes config set APCA_API_KEY_ID \u003Ckey id>     # Alpaca, live account only\nhermes config set APCA_API_SECRET_KEY \u003Csecret>\nhermes config set APCA_ENV live\n```\n\nUnder the plugin (its tools and its report jobs) the app reads keys only from Hermes.\nIt never opens `secrets.env`, the Hermes `.env` file or the Alpaca key file. A missing\nkey gives \"Plaid not configured in Hermes (...)\". Report jobs set up before this\nchange pick it up after `hermes finance crons apply`. The standalone app is unchanged.\n\n## The three AI modes\n\nAll three use the same 16 `finance_*` tools (`src\u002Fhermes_finance\u002Ftooldefs.py`). A read tool returns exactly what the\nmatching `finance \u003Ccommand> --json` prints. Details: [AI modes](docs\u002Fai-modes.md).\n\n**Hermes plugin.** Follow [Install as a Hermes plugin](#install-as-a-hermes-plugin). Hermes then gets native tools,\na usage skill, and optional daily and weekly report jobs (`hermes finance crons`). The Ask panel can also use Hermes's\nown model, so the app never sees a model key. Writes show Hermes's approval prompt with the change in plain words.\n*Trade-off:* approvals need a person there. In scheduled jobs and on unattended platforms the plugin refuses writes\ninstead of asking.\n\n**MCP server.** `finance mcp` (stdio), or `\u002Fmcp` on `finance serve`, for any MCP client. *Trade-off:* it is read-only\nby default and has no approval prompt of its own. After `finance mcp allow-writes on`, a write is only saved as a\npending action, which you approve in Settings → Connect other agents. On *This computer only*, any local program can\nreach `\u002Fmcp` without a token.\n\n**API key.** Settings → AI provider → API key points the Ask panel at any OpenAI-compatible endpoint (OpenRouter,\nOpenAI, a local Ollama or LM Studio, or your own). *Trade-off:* the app is its own agent harness, running at most 6\ntool rounds per question within a deadline, under a monthly spend cap. Your key lives in the app's secrets file. Your\nquestions and the data the tools read go to that provider. Writes are approval cards in the panel.\n\n## Configuration\n\nEvery key, file and setting the app reads, and in what order, is in [docs\u002Fconfiguration.md](docs\u002Fconfiguration.md).\nIn short: keys go in the secrets file `~\u002F.config\u002Fhermes-finance\u002Fsecrets.env` (the app writes it when you paste keys\ninto first-run setup or Settings; `FINANCE_SECRETS_FILE` moves it), whose values win over the env file\n`~\u002F.hermes\u002F.env` (`HERMES_ENV_FILE`); the data directory is `data\u002F` (`FINANCE_DATA_DIR`); everything else is a\nsetting on the Settings page, kept in the database.\n\n`finance doctor` lists every integration below with what it's missing, offline and without writing anything, and\nexits 1 when something is missing (`--json` for scripts). Each line ends with the section here that fixes it:\n\n```\nmissing plaid: PLAID_CLIENT_ID and PLAID_SECRET not set (...) -> README.md#integration-plaid-banks\nok login\n```\n\n### Integration: Data directory and database\n\nThe SQLite database, `finance.db`, in the data directory (`data\u002F` in the checkout, or `FINANCE_DATA_DIR`), 0600 in a\n0700 directory. `finance status` (or `finance serve`) creates it; every start upgrades an older schema (see\n[Known limitations](#known-limitations)). `finance doctor` reports it missing until it exists, and an error when it\ncan't be read or written or its schema is newer than the code. Back it up with `finance backup` (see\n[Backup and restore](docs\u002Fbackup-restore.md)).\n\n### Integration: Plaid (banks)\n\nBank and card accounts, synced through Plaid. Keys: `PLAID_CLIENT_ID`, `PLAID_SECRET`, and `PLAID_ENV`\n(`production`, the default, or `sandbox` for demo data). Get them from the Plaid dashboard (Developers → Keys), then\npaste them into first-run setup or Settings → Connections → Replace keys, or put them in the secrets file. Read\nthe 10-connection rule above first. Without them the app still runs on manual accounts and imported files. Check:\n`finance doctor` shows `ok plaid`.\n\n### Integration: AI provider (Ask and classification)\n\nThe Ask panel and the daily AI classification. Settings → AI provider picks the mode (`ai.mode`): **Hermes** (the\ndefault: Hermes's own model through the hermes-finance plugin; the app needs the Hermes executable,\n`$HERMES_HOME\u002Fhermes-agent\u002Fvenv\u002Fbin\u002Fhermes` or `FINANCE_HERMES_BIN`), **API** (an OpenAI-compatible endpoint:\n`ai.base_url` and `ai.model` on the page, and the key `AI_API_KEY`, pasted there or put in the secrets file; the\n`local` preset needs no key), or **Off**. Check: `finance doctor` shows `ok ai` (or `off ai` when it's off).\n\n### Integration: Access and login\n\nWho may open the dashboard: see [Security model](#security-model). \"This computer only\" needs nothing. \"Behind your\nproxy login\" needs at least one allowed identity (`finance access allow \u003Clogin>`, `--allow-user` or\n`FINANCE_ALLOWED_USERS`). \"Built-in login\" needs its set-up finished on the Settings page. Check: `finance doctor`\nshows `ok login`.\n\n### Integration: Alpaca (investments)\n\nAn Alpaca live brokerage account, read-only (optional). Create a read-only live API key in Alpaca's dashboard and\npaste it into Settings → Connections → Alpaca (or Add account → Alpaca); the app checks it once and writes its own key\nfile, `~\u002F.config\u002Fhermes-finance\u002Falpaca-live.env` (`HERMES_ALPACA_KEY_FILE`), with `APCA_API_KEY_ID`,\n`APCA_API_SECRET_KEY` and `APCA_ENV=live`. Paper keys are refused. Check: `finance doctor` shows `ok alpaca`.\n\n### Integration: MCP server\n\n`finance mcp` and `\u002Fmcp`, for other agents (optional). Needs the optional `mcp` package: `uv sync --extra mcp`. Switch\nit off in Settings → Connect other agents. Check: `finance doctor` shows `ok mcp` (or `off mcp`).\n\n### Integration: Carfax (car values)\n\nMonthly trade-in estimates of manual vehicles (optional, no key). Switch it on in Settings → Valuations (or\n`CARFAX_ENABLED=1` in the env file). It runs through a local Chrome with remote debugging on `127.0.0.1:9222`\n(`HERMES_CHROME_DEVTOOLS=host:port`, or `off`); see [Car and property values](docs\u002Fguide.md#car-and-property-values).\nCheck: `finance doctor` shows `ok carfax` (or `off carfax` while it's switched off).\n\n### Integration: Redfin (home values)\n\nMonthly Redfin Estimates of manual properties (optional, no key). Switch it on in Settings → Valuations (or\n`REDFIN_ENABLED=1` in the env file). Check: `finance doctor` shows `ok redfin` (or `off redfin`).\n\n### Integration: Photos (car and home pictures)\n\nPictures of cars (Wikimedia Commons) and homes (Redfin's listing photo, else an OpenStreetMap tile), on by default\n(optional, no key). Switch them off in Settings → Valuations (or `PHOTOS_ENABLED=0` in the env file). Set\n`FINANCE_CONTACT` (an email or URL) to put a contact in the User-Agent, as Wikimedia asks. Check: `finance doctor`\nshows `ok photos`.\n\n## Security model\n\n- **Your data stays local.** The database is a file, `data\u002Ffinance.db` (directory 0700, file 0600). Bank access tokens\n  never leave the server: no page or API response includes one, `finance query` reads them as `NULL`, and the redactor\n  scrubs them, and every key, from output and logs. **Download backup** strips every credential.\n- **Keys you paste** go to `~\u002F.config\u002Fhermes-finance\u002Fsecrets.env` (0600) and are never shown again.\n- **Agents can't change things on their own.** MCP is read-only by default, and its writes wait for your approval. The\n  plugin asks before every write. The Ask panel shows approval cards.\n- **Who can open the dashboard** is one of three modes (Settings → Access & security, or `finance access`):\n  - *This computer only* (the default): binds 127.0.0.1, no login, and refuses anything that arrives through a proxy.\n  - *Behind your proxy login*: Tailscale Serve, Cloudflare Access, Authelia or oauth2-proxy signs you in on this\n    machine and passes your identity in a header. Only identities on your list get in.\n  - *Built-in login*: a password (argon2id), a required authenticator app (TOTP) and recovery codes. Sessions are\n    `HttpOnly`, `SameSite=Strict` cookies, every write needs a CSRF token, and 5 wrong tries lock you out for 15\n    minutes.\n- **Fail-closed.** `finance serve` refuses to start when it would be reachable from other devices with nothing\n  protecting it.\n\nEverything that leaves the computer, and when: [Security model](docs\u002Fsecurity.md). The access modes in detail:\n[user guide](docs\u002Fguide.md#access-modes).\n\n## Known limitations\n\n- **Single household, single login.** One database is one household's money, and the app has one owner: there's no\n  multi-user or multi-account (several people with their own data and permissions) support, and no concurrent-session\n  story (two people editing at once are not coordinated beyond SQLite's own locking). These are out of scope.\n- **10 Plaid connections per database, ever.** The cap is fixed in the code at the Trial plan's limit\n  (`config.SLOT_LIMIT`). Every connection ever made counts. Use **Reconnect** for a broken one, never a second\n  connection.\n- **US banks only** in Plaid Link. The currency setting only changes how amounts are written.\n- **Nothing runs on a schedule by itself.** Run `finance sync` from the Hermes jobs, cron or launchd, or tap\n  **Sync now**.\n- **Car and home values scrape free public pages** (Carfax through your own Chrome with remote debugging, and Redfin).\n  They can break or block lookups. Both are off on a new install and capped per month.\n- **Upgrades migrate the schema automatically.** Every command and `finance serve` open the database through\n  `db.connect()`, which runs the migrations when the file's schema version (`PRAGMA user_version`) is older than the\n  code's (`db.SCHEMA_VERSION`). Each step is idempotent and the version is stamped last, so an interrupted upgrade is\n  finished by the next start. **Back up before upgrading** (`finance backup --out PATH`); `finance doctor` says when an upgrade is pending and tries it in memory\n  first.\n- **Downgrades are not supported.** An older version of the code doesn't know a newer schema; `finance restore`\n  refuses a backup newer than the code, and `finance doctor` reports such a database as an error. To go back, restore\n  a backup taken before the upgrade.\n- **Python 3.12** (`requires-python = \">=3.12\"`). The Hermes plugin runs on Hermes's own Python and loads the app from\n  your checkout.\n\n## Tests\n\n```sh\nuv run python scripts\u002Fcheck.py ci        # what CI runs: every test without a browser, plus the privacy scans\nuv run python scripts\u002Fcheck.py full      # everything: the browser tests and the layout \u002F numbers \u002F controls gates\nuv run pytest tests\u002Ftest_reads.py        # one file\n```\n\nTests use synthetic data only: Plaid's HTTP is mocked, real network is blocked, every provider is off\n(`HERMES_PLAID=off`, `HERMES_ALPACA=off`, `HERMES_CHROME_DEVTOOLS=off`) and `scripts\u002Fcheck.py` strips anything named\nlike a credential from the environment. The browser tests and the gates drive headless Chrome (`HF_CHROME` names the\nbinary when it isn't found) and are skipped without one. How the suite and the gates are organized:\n[Contributing](docs\u002Fcontributing.md).\n\nThe privacy scanner, `scripts\u002Fdehardcode.py`, keeps personal data out of the code, the fixtures and every shipped\nfile; install its pre-commit hook with `scripts\u002Finstall-hooks.sh` ([docs\u002Fdehardcode.md](docs\u002Fdehardcode.md)).\n\n## Built with\n\nPython 3.12's standard library, plus `argon2-cffi` (the built-in login's password hashes) and `ofxtools` (OFX and QFX\nimport). Optional extras: `mcp` (the MCP server) and `photos` (background removal for car photos). The one front-end\nlibrary, Chart.js v4.5.1, is vendored at `src\u002Fhermes_finance\u002Fstatic\u002Fvendor\u002Fchart.umd.min.js`, MIT license alongside\n(sha256 `48444a82d4edcb5bec0f1965faacdde18d9c17db3063d042abada2f705c9f54a`). The only script loaded from elsewhere is Plaid Link.\n\n## Contributing\n\nSee [Contributing](docs\u002Fcontributing.md). The working rules for people and coding agents are in [CLAUDE.md](CLAUDE.md)\nand [AGENTS.md](AGENTS.md).\n\n## License\n\n[AGPL-3.0-or-later](LICENSE). hermes-finance is a personal project, shared as is, with best-effort support.\n","Hermes-finance 是一个可自托管的个人财务仪表盘，用于本地化管理银行账户、交易、预算与财务目标。它通过 Plaid 同步银行数据，支持 OFX\u002FQFX\u002FCSV 手动导入，使用 SQLite 本地存储；内置 AI 代理（基于 MCP 协议）仅在用户明确授权后执行写操作，其余时间保持只读。提供分类记账、预算追踪、净财富统计及账单\u002F贷款\u002F投资可视化功能。适用于注重数据隐私、已有本地 AI 工具链（如 Hermes Agent）的技术用户，或希望完全掌控财务数据而不依赖云服务的个人投资者与极客用户。",2,"2026-11-24 04:40:49","CREATED_QUERY"]