Hi everyone,
Just wanted to share a project I've been working on: beancount-cli.
It's a modern CLI built on Beancount v3 and Pydantic. Beyond the standard ledger tasks, I've been focusing on making it "agent-friendly"—meaning it plays really well with AI assistants and automated workflows through descriptive help strings and built-in JSON schema discovery.
Try it instantly without installing:
uvx --from beancount-cli bean check main.beancountusage: bean [-h] [--file LEDGER_FILE] [--version] [--format {table,json,csv}] {check,tree,report,transaction,account,commodity,format,price} ...
Beancount CLI tool for managing ledgers.
positional arguments:
{check,tree,report,transaction,account,commodity,format,price}
check Validate the ledger file
tree Visualize the tree of included files
report Generate simple reports.
transaction Manage transactions.
account Manage accounts.
commodity Manage commodities.
format Format ledger file(s)
price Fetch and update prices
options:
-h, --help show this help message and exit
--file, -f LEDGER_FILE
Path to main.beancount file
--version Show version
--format {table,json,csv}
Global output format
Environment Variables:
BEANCOUNT_FILE Default ledger file to use if --file (-f) is not specified.
Global Flags:
--format json Best for single-item structural responses or piping into `jq`.
--format csv Highly recommended for AI Agents querying lists (3-5x token savings).
--format table Default terminal formatting for human-readable outputs.
Repo:
https://github.com/romamo/beancount-cliFeedback or PRs are very welcome.
Cheers, Roman