How krishnaikgaunekar/groupcart works
GroupCart turns a receipt photo and a list of diners into itemized individual amounts and payment options, using agents that coordinate through a shared room and ask each person what they ordered. The README documents iMessage/Spectrum, Gemini receipt reading, Nessie reimbursements, and a card vault as product capabilities. The split implementation is represented by the named modules in app/split/; relationships between those modules are based on the documented workflow, since their source was not excerpted. The README also describes app/spectrum-bot/ as an earlier shopping-cart bot, so it is shown separately rather than as part of the current split flow.
Main entry points: session.py Split session · flow.py Agent room · images.py Receipt intake · signup.py Diner signup
Components 18
Bill splitting
- Receipt intake
app/split/images.py - Diner signup
app/split/signup.py - Agent room
app/split/flow.py - Split session
app/split/session.py - Share calculation
app/split/splitter.py - Money math
app/split/money.py - Reimbursement ledger
app/split/ledger.py - Text results
app/split/notify.py - Workflow hooks
app/split/hooks.py
Agent runtime
- Agent loop
core/agent/conversation_loop.py
External services
- Bank integration
app/split/bank.py - Payment tools
app/spectrum-bot/src/tools/payments.ts - Card vault
core/agent/vault_store.py - Gemini
- Capital One Nessie
- iMessage
Earlier bot
- Spectrum bot
app/spectrum-bot/src/server.ts
Other components
- Diners
Connections 17
- Diners → Receipt intake: sends photo
README.md - Diners → Diner signup: names diners
README.md - Receipt intake → Gemini: reads receipt
README.md - Diner signup → Agent room: starts coordination
README.md - Agent room → Diners: asks order
README.md - Agent room → Split session: coordinates split
README.md - Split session → Share calculation: computes shares
README.md - Share calculation → Money math: includes tax tip
README.md - Split session → Reimbursement ledger: tracks reimbursements
- Reimbursement ledger → Bank integration: uses accounts
README.md - Bank integration → Capital One Nessie: handles reimbursements
README.md - Split session → Text results: sends amounts
README.md - Text results → Diners: texts payment details
README.md - Diners → iMessage: texts agent
README.md - Agent loop → Agent room: supports agents
- Card vault → Payment tools: gates checkout
README.md - Spectrum bot → iMessage: talks directly
README.md