Turn your AI agent into a bookkeeper for a small business

A small business owner made a CLI that lets an AI agent keep simple books.

Difficulty
IntermediateOur rating
Time to build
Not reportedOur estimate
Monthly cost
Not reported
Revenue
Not reportedWe only show revenue the source states
Engagement
8 HN points0 comments Β· fetched Oct 15, 2026

What they did

kvisner owns a small tech business with 10-30 transactions a month and built Magpie, a CLI that turns an agent into a bookkeeper.

How it went

Released open source.

Worth knowing

Have an accountant review year-end figures.

Builder recipe

Our own starting point, written from the source. Adapt it to your setup.

Stack

  • Magpie CLI
  • Any coding agent
  • Bank CSV exports

Steps

  1. Connect or export your financial data.
  2. Have the agent categorize and summarize it.
  3. Check the numbers against your statements.
  4. Schedule recurring reports.

Starter prompt

Import this month’s bank CSV, categorize each transaction, flag anything unusual, and produce a profit and loss summary.

Open the repo β†— (opens in new tab)

Tags

Read the original

Related use cases

The Daily 5.

Five real AI agent use cases each morning, each with a recipe and a source. Plus a Sunday roundup. Free.