Computers and Software

How Do You Build a Google Sheets Expense Tracker with Jev and No LLM?

How I Built an AI Expense Tracker (Without an LLM) | Google Sheets with Jev + Composio

Video: How I Built an AI Expense Tracker (Without an LLM) | Google Sheets with Jev + Composio

· based on the channel Agentic AI Hub

You build a Google Sheets expense tracker with Jev by splitting the job in two: plain Python regex extracts the amount, currency, date and merchant from a short note or a pasted bank-statement row, and Jev (TypeSafe System One) only classifies, scores and routes each entry — category, billing cycle, and whether to append, update or review. Composio's Google Sheets tools do the actual writes, and no LLM key is involved anywhere. The complete pipeline is available as a free SubScout Colab notebook that you can copy, connect to your own sheet and run.

What the no-LLM Google Sheets with Jev pipeline actually does

The notebook turns a five-step pipeline into a repeatable loop: take input, parse it, decide what it is, decide what to do with it, then write or hold. Each step is handled by the cheapest tool that can do it reliably, which is why the system never needs a model that generates prose.

  1. Input. You either type a short note ("Spotify 10.99 monthly") or paste rows copied from a bank statement.
  2. Parse. Python regular expressions pull out the amount, the currency symbol or code, a date if one is present, and the merchant string. This is deterministic string work, so it is fast and costs nothing.
  3. Classify. Jev receives the parsed fields and returns a structured decision: category (streaming, software/SaaS, utilities, and so on), billing cycle (monthly, annual, one-off), and a confidence score.
  4. Route. Jev also decides the action — append a new row, update an existing row when the entry matches a merchant already in the sheet, or send the entry to review when the match is ambiguous.
  5. Write. Composio's Google Sheets tools execute the planned action against your spreadsheet. Jev itself never touches the sheet.

The important constraint is the division of labour. Jev does not parse text and does not write rows. Sorting spend is a classification problem with a small, fixed set of answers, and that is exactly the kind of task where a type-safe system beats a large language model on cost, latency and predictability.

Setup: two keys, one sheet, and DRY_RUN switched on

Getting SubScout running takes about as long as connecting any other API-backed notebook, because the only credentials are a Jev key and a Composio key plus a Google Sheet you own.

  1. Open the Colab notebook from the link above and make your own copy so your edits and keys stay private.
  2. Create a Jev API key and paste it into the notebook's configuration cell.
  3. Create a Composio account, add the Google Sheets integration and authorise it against the Google account that holds your tracker spreadsheet.
  4. Put the spreadsheet ID into the config cell and create the header row the notebook expects (date, merchant, amount, currency, category, billing cycle, action).
  5. Leave `DRY_RUN` set to its default value of on, and run the cells.

DRY_RUN is the safety feature that makes the first run useful rather than risky. With it enabled, the notebook plans every write, prints what it would do, and sends nothing to the sheet. You see the parsed fields, the category Jev picked, the billing cycle and the routing decision for each entry before a single cell changes. Only when the plan looks right do you flip the flag and re-run.

Reading the dry run: 11 entries, 11 decisions

The dry run in the walkthrough processed 11 entries and produced three updates, five appends and three reviews, which is a realistic mix for a first pass over a month of spending.

  • Appends (5) are genuinely new merchants or one-off purchases that have no counterpart in the sheet.
  • Updates (3) are entries whose merchant matched a row already present, so Jev routed them to update rather than duplicate — this is the near-duplicate matching that keeps a subscription from appearing twice under slightly different names.
  • Reviews (3) are entries Jev could not confidently place. They are deliberately not written: they stay in the output for you to resolve by hand, which is the correct behaviour for anything ambiguous.

The money side of that same dry run is the part that makes the tracker worth keeping. Recurring spend came to USD 242.96 a month, broken down as streaming 40.97, software/SaaS 116.99 and utilities 85.00. One-off spend was USD 25.15. Because the billing cycle is a classified field rather than a guess buried in a note, the monthly recurring total is a simple filter over the sheet instead of a manual tally.

What Jev cannot do, and why that is the point

Jev is a classifier and router, not a parser and not a writer, so it will not read a messy PDF statement for you and it will not invent a category that is not in your taxonomy.

That limitation is what keeps the system honest. Anything requiring free-form reasoning — interpreting an unusual bank description, splitting a shared bill, deciding whether a charge is a duplicate of a different amount — lands in the review queue rather than being silently guessed. The regex layer handles the mechanical extraction, so if a statement row uses a format your patterns do not cover, you extend the pattern instead of hoping a model infers it. The category list is yours to edit; Jev's job is to pick from it consistently, which is what makes the monthly view stable from one run to the next.

The monthly view itself is ordinary spreadsheet work: sum the amount column where the billing cycle is monthly, group by category, and compare against the previous month. The value the pipeline adds is that every row arrives already categorised and de-duplicated, so the summary is accurate without cleanup.

How this differs from the n8n and OpenAI expense agent

The no-LLM design is a direct response to the popular n8n plus OpenAI agent pattern for logging expenses to Google Sheets, where a language model reads the message and decides what to write.

That approach works, but it puts a generative model in the path of every trivial entry, which means per-entry cost, variable latency and non-deterministic output for a task with a handful of correct answers. SubScout keeps the same user experience — type a note, get a row — while replacing the model with regex for extraction and Jev for classification. The result is a tracker you can run over hundreds of statement rows without watching a token bill, and whose behaviour you can predict because the parsing rules are visible in the notebook.

The trade-off is scope. The n8n agent can handle conversational, unusual phrasing; SubScout handles the formats you have written patterns for and routes the rest to review. For personal expense tracking, that is usually the right trade.

The takeaway for your own tracker

SubScout shows that a useful AI expense tracker does not need a large language model at all: regex does the extraction, Jev does the classification and routing, and Composio does the writing, with DRY_RUN standing between the plan and your spreadsheet. The numbers from the 11-entry dry run — 3 updates, 5 appends, 3 reviews, USD 242.96 of recurring spend and USD 25.15 one-off — are a realistic picture of what a first pass produces. Start with the Colab notebook, run it in dry mode against a month of your own statements, and only then let it write. The video breakdown was produced by the Agentic AI Hub channel, which also publishes the free A-Z of Agentic AI book linked above.

Key takeaways

  • SubScout parses notes and bank rows with Python regex and uses Jev (TypeSafe System One) only for classification, scoring and routing — no LLM key is required.
  • Composio's Google Sheets tools perform every write; Jev never parses text and never writes to the sheet itself.
  • DRY_RUN is on by default: in the 11-entry dry run Jev planned 3 updates, 5 appends and 3 reviews, and reviews are never written.
  • Recurring spend in that dry run totalled USD 242.96 a month (streaming 40.97, software/SaaS 116.99, utilities 85.00); one-off spend was USD 25.15.
  • The whole pipeline runs in a free Google Colab notebook with two API keys and a connected Google Sheet.

Questions & answers

Do I need an OpenAI or other LLM API key to run SubScout?

No. The notebook uses Python regex for parsing and Jev for classification and routing, and Composio handles the Google Sheets writes. The only credentials are a Jev key and a Composio account connected to Google Sheets, so there is no LLM key and no per-token cost.

What happens to entries that Jev is unsure about?

They are routed to review and are not written to the sheet. In the 11-entry dry run, 3 of the 11 entries went to review while 5 were appended and 3 updated existing rows. You resolve the review items manually, which keeps ambiguous charges out of your totals.

What is DRY_RUN and should I turn it off?

DRY_RUN is a flag that is on by default. While it is on, the notebook plans every action and prints it but sends nothing to Google Sheets. Turn it off only after you have checked the parsed amounts, categories and routing decisions in the printed plan and are happy with them.

How does the tracker avoid duplicate subscription rows?

Jev matches near-duplicate merchant names against rows already in the sheet and routes a match to an update instead of an append. That is how the dry run produced 3 updates alongside 5 appends, and it is what stops the same streaming or SaaS charge from being counted twice in the monthly recurring total.

Source: How I Built an AI Expense Tracker (Without an LLM) | Google Sheets with Jev + Composio · Markdown version

Read next