The Payment I Hadn't Billed:What a Second Brain Gives Your AI Agent
My AI agent caught a client payment I hadn't billed because it could search my second brain. Five steps to set one up, and the rule for money.
My AI agent caught a client payment I had missed, and it did that because it could search a second brain I'd built, not because it was clever. Here is what happened, and the five steps to set one up so your agents start from what you already know.
The payment had been due the day before
Last Wednesday night I asked my AI agent to log my hours for a client and tell me if it was time to ask for the next payment.
It was. The payment had been due the day before, and I hadn't billed it.
The prompt was one line. I didn't mention a contract.
The agent went to my second brain first. Within about three minutes it had pulled two things out of it.
The first was my call recordings. My meeting recorder only saves start times, so it can't tell you how long a call ran. The agent used the transcripts to size my client calls instead.
The second was a note that the contract had been countersigned in mid-September, and where the signed copy was. It opened the signed contract. The contract put the second payment one day in the past.
From there it went fast. About half an hour later, with my approvals in between, the hours were logged, the invoice existed, and a short email was ready. I said send.
Then I asked it to add my hours. It said no.
Before the email went out, I asked the agent to add my hours to it. I had just logged them, after all.
It pushed back. The contract is a flat fee, and it says I don't owe the client time reports. Listing hours on the invoice email would teach him to read every invoice as hours times a rate. That's a different deal from the one we signed.
I took the advice. The email went out without the hours, 31 minutes after my one-line prompt.
Without the second brain, it's a much worse evening
Here is the counterfactual, because it's the part that matters for anyone deciding whether this is worth an afternoon.
Without the second brain, the agent would have had my hours tool and my inbox. It wouldn't have known a contract existed, or what to search for.
Best case, it logs the hours and asks if I want to invoice. Then I spend the evening digging through email for a PDF.
Nothing about the model changed between those two versions. What changed is what it could look up.
How to set one up
Step 1: Start with a database you own
Nate B Jones's Open Brain guide walks you through it: a database you can search by meaning, plus a small server any AI tool can call. He puts it at about 45 minutes with no code, and the code is free on GitHub in his OB1 repo.
His starting point is the reason to bother: without one, every new chat begins with an AI that knows nothing about you.
I built mine from his guide. My first commit is dated March 2, the day the guide came out. On October 6 it held 25,996 documents.
The point of owning it is that it's not tied to one AI vendor. I wrote about why that matters for your budget in Your AI Plan Got Smaller.
Step 2: Seed it before you capture anything new
An empty second brain doesn't help on day one. Nate's guide includes a Memory Migration prompt that asks each AI you already use what it knows about you, and saves the answers.
I went further and pointed import scripts at my email, my texts, my meeting recordings and my agent sessions. That's where the call lengths in this story came from. My meeting recorder couldn't tell the agent how long a call ran. The transcripts in my second brain could.
I learn a lot from YouTube, so I also use a skill that pulls a video's transcript into it.
My agent sessions go in too. I wrote up what that's good for in Your old AI agent conversations are worth more to the next agent than to you.
Step 3: Tell every agent to check it first
Put one line in the instruction file your agent reads at startup. That's the CLAUDE file for Claude Code, and the AGENTS file for most others.
Mine says, in effect: before your first answer in every session, search my second brain for anything related to the request.
That line is why the agent went looking for the contract without being asked. I asked about hours and a payment. It found the contract on its own.
Step 4: Make agents write back
When an agent finishes anything that matters, have it save what happened and what was decided.
After the invoice went out, mine saved the email and my decision to keep hours out of it. The next invoice starts there.
A second brain that agents only read from goes stale. Write-back is what keeps it current.
Step 5: Let the note point, and the source decide
This is the rule I'd hand any business owner before letting an agent near money.
The second brain held a note that the contract was signed. The payment date did not come from that note. It came from reading the signed contract itself.
Store both. The note is how the agent finds the contract. The contract is what it acts on. Make your agents read the original before they act on anything involving money, because a note is a summary, and a summary can be out of date or wrong.
What this means if you run a business
You don't need a smarter model to get this. You need your agents to be able to find what you've already written down: the contract, the call, the decision you made last month.
Most of that already exists in your email, your files and your meeting tools. The work is getting it into one place an agent can search, and telling the agent to look there first.
Anyway.
The agent didn't know my contract. It knew where I'd written it down.
What's one thing you've explained to an AI more than twice this month?
A Week With a Personal AI Agent: It Sent the Email Without Asking, and Waited for My Click to Spend Money
A week of errands with Meta's Muse: it emailed support for me unasked, but spending money still took my click. Where to draw that line.
ReadYour old AI agent conversations are worth more to the next agent than to you
Most people never reopen an AI conversation. Six ways I put old agent transcripts to work, and the one rule to follow before trusting one.
ReadWhat I learned trying to use Jev to judge AI-generated photos
Jev can't see images, so its photo scores are only as good as the model describing each photo. What six describers taught me.
ReadWorking on something like this?
Bring the app or the process to a free 15-minute call. I will tell you what I would look at first, and whether I am the right person for it.