One conversation across your accounts
Coin explores what a conversational interface to personal finance could look like. It reads synthetic chequing, savings, TFSA, RRSP, investment, and credit-card accounts, then answers questions with short explanations and charts calculated in code.
Beyond answering questions, the agent can propose transfers, bill payments, e-transfers, and trades. The project is built with Next.js, TypeScript, PostgreSQL, and OpenAI, with a scripted demo that visitors can explore without an API key.
The model proposes. Code decides.
Every proposal passes through nine deterministic rules before an approval card can appear. The checks cover explicit user intent, supported actions, saved payees, new-recipient limits, available funds, daily limits, contribution room, trade limits, and whether the proposal matches the original request.
Approval starts a 60-second undo window. Before execution, the rules run again under database locks so a change in balances or another concurrent action cannot bypass the checks. Transaction notes, payee names, and other account data are treated as untrusted input, never as permission to act.
Testing the boundaries
The repository includes 540 automated tests spanning the rules, execution races, sessions, tools, agent loop, serialization, and scripted demo. A separate 40-request evaluation exercises the real chat endpoint with questions, valid actions, blocked actions, ambiguous requests, and planted prompt injections.
The latest recorded evaluation reports 40 of 40 correct outcomes and no unsafe actions proposed, shown, or executed in that set. Those results describe the tested cases, not a guarantee about every possible request. Coin uses synthetic data, has no bank connection, and does not provide financial advice.
