Skip to content
kwitsy Start a group

Security model for agents

An agent gets exactly one group, acting as one named person, through a token you can revoke at any moment. It sees what any member of that group sees and nothing else, and every change it makes is labelled in the history.

Updated

What is a Kwitsy agent token?

A secret of the form grk_<group id>_<32 random characters>, made in the group under Settings → Connect an agent. You name it and choose which person it acts as. It is shown once; Kwitsy keeps only its SHA-256 hash, so it cannot be shown again or recovered from the server.

  • One group. The token contains the group id; it cannot reach any other group.
  • One person. Changes appear in the history as, for example, "Claude for Ana".
  • Last used. The Connect an agent page shows when each token was last used.
  • Revocable at once. Every request is checked against the group's token list; a revoked token is refused with 401 from the next request on.

What can an agent with a token do?

It can read the whole group and add, change, delete and restore entries, record transfers and add members, through the 22 tools in the reference. There is one scope today: read and write on one group. Read-only tokens are not available yet.

What can an agent see, and what not?

Read from src/worker/mcp/tools.ts and model.ts
DataVisible to the agent?
Group name, base currency, member names and idsYes
Entries: titles, amounts, currencies, rates, dates, categories, notes, splitsYes
Each entry's change history (who changed what, when)Yes
Balances and the settle-up planYes
Your other groupsNo
Other tokens, or any token textNo
Creating or revoking tokensNo: only in the app
Receipt photos on entriesYes, with get_receipt
Comments on entriesYes, with list_comments
Payment details people saved (IBAN, Revolut, PayPal.Me, phone)No: kept out of MCP on purpose; only people with the group link see them in the app
Your email, files or anything outside KwitsyNo: Kwitsy cannot reach them; your assistant's own connectors can

Can an agent destroy data?

No. delete_entry is a soft delete: the entry stops counting and restore_entry (or Undo in the app) brings it back with its history. There is no tool to delete a group or erase history.

Edits are also recoverable: every version stays in the entry's history, and if two devices change the same part at once, both versions are kept and the app asks which one to use.

What limits apply?

From src/worker/limits.ts, src/worker/mcp/index.ts and wrangler.prod.jsonc. The rate limiter is approximate.
LimitValue
Requests per IP address (IPv6 per /64)60 per minute
Requests per group (shared with the app's writes)120 per minute
When exceededHTTP 429 with Retry-After: 60
Request body256 KB; one JSON-RPC message per request (no batches)
Group sizeup to 200 members and 20,000 entries
Daily writescapped by the free hosting plan; over the cap the server answers over_capacity and writes nothing

What does Kwitsy store about agent use?

The token's hash, name, the person it acts as, and when it was last used. Each change the agent makes is an ordinary entry in the group's history. Server request logging is off. The only counter is an aggregate count of MCP calls (a name, a number and a timestamp, with no IP address or id), kept for three months. See the privacy page.

What should you know about the group link?

The group link is itself full access for people: anyone who has it can open, see and change the group. A token is separate from the link and does not reveal it. Keep both private, and revoke a token you no longer use.

A short checklist

  1. Make one token per assistant, named after it ("Claude Desktop", "Cursor").
  2. Choose the person whose spending the assistant records.
  3. Store the token in your client's secret input or an environment variable, not in a shared file.
  4. Revoke it from Connect an agent when you stop using it, or if it leaks.