Luciano Marchese ← All projects

Partner finance assistant / Internal system · Used in a studio

Money comes in, the rules split it, nothing is forgotten.

A finance system for a two-partner studio: each payment is recorded from a chat message, split by fixed rules and followed by reminders until every transfer and card payment is done.

Private system. Public walkthrough only.

How it works ↓
Telegram chat where the assistant records a client payment and lists the transfer and the company fund contribution, next to the split rulesEmail to both partners with the card cycle summary, the contributions pending and the action to take before the payment date

Illustrative chat and email with made-up clients and amounts.

01 The problem

At the studio I co-founded, a client payment landed with whichever partner the client paid, and the business card was paid from a shared fund. Doing the split by hand meant forgetting a transfer, paying the card late or not knowing how much the fund really held. We agreed on fixed rules; the hard part was applying them every single time.

02 My contribution

I defined the rules with my partner and built the system with AI-assisted tools: first a spreadsheet with automatic calculations, then a self-hosted dashboard with login and an API, an agent that operated it only through that API, and four daily jobs for card cycles and reminders. I used it to run the studio’s finances.

Built with

  • FastAPI
  • PostgreSQL
  • OpenClaw
  • Python
  • systemd

Architecture

  1. Telegram and Discord
  2. Finance agent (OpenClaw)
  3. API with a key: business rules and duplicate checks
  4. FastAPI dashboard with login, PostgreSQL
  5. Daily jobs: card cycle, reminders, emails

03 How it works

  1. Report a payment

    I write in Telegram or Discord: today Client A paid 20,000 MXN. The assistant checks for duplicates and records the income through the API.

  2. Split

    The rules do the math: whoever received the payment transfers half to the other partner, each keeps 37.5% and each puts 12.5% into the company fund.

  3. Remind

    The assistant says what to transfer today. After the card cut, an email lists what each partner still owes the fund.

  4. Pay the card

    Before the due date, both partners get the cycle summary: charges, categories and what is pending. The card is always paid from the fund.

  5. Keep a reserve

    Once expenses and the operating cushion are covered, a monthly reminder moves the fund surplus to savings for contingencies.

04 Decisions and limits

  • Only money actually received counts. Expected income is kept apart and never split.
  • The agent writes only through the API, never to the database: the API applies the business rules and checks for duplicates.
  • A clear request for one movement counts as authorization; changes to rules or card cycles and bulk writes need confirmation.
  • The dashboard requires a login and the API a key. The images here use made-up clients and amounts.

05 Evidence and validation

The four daily jobs ran every day: card-cycle sync, recurring expenses, the after-cut email and the before-payment email. The move from the spreadsheet was checked against the dashboard totals.

06 The result

The studio’s split, contributions and card payments ran on rules instead of memory. Its rules now live as a skill of my main assistant.

Private system. Public walkthrough only.

Talk about a similar project