OpenArgentum

OpenArgentum

OpenArgentum

A self-hosted, AI-powered personal finance manager. No account, no cloud sync, no telemetry — you run it, you own your data.

For people who check in on their finances every few weeks — not every day.
Dump in your statements, then let Aurelia make sense of it all.

License: AGPL-3.0 GitHub stars

GitHub Repository  ·  Getting Started  ·  Report an Issue

OpenArgentum Dashboard with Aurelia AI assistant


Quick Start

You need: Python 3.11+, Node.js 20.19+, and a Google Gemini API key (or existing Google Cloud Application Default Credentials). Use a paid-tier key for real financial data — see Configuration for why.

git clone https://github.com/amithmathew/OpenArgentum.git
cd OpenArgentum
./start.sh

Open http://localhost:8099 and the onboarding wizard will walk you through setup.

That’s it. start.sh creates a Python virtual environment, installs all dependencies, builds the app, and starts the server. See Getting Started for a detailed walkthrough.


Explore with Sample Data

OpenArgentum ships with a demo database of realistic (synthetic) transactions and a sample statement, so you can evaluate it before pointing it at your own finances.

Look around now — no API key:

  1. Launch the app (or run ./start.sh --demo to boot straight in).
  2. Browse the dashboard, transactions, projects, and charts with pre-loaded data.

Browsing makes no external calls and needs no key. Any changes reset when you restart.

Try the AI features — add a key, use our sample:

The signature features — statement import and the Aurelia assistant — call Gemini, so they need an API key. To test them without touching your real data, add a key and import the bundled demo/sample_statement.pdf. It’s synthetic, so a free key is fine for this — watch OpenArgentum extract and categorize every transaction, then ask Aurelia about it.

From demo to your own data:

Done looking around? The way out depends on how you got in:

Either way, the demo data stays put in demo.db if you ever want it back. Before importing real statements, see Configuration — Google recommends the paid terms if personal information is involved.


Import Your Statements

Drop your bank and credit card statements into OpenArgentum and let AI do the rest.

Import a bank statement and watch AI extract transactions


Meet Aurelia

Aurelia

Aurelia is your AI finance assistant. She lives inside OpenArgentum, has direct access to your data, and can answer questions, build charts, and make changes – all through conversation.


Aurelia isn’t a chatbot bolted onto a dashboard — she’s the primary interface. She has a full analytical loop: she can query and aggregate your transactions, compare periods, generate charts inline as you talk, navigate you to the filtered transaction view, write and search notes on transactions, and make bulk edits with your approval.

This matters most when you’re doing archaeology. If you only look at your finances every few weeks, you’re facing a pile of transactions with no memory of what half of them were. Static dashboards only answer questions you anticipated when you built them. Aurelia answers the question you just thought of:

“I travelled to Japan in early May — find transactions in that period that are in yen or look travel-related, and assign them to a Japan trip project.”

She reasons about which transactions qualify, makes the changes with your approval, and drops you into the filtered view when she’s done.

Ask anything about your money

“How much did I spend on dining out last quarter?”

“Show me my grocery spending by store over the last 3 months”

“What’s my average monthly grocery bill?”

Aurelia queries your data, summarizes the answer, and renders charts right in the chat.

Ask Aurelia about grocery spending and get a chart

Understand your spending patterns

“Why were my January expenses so much higher than December?”

“Compare my essential vs discretionary spending this year”

Aurelia breaks down the numbers, highlights what changed, and explains why.

Aurelia analyzes spending changes between months

Make bulk changes safely

“Tag all my Ticketmaster expenses as Impulse and move them to discretionary”

“Create a project called ‘Home Renovation’ and add all Home Depot transactions”

Aurelia shows you exactly what will change and waits for your approval. Every change can be undone with one click.

Aurelia proposes bulk changes with approval workflow

Conversation memory

Aurelia remembers your past conversations. Pick up where you left off, or start a new chat anytime.


Dashboard & Analytics

See where your money goes at a glance.

Transaction Management

Every transaction at your fingertips.

Categories, Tiers & Tags

Organize your spending the way that makes sense to you.

Projects & Budgets

Track spending against goals.

Themes

Eight built-in color themes.

Light: Mist, Rose, Sage, Ember, Ocean, Slate – Dark: Nightfall, Aurora

Access from Your Phone

Run with ./start.sh --headless to access OpenArgentum from any device on your local trusted network. A PIN is generated automatically to keep things secure. The UI is fully responsive with touch-optimized controls, so it works just as well from your phone.


Privacy & Security

OpenArgentum stores everything locally and reaches out to exactly one external service, on purpose.

Sending your data to Google Gemini

To read and categorize your statements, OpenArgentum sends the files you import to Google’s Gemini API. Google’s data protection terms differ by billing tier:

Ultimately, this is your call. Pick the option you’re comfortable with, and review Google’s current terms before you commit.

Sources: Gemini API Additional Terms · Data logging policy · Vertex AI data governance

OpenArgentum is an independent, open-source project. It is not affiliated with, endorsed by, or sponsored by Google. Google, Gemini, Google Cloud, and Vertex AI are trademarks of Google LLC.


Updating

Your data is safe across updates. Pull the latest code and restart:

git pull
./start.sh

Your database, config, and uploaded files live in the data/ directory which is never touched by git. Database migrations run automatically on startup.


Configuration

API Key Setup

For real financial data, Google recommends their paid data terms — see Sending your data to Google Gemini above for why. Both options below work; enabling Cloud Billing on your key’s project (Option A) or using Google Cloud credentials (Option B) puts you on the paid terms.

Option A: API Key

  1. Get a key from Google AI Studio
  2. Enter it during onboarding, or later on the Settings page
  3. For paid data terms, enable Cloud Billing on the key’s Google Cloud project. Without billing, the key uses the Unpaid tier.

Option B: Google Cloud credentials (Vertex AI) — enterprise data terms

  1. Install the Google Cloud CLI
  2. Run gcloud auth application-default login
  3. Select “Application Default Credentials” during onboarding

Environment Variables

Variable Default Description
GOOGLE_API_KEY Gemini API key (can also be set through the UI)
GEMINI_MODEL gemini-2.5-flash Gemini model to use
PORT 8099 Server port

Most users won’t need these – the UI handles everything.

Command Reference

./start.sh                         # Start the app
./start.sh --demo                  # Boot into the demo database (no key, no onboarding)
./start.sh --dev                   # Development mode with hot reload
./start.sh --headless              # Enable network access (auto-generates PIN)
./start.sh --headless --pin 1234   # Network access with a specific PIN
./start.sh --help                  # Show all options

Developer Details

Architecture

openargentum/
  start.sh              # One-command setup and launch
  run.py                # Server entry point

  backend/              # Python + FastAPI
    app.py              # App init, auth middleware, routing
    config.py           # Paths, env vars, config helpers
    database.py         # SQLite schema and migrations
    models.py           # Request/response models
    routers/            # REST API endpoints
    services/           # Gemini client, ingestion, categorization,
                        #   chat tools, mutations

  frontend/             # React + Vite + TailwindCSS
    src/
      pages/            # Dashboard, Transactions, Categories,
                        #   Projects, Import, Settings
      components/       # ChatPanel (Aurelia), OnboardingWizard,
                        #   AppLogo, InstitutionIcon
      hooks/            # useIsMobile

  data/                 # Created at runtime (gitignored)
    finance.db          # SQLite database
    config.json         # App configuration
    statements/         # Uploaded files
    snapshots/          # Database snapshots
    sandboxes/          # Aurelia analysis sandbox DBs

Tech Stack

Backend: Python 3, FastAPI, SQLite, google-genai SDK, pdfplumber

Frontend: React 19, Vite, TailwindCSS, Recharts, TanStack React Query

AI: Google Gemini 2.5 Flash

Development

./start.sh --dev

This starts the Vite dev server with hot module replacement and the backend with auto-reload. The Vite dev server proxies /api requests to the backend.


License & Project Model

OpenArgentum is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

Contributions are welcome — they require signing our Contributor License Agreement (a one-time comment on your first pull request). See LICENSE_FAQ.md and CONTRIBUTING.md.


Disclaimer

OpenArgentum is a personal bookkeeping and analysis tool — not financial, investment, tax, accounting, or legal advice. AI-generated categorizations and insights can be incomplete or incorrect; always verify against your original statements and consult a qualified professional before making financial decisions.