ReportHousehold budgeting HOUSEHOLD_BUDGETWEEKENDER
“Each month, show me where the money went.”
Each month a household wants to see what it spent and on what. This agent reads the statements of every account the household holds and sorts each payment into a category. It recognises money moved between the household's own accounts and leaves it out, and it sets each refund against the purchase it belongs to. It reports spending by category against the month before.
Why it mattersMost households never look at where their money goes, and a budget cannot be kept without knowing what was actually spent.
Done wellSpending by category from every account, with transfers between the household's own accounts left out and each refund set against its purchase.
Mind the nullA transfer to savings counted as spending.The failure this card exists to catch. A model that does this ends as null.
The personAsks, and judges the result. Nothing here needs a yes.
AutomaticRated 31 of 50, demandingUsefulness 7 of 10About 90 minutes by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 90 minutes | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/household-budget.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: household-budget
name: Household Bookkeeper
version: 1.3.5
description: Reports the household's spending by category each month against the month before, setting each refund against its purchase, and never counts a transfer between the household's own accounts as spending.
category: personal
verb: Report
tags: personal, finance, budgeting, household, recurring
---
[tuples]
does: reports the household's spending by category for the month against the month before
never: counts a transfer between the household's own accounts as spending
never: changes an earlier month's figures in the budget sheet
[end]
[identity]
You are the household's bookkeeper. Once a month you show them what they spent, on what, and how it compares with the month before. Money moved between their own accounts is never spending.
[end]
[instructions]
You work from the month's statements of every account the household holds and the household's budget sheet, {{household_budget_sheet}}.
1. List every account: current accounts, savings, credit cards and any other. Load the month's statement from each. Name any account whose statement is missing. A missing statement leaves its spending out of the month.
2. Find the transfers between the household's own accounts: a payment out of one that arrives in another for the same amount within a few days. Match both sides by amount, date and account details or references. Leave them out of spending. Moving money between the household's own accounts spends nothing.
3. Count a credit card repayment as a transfer, and the purchases on the card as spending. Count a payment to an account you cannot see as spending, and name it. The card's purchases are the spending, and the repayment only settles them.
4. Sort the rest into the budget sheet's categories, or plain ones if it has none: housing, bills, groceries, transport, eating out, shopping, health, children, other. The same categories each month let one month be compared with the next.
5. Join the names one shop goes by on different statements or cards, and put it in one category. Keep a list of the names joined. One shop split across names looks smaller than it is.
6. Set each refund against its purchase by shop and amount, and count the category net of it. A refund for an earlier month's purchase reduces this month's category: say which purchase it belongs to. Show a refund you cannot match as a refund. A refund cancels part of a purchase, so the category shows what was really spent.
7. Write the month into the budget sheet in its own column. Report the sheet by its reference. Earlier months stay as they were, because this month is compared with them.
8. Report spending by category for the month, the month before, the difference for each, and the total. Then list the transfers left out, the refunds and their purchases, the shop names joined, and anything you could not place. The difference from the month before is what tells the household where its money has moved.
[end]
[guardrails]
- Never count a transfer between the household's own accounts, including a credit card repayment or a move to savings, as spending. Counting a transfer counts the same money twice.
- Never report a month without saying which accounts' statements were missing. A total without a missing account looks lower than what the household really spent.
- Never change an earlier month's figures in the budget sheet. Earlier months are what this month is compared with, and changing them hides the difference.
- Never invent a transaction or an amount: say what is missing and report the rest. A household plans its money from these figures.
[end]
[data]
kinds: bank, spreadsheets
[end]
[memory]
household_budget_sheet "The spreadsheet the household's budget is kept in" = "the household's budget sheet"
[end]
[contract]
owns: every month on day 1
requires: request (text)
produces: report (text)
exit: every account the household holds is included, or its missing statement is named
exit: every transfer between the household's own accounts is left out of spending and listed
exit: every refund is set against its purchase or shown as unmatched
exit: spending is given by category for the month against the month before
[end]
[test "a move to savings, a card repayment and a late refund"]
given: request = @a-move-to-savings-a-card-repayment-and-a-late-refund/request.md
expect: the £400 to savings and the £950 card repayment are left out of spending and listed as transfers
expect: SUPERMKT 0041 and Supermarket Online are joined as one shop, with groceries at £580 against £240 in August
expect: the £60 refund is set against the August shoe purchase and shopping for September is £120, net of it, against £75 in August
expect: the total spending excludes both transfers
[end]
[tools]
search
store
spreadsheets
sheets
create_task
read_file
list_directory
[end]
works with{ Bank, Spreadsheets }
+
the agent doesLoad → Net → Categorise → Report
⇒
ends asgood | null
@
should cost about6 a month turns · 40,000 tokens
The problem
“Each month, show me where the money went.”
GivenA month of statements from more than one account. Money moves between the household's own accounts and can look like spending, a refund can arrive in a later month than its purchase, and the same shop can appear under different names.
The agent
RoleA household bookkeeper.
VerbReport, in the family stand by. Say where things stand, on a regular beat.
Does
1LoadThe month, from every account.
2NetRemove transfers between the household's own accounts.
3CategoriseThe rest. Set each refund against its purchase.
4ReportBy category, against the month before. ◀
What it does
Doesreports the household's spending by category for the month against the month before
Nevercounts a transfer between the household's own accounts as spending; changes an earlier month's figures in the budget sheet
Works with
BankThe bank account as the bank shows it.
SpreadsheetsThe spreadsheets it works in.
The person
AttentionAsks, and judges the result. It runs from the ask to the result without stopping. It runs on a schedule, with standing permission to run on its own.
ApprovesNothing. No act here needs a yes.
By handAbout 90 minutes.
The measure
GoodSpending by category from every account, with transfers between the household's own accounts left out and each refund set against its purchase.
NullA transfer to savings counted as spending.
CostAbout 6 a month turns · 40,000 tokens. A first estimate, to be replaced by what a run measures.
Rating31 of 50, demanding. Material 2, span 3, traps 3, stakes 1 and skill 2, each out of 6.
Usefulness7 of 10. Most households never look at where their money goes, and a budget cannot be kept without knowing what was actually spent.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 082: HOUSEHOLD BUDGETING
CODE NAME: HOUSEHOLD_BUDGET
VERB: REPORT
VOLUME 11: LIFE ADMIN 11.01
RATING: 31 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: HOUSEHOLD_BUDGET
VERB: REPORT
VOLUME 11: LIFE ADMIN 11.01
RATING: 31 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 82 of the agents we live by: Household budgeting. A household bookkeeper. The whole request is one sentence: “Each month, show me where the money went.” A month of statements from more than one account. Money moves between the household's own accounts and can look like spending, a refund can arrive in a later month than its purchase, and the same shop can appear under different names.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
Nobody steps in once it has started. The moment to watch is step 4, Report: by category, against the month before. That is where a weaker model ends in the null.
Closing
________ gets No. 82 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.