Skip to main content

Generic FinTS CLI agent with provider registry and transfer workflows

Project description

fints-agent-cli

FinTS banking CLI for humans and agents.

Use it to:

  • onboard once
  • fetch accounts and balances
  • fetch transactions
  • send SEPA transfers
  • handle app-based SCA approval flows

Install

Recommended:

uv tool install fints-agent-cli

Alternative:

pipx install fints-agent-cli

From source repo:

uv sync
uv run fints-agent-cli --help

60-Second Start

1) One-time onboarding

fints-agent-cli onboard

You will be asked for:

  • provider (id/name/bank code)
  • user id/login
  • PIN

The PIN is saved in macOS Keychain.

2) Verify account access

fints-agent-cli accounts

Expected output format:

  • <IBAN>\t<Amount>\t<Currency>

3) Fetch transactions

fints-agent-cli transactions --days 30

For deterministic account selection:

fints-agent-cli transactions --iban <IBAN> --days 30

Transfers

Synchronous transfer (single flow)

fints-agent-cli transfer \
  --from-iban <FROM_IBAN> \
  --to-iban <TO_IBAN> \
  --to-name "Recipient Name" \
  --amount 12.34 \
  --reason "Reference" \
  --yes --auto

Dry run (local validation only, no submission)

fints-agent-cli transfer ... --dry-run

Async transfer flow

fints-agent-cli transfer-submit ...
fints-agent-cli transfer-status --wait

Who This Is For

  • End users who can run a few terminal commands.
  • AI/automation agents that need deterministic CLI behavior.

If you are running this as an agent, read first:

  • /Users/hagen/Projects/bank_cli/docs/AGENT_RUNBOOK.md

Supported Banks

This project only includes providers with a known FinTS endpoint.

Current registry characteristics:

  • FinTS-focused registry
  • primarily German banks (FinTS ecosystem)
  • includes seeded direct banks such as dkb, ing, comdirect, consorsbank
  • plus many additional German institutions from bundled provider data

Check what is available on your installed version:

fints-agent-cli providers-list --limit 40
fints-agent-cli providers-list --search dkb
fints-agent-cli providers-list --search ing
fints-agent-cli providers-show --provider dkb

If your bank is not listed by providers-list, this tool currently cannot configure it automatically.

Commands Overview

onboard             Interactive setup
bootstrap           Re-run TAN/SCA setup
accounts            Accounts + balances
transactions        Transactions (pretty/tsv/json)
transfer            Sync transfer flow
transfer-submit     Start async transfer
transfer-status     Continue/check async transfer
providers-list      List known providers
providers-show      Show provider details
keychain-setup      Save/update PIN in Keychain
reset-local         Delete local config/state/pending files
capabilities        Live FinTS capability discovery

Troubleshooting

Use debug only for diagnosis:

fints-agent-cli --debug transactions --days 30

Re-run auth setup:

fints-agent-cli bootstrap

Reset local state:

fints-agent-cli reset-local

Security Notes

  • PIN is read from macOS Keychain by default.
  • You can force manual PIN entry per command with --no-keychain.
  • Avoid storing PIN in shell history or plain text files.

Agent Notes

Agent-friendly guidance with expected outputs and recovery actions:

  • /Users/hagen/Projects/bank_cli/docs/AGENT_RUNBOOK.md

Development

uv sync --group dev
uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fints_agent_cli-0.1.1.tar.gz (48.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fints_agent_cli-0.1.1-py3-none-any.whl (46.7 kB view details)

Uploaded Python 3

File details

Details for the file fints_agent_cli-0.1.1.tar.gz.

File metadata

  • Download URL: fints_agent_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 48.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for fints_agent_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cdec370f97cb4a603b886a5b023718efdf10268a58433f077e2ad918dbfd9e91
MD5 633336f1aac6d743554566e0ccbc3fe8
BLAKE2b-256 2bd2f71b311a15a969876e5d8590871a321b2278ec564a9b1173b3afd3d3620b

See more details on using hashes here.

File details

Details for the file fints_agent_cli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fints_agent_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec394bf524b6854ead7c3f7ee689a58fa31afc28e38a6ba5a3b020085f8ac0b6
MD5 8658ba743f2b51822ce5093be29d4528
BLAKE2b-256 3732274921bd091184f3f5381e4e907d205bc51ef63183c0a9bd55cae2998632

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page