◀ Back to my room

Side projects

Poco, a smiling planet mascot

Poco

A bookkeeping agent that lives in iMessage. Text “lunch 120” and it's logged.

iMessageAI agentTraditional Chinese

Poco reads Traditional Chinese, and works on iPhone through iMessage.

Why I built it

Most expense apps ask you to open an app, pick a category and type a number. It only takes a few seconds, but it's enough friction that people stop logging after a week.

Poco lives where you already are: your Messages app. Say it the way you'd tell a friend, like “昨天跟朋友吃火鍋花了八百五” (hot pot with friends yesterday, 850). Poco works out the amount, date and category, saves it, and replies with your running total.

No app to install, no sign-up. Each phone number gets its own private ledger. The fastest way is the keyboard's voice typing: say “午餐一百二” and hit send.

Language to the model, math to the code. Gemini only understands the sentence; every total is added up by the database, so the numbers are never “hallucinated”.

How to use it

  1. Save Poco as a contactOpen the invite page on your iPhone and tap the button to add Poco, avatar included.
  2. Pin the chatIn Messages, swipe right on Poco's chat and tap the pin, so Poco sits at the top.
  3. Text what you spent“午餐 120”, “咖啡 100 泰銖”, “晚餐 800/2”. Replies arrive within about a minute in the free test version.

What you can send

SendWhat happens
午餐 120 咖啡85Logs it and replies with today's and this month's total
捷運卡加值五百Plain language: Poco picks out the amount, date and category
拉麵 1200円 Uber 12.5 USDConverts 13 foreign currencies to TWD with daily rates
晚餐 800/2 披薩 900 3人平分Splits the bill and logs your share
總計 明細Totals for today, this month and all time; your last 10 entries
刪除 刪除 2Deletes the last entry, or a specific one

A quick chat

Poco
午餐 120
記下:午餐 $120 今天 $120|本月累計 $1,350
昨天跟朋友吃火鍋花了八百五
記下:昨天 火鍋 $850(餐飲) 今天 $120|本月累計 $2,200
咖啡 100 泰銖
記下:咖啡 100 泰銖 ≈ $93

Sample conversation from the README

Under the hood

iPhoneiMessage▶ Sendbluemessage gateway▶ Cloud RunPython backend▶ Geminiunderstands the sentence▶ Neon Postgresstores and totals

If Gemini times out or runs out of quota, Poco falls back to simple rules, so nothing gets lost. The same message is never logged twice, and “today” and “this month” follow Taipei time.

As a data analyst, I measure it like a product. Every message leaves a trace (which path it took, who parsed it, how long it took), and a 115-case test set checks each change before it ships.

97.4%task success on the 115-case test set (every field right), up from 89.6% after two fixes
100%precision: budgets, income and refunds are no longer logged as spending
p = 0.004the improvement is statistically significant, with no case made worse
PythonFastAPIGemini APIPostgres (Neon)Google Cloud RunSendblueOffline evalsTracing