Tom EberleAI product builder

Writing ·

My AI agent now does my company's accounting. I just approve.

The dougs-cli card: unofficial CLI for the Dougs accounting platform, built for AI agents. npm i -g dougs-cli

Dougs, my French accounting software, had no public API, no MCP, no CLI.

So I built one and open-sourced it.

Before that, my agents did my books through hacky Python scripts and a session cookie copied from Chrome that expired every few weeks.

The CLI was built by one Opus agent while another reviewed every change. 245 tests, idea to npm in about 30 hours.

Then I let it work on my real books.

In one afternoon:

  • uncategorised operations: 183 → 4
  • 22 missing invoices pulled from Gmail and attached
  • ~60 changes written to Dougs
  • 3 overdue VAT returns surfaced

What I use it for

1. VAT on foreign software

Meta ads, Claude, Google Cloud, Hostinger: their invoices say reverse charge, but they kept getting booked with deductible French VAT. Before my VAT refund claim, my agent went through all 34 invoices and fixed every one booked wrong.

2. Missing receipts

“Find my invoices in Gmail and attach them in Dougs.” It reads the business inbox (read-only), pulls the PDFs, matches each one to its bank line by amount, date and vendor, and shows me the list before uploading anything.

3. Weird transactions

A subsidy tranche, money received and sent straight back, a payment from a foreign client. The agent asks me once, books it properly, and writes the treatment down so next month it’s automatic.

4. Money questions

“How much do we spend on Convex per month?” “We’re scaling down. Which subscriptions should we pause?” Answered from the actual ledger, with the operations behind the number.

Guardrails

Nothing reaches Dougs until I approve the plan. Months with a filed VAT return are never touched, every write is read back and checked, and the password only goes to Dougs. It doesn’t file the VAT return or replace the accountant. It does the legwork.

Try it

Open source, MIT:

npm i -g dougs-cli

Then ask your agent: “Help me do my accounting with npm i -g dougs-cli and tell me what needs attention in my books.”

Code: github.com/tom-eberle/dougs-cli. Unofficial, not affiliated with Dougs.

First posted on X on 14 October 2026 · See the original post

More writing

All 5 articles →