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 only.

If you use Google, Apple, or another sign-in method, migrate your account to email/password first.

Migrate your Settle Up account ↗

BEFORE YOU SIGN IN

How auth works.

Your agent never sees your password. You sign in on a private page, 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

    On this site, not in chat. Firebase, Settle Up’s sign-in provider, checks your password. It is never saved.

    Password used once
  3. 03

    Your CLI connects

    The session is encrypted for that CLI’s key, collected once, then saved in your OS keychain by default.

    The link alone can’t open it

What we never do

  • Show your password to your agent or CLI
  • Store or log passwords
  • Put credentials in URLs or chat
  • Keep a readable copy of your session

Where it runs

Who sees my password?

Only this site’s backend and our hosted auth Worker. They hold it in memory just long enough to send it to Firebase for verification. Neither saves or logs it. Your agent, the CLI, and the chat never receive it. Terminal login (settleup auth login) uses the same Worker.

Read password verification ↗
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 stays on your computer, in your OS credential store by default.

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

No. This is an independent, open-source community integration. This site and our auth Worker are hosted on Cloudflare, and the code for both, along with the CLI, is on GitHub. Prefer to run it yourself? You can self-host the auth Worker and point the CLI at it.

How to self-host ↗
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 ↗