Skip to main content

The 2026 agent accounting guide

Find the right accounting tool for your AI agent.

Five tools. Seven workflow criteria. Start with where your books live and what your agent needs to do.

Five tools. Five different fits.

This order prioritizes agents that draft ledger changes: observed preview and repeat-safe imports, then documented workflows, then cloud access and read-only tools. Choose the fit for your books.

  1. hledger

    Free, open source

    Documentation reviewed

    Local plain-text accounting with a documented dry-run and idempotent import workflow, maintained since 2007.

    Best for:

    Plain-text scripting veterans who want local double-entry without a new platform.

    Strengths

    • Documented import with a dry run plus idempotent re-import
    • Local journal files — no accounts, no cloud
    • Reports to terminal, HTML, CSV, JSON or SQL

    Trade-offs

    • The agent path is the documented CLI, not an observed agent run
    • Plain-text setup suits technical users most
  2. Xero

    Cloud ledger · developer account and OAuth required

    Documentation reviewed

    Official MCP server, CLI and agentic SDK with read and write tools, scoped by OAuth grants against your Xero org.

    Best for:

    Agents operating inside an existing Xero organisation.

    Strengths

    • Official read and write tools: invoices, contacts, payments, journals and more
    • LLM-oriented TOON output alongside JSON and CSV
    • Mature developer program with a demo company for testing

    Trade-offs

    • Needs a Xero account, developer credentials and granted scopes
    • Preview-before-write is unverified in the sources checked
  3. QuickBooks Online

    Cloud ledger · Intuit developer app and OAuth required

    Documentation reviewed

    Intuit's official MCP server covering full entity CRUD plus financial reports, gated by an Intuit developer app handshake.

    Best for:

    Agents operating inside an existing QuickBooks Online company.

    Strengths

    • Full create, read, update, delete and search over 29 entity types plus 11 reports
    • Flags to run read-only by disabling write, update or delete categories
    • Schema input validation on every tool call

    Trade-offs

    • Needs an Intuit developer app and a browser OAuth handshake first
    • Preview-before-write is unverified in the sources checked
  4. Puzzle

    Cloud ledger · Claude connector, read-only

    Documentation reviewed

    Read-only MCP access to a Puzzle company from Claude, in alpha — a Q&A window, not a bookkeeping backend.

    Best for:

    Read-only conversational questions over a Puzzle company in Claude.

    Strengths

    • Lightest setup of the cloud options: a connector URL, no install
    • 40-plus read endpoints over live company data
    • Nothing to preview or reconcile — answers stay conversational

    Trade-offs

    • Read-only by design: nothing can be modified or written
    • Alpha status with re-authentication every 5 days

The same seven criteria, all five tools

Every tool is assessed against the same criteria. “Unverified” means the sources did not cover it; it does not mean the feature is missing.

Installation / prerequisites

Beancount.io
Supported, observed: install bea 0.1.0; no account for local commands
hledger
Supported: single binary via package manager or Docker (1.52.3)

Authentication

Beancount.io
None needed locally; hosted credentials only for bea ask
hledger
None needed: local files, no accounts

Read / write scope

Beancount.io
Reads and writes, observed: query, report, preview-then-apply import
hledger
Reads via reports; writes by appending and via import

Local vs cloud data

Beancount.io
Local: plain-text ledger files
hledger
Local: plain-text journal

Preview / validation

Beancount.io
Observed: preview 3 ready / 0 written; check valid; unbalanced write rejected
hledger
Documented: import dry run; entries balanced and validated; check command

Structured output

Beancount.io
Observed: JSON envelopes with rows and columns, exit codes, BQL
hledger
Reports to terminal, HTML, CSV, JSON or SQL

Repeated imports

Beancount.io
Observed repeat-safe: reimport writes 0, bytes preserved
hledger
Documented idempotent re-import via hidden state files

Frequently Asked Questions

Which accounting tool is best for an AI agent that drafts ledger changes?

Beancount.io is the only tool on this page with an observed preview-first agent run behind it: the agent previews 3 ready rows, applies 3 entries, and a repeat apply writes 0 while the ledger bytes are preserved. hledger documents the same shape of workflow — dry-run import plus idempotent re-import — from its official manual. Xero and QuickBooks Online give agents official read and write tools behind their cloud OAuth setups, which fits agents operating inside an existing cloud org.

Do Xero and QuickBooks have official AI agent tooling?

Yes. Xero publishes an MCP server, a command-line tool, and an agentic SDK under its developer program, all authenticated against a Xero org with OAuth credentials. Intuit publishes an official QuickBooks Online MCP server with create, read, update, delete and search tools plus financial reports, gated by an Intuit developer app and a one-time browser OAuth handshake. Both keep the ledger in the cloud; the agent tooling runs locally but the data does not.

Can an AI agent write to Puzzle?

No. Puzzle's MCP integration is explicitly read-only and in alpha: it exposes 40-plus read endpoints to Claude, requires re-authentication every 5 days, and states that nothing can be modified or written. It fits read-only conversational questions over a Puzzle company, not agent bookkeeping.

Who publishes this comparison?

Beancount.io publishes this page and is one of the five tools compared. Beancount.io cells link to an observed, reproducible run; competitor cells cite current official documentation checked on 2026-09-10. No competitor was runtime-tested here, no paid account was used, and unknowns are labeled unverified rather than treated as failings.

A green clay laptop beside an open ledger, neatly sorted receipts, and a small espresso cup.

See what an agent can do with a ledger.

Install bea, hand your agent one task, and check the result yourself. Local books need no account.