settleup/ cli

OPEN SOURCE · MADE FOR YOUR AI AGENT

Less tracking.
More doing.

Let your agent handle the shared-expense admin.
Add a dinner, check balances, keep your group in sync.

Your Settle Up account. Your friends. One less thing to manage.

Say it. Split it.

Dinner, a cab, the weekend shop. Just tell your agent what happened. It records the expense for you.

Skip the mental maths.

Ask who owes what. Get the group's balances without scrolling through every transaction.

Keep everyone in sync.

Use the groups and account you already have. Your agent works with the same shared expenses.

A PROMPT IS ALL YOU NEED TO START

Give this page to your agent.

Pick your agent, copy the prompt, and paste it into your conversation. It reads the guide and helps you connect.

Grok

Muse

Instinct

Dots

Claude Code

Codex

Your agent checks its tools and guides sign-in. Connecting requires terminal access for your agent. You sign in privately through a browser link.

What's in the prompt?

ONE THING BEFORE YOU CONNECT

Email, password, and the API key.

You sign in with your Settle Up email and password plus the Settle Up API key, a public key starting with AIza. Use Google or Apple to sign in? Switch your account to email/password first.

Find the API key ↗ Migrate your Settle Up account ↗

BEFORE YOU SIGN IN

How auth works.

Your agent never sees your password, and neither do we. You sign in on a private page that talks straight to Firebase, and your CLI receives an encrypted session that only it can open.

  1. 01

    Your agent asks

    The CLI creates a one-time sign-in link and a private key. The key never leaves the CLI’s machine.

    Link expires in 10 minutes
  2. 02

    You sign in

    Enter your email, password, and the Settle Up API key. Your browser sends them straight to Firebase, Settle Up’s sign-in provider.

    Browser → Firebase, nothing in between
  3. 03

    Your CLI connects

    Your browser encrypts the session for your CLI before handing it over. The CLI collects it once and saves it in your OS keychain.

    The link alone can’t open it

What we never do

  • Receive your password or API key on our servers
  • Show your password to your agent or CLI
  • Put passwords or session tokens in URLs or chat
  • Keep a readable copy of your session

Where it runs

Who sees my password?

Only Firebase, Settle Up’s sign-in provider. Your browser sends it there directly; our server receives only an encrypted session, and your agent and CLI never receive the password at all. As with any website, you’re trusting the code this site serves; it’s open source, and you can self-host it.

Read the sign-in code ↗
What is stored, and for how long?

While you sign in, the handoff database holds only an encrypted session, the CLI’s public key, and a hashed collection token. The row is deleted when the CLI collects it; otherwise it becomes unusable after 10 minutes and is purged. Rate limiting uses hashed IP addresses that expire after two minutes. Your long-lived session and the API key stay on your computer, in the OS credential store by default, and the CLI renews the session directly with Firebase. Plaintext file storage requires an explicit opt-in.

Read the session handoff ↗
Is this official Settle Up login?

No. This is an independent, open-source community integration. The login page and its encrypted relay are hosted on Cloudflare, with the full source on GitHub. You can self-host them; they need no secrets.

How to self-host ↗
What is the Settle Up API key, and where do I find it?

It’s the public Firebase key Settle Up’s own apps use to reach their sign-in service. It starts with AIza and is 39 characters long. It isn’t a password and can’t open your account by itself. This tool doesn’t ship it, so you’ll copy it once from Settle Up’s web app; the guide shows how. Your CLI then keeps it with your session.

How to find the key ↗
What can my agent do, and how do I disconnect?

Through the CLI, your agent can read your groups, balances, and expenses and make the changes you ask for. Run settleup auth logout to delete the saved session and cancel any pending link. To end every session everywhere, change your Settle Up password; existing access tokens lapse within an hour.

Read the login reference ↗