Multi-page expense tracker with AI predictions, one prompt.

By Gencay

Published: 2026-01-21

URL: https://www.learnwithmeai.com/p/your-banking-app-wont-show-you-this


Excel spreadsheets don’t warn you when you’re overspending.

Banking apps show what you spent.

They don’t show what you should have spent.

So I built my own expense tracker.

Multi-page dashboard. AI predictions. Took me 30 minutes.

No coding required. Using only prompts.

Let me show you what it does, then I’ll show you how to build it.

What We’re Building

A multi-page Streamlit dashboard with 5 sections:

1. Overview

Your financial snapshot. Total expenses, date range, key metrics at a glance.

2. Dashboard

Where does your money go? Category breakdown with pie charts. Monthly spending with bar charts.

3. History

How is your spending changing? Weekly and monthly trends. Line charts that show if you’re improving or slipping.

4. Predictions

What will you spend next month?

Prophet forecasts your future expenses with confidence intervals. No guessing.

5. AI Counselor

Ask anything about your finances. “Where can I cut back?” “Am I on track this month?” “What’s my biggest problem?”

The AI knows your data and gives personalized advice.

Fast-forward to what it looks like.

The Stack

  • Claude Code: builds the entire app from one prompt
  • Streamlit: the UI framework
  • Prophet: Meta’s forecasting library for predictions
  • Plotly: interactive charts
  • Claude API: powers the AI Counselor
  • Antigravity: IDE Editor

You don’t need to know any of these.

Claude Code( or Codex) handles it.

After sending my initial prompt, I filled my coffee and watched how it started!

Before starting the article, I’ve added more subscription types so you can read only the articles here by paying less.

LearnAIWithMe Paid Perks

The standard subscription ($12/mo or $100/year) gives you full access to all my articles and posts on Substack

The Founding Member tier ($200/year) includes everything above PLUS access to The Vault, 700+ prompts, projects, AI tools, and AI labs.

Step 1: Prepare Your Data

You need a CSV with your expenses. Minimum columns:

  • Date
  • Amount
  • Category (optional but recommended)
  • Description (optional)

If you don’t have one, export from your bank or use a sample dataset from Kaggle.

Save it somewhere accessible.

Copy the path of this file.

Step 2: The Prompt

Open Claude Code (in Antigravity or terminal) and paste this:


I have an expense dataset at [YOUR CSV PATH]
First, analyze this CSV:

- Show me the columns and their data types

- Show sample rows

- Identify date columns, amount columns, and category columns
Then build a multi-page Streamlit expense tracker app with these 5 pages:
1. Overview - Summary stats, total expenses, date range, key metrics cards
2. Dashboard - Category pie chart, monthly breakdown bar chart
3. History - Weekly/monthly spending trend line chart, show how expenses change over time
4. Predictions - Use Prophet to forecast next weeks/months expenses, show forecast chart with confidence intervals
5. AI Counselor - Chat interface where user can ask questions about their spending. The AI should have access to all expense data and give personalized financial advice.
Requirements:

- Modern, clean UI

- Use Plotly for interactive charts

- For AI Counselor, use Anthropic Claude API

- Save the app in [YOUR PROJECT FOLDER]

Replace [YOUR CSV PATH] and [YOUR PROJECT FOLDER] with your actual paths.

Step 3: Watch It Build

Claude Code will:

  1. Read and analyze your CSV
  2. Detect columns automatically
  3. Create the folder structure
  4. Write all the Python files
  5. Set up the multi-page Streamlit app
  6. Add Prophet for predictions
  7. Wire up the AI Counselor

You just watch.

Step 4: Run It

After Claude Code finishes its task, tell it to run the app, just like that.

What Each Page Does?

Let’s see each page.

Overview

Quick stats: total spent, average daily, date range, transaction count.

The “at a glance” page you check every morning.

Dashboard

The category pie chart shows where money goes.

The monthly bar chart shows the spending rhythm.

This answers: “What am I spending on?”

History

Line chart of weekly/monthly totals over time.

This answers: “Am I getting better or worse?”

Predictions

Prophet analyzes your patterns and forecasts next month. Confidence intervals show the best/worst case.

This answers: “What should I expect?”

AI Counselor

Chat interface. Ask anything:

  • “Where should I cut back?”
  • “Compare this month to last month.”
  • “What’s my biggest expense category?”
  • “Will I exceed $3000 this month?”

The AI has your full expense history as context.

Debug & Customization

You can debug or do customization using Claude Code(left), Antigravity(right) or Agent Manager.

How?

On the left, Claude Code is running, and you can also give another task to the right, and it can do while Claude Code is also doing its job.

Agent Manager

You can also do more than one task using Agent Manager by clicking on the “Open Agent Manager”.

Here, give any task you want, and it’ll start doing while you are also building via Claude Code inside the extension or with Antigravity in the previous screen.

To be able to reach here, you have to click on “Agent Manager”, here.

More tutorials

The Bigger Picture

This isn’t about expense tracking.

It’s about building tools that fit your workflow.

Not adapting to someone else’s app.

You have data. You have Claude Code. You can build exactly what you need.

Expenses today. Client dashboard tomorrow. Personal CRM next week.

The skill is the same: describe what you want, let AI build it.