Hanami's Company Brain: an agency's memory that updates itself
About 3 minutes to read

In brief. Hanami wanted everything the agency knows about its clients in one place, searchable, with every number accurate.
An agency’s memory that updates itself
A performance marketing agency accumulates analyses, briefs, reports, call transcripts and data from dozens of advertising platforms every day. Rational AI brought them together in a single Company Brain: a knowledge base that refreshes every night from the agency’s sources, answers in natural language, checks every client and never makes up a number.
The client
Hanami is a growth marketing agency based in Tuscany that manages advertising campaigns, SEO, social and strategy for dozens of active clients, from SMBs to e-commerce, with more than forty million euros in ad spend under management. The work is organized in client folders on Google Drive, procedures and insights on Notion, platform data in automatically updated sheets and a central control file where growth managers log goals and results every week.
The problem
The agency’s knowledge existed, but it was spread across hundreds of folders and different tools, and lived in large part in people’s heads. Onboarding a new team member was slow, lessons learned on one client did not reach the others, and answering a simple question like “which tests reduced cost per lead in the last month?” meant opening several files and rebuilding the numbers by hand.
The agency’s constraint was clear: a missing number is better than a wrong one. An assistant that estimates, rounds or makes things up is no use to someone deciding on a budget.
The solution
The sources
The Company Brain reads the sources the agency already uses, without asking it to change them. Client documents come in from Google Drive following the folder taxonomy defined by the agency, which sets what comes in, at what priority and what stays out, such as contact lists and administrative data. Procedures and insights come from Notion. Campaign data comes from the sheets the platforms update every day, normalized into a single schema whatever the structure of the source sheet. The central control file provides goals and owners for each client.
Numbers come from code
Every indicator, from spend to cost per lead, from return on ad spend to deviation from goal, is calculated by deterministic flows and saved in a queryable database. The language model never estimates a number: it asks the platform’s tools for it, cites the source and states how recent the data is. A ratio with a zero denominator stays empty instead of becoming a plausible number.
The daily check
Every morning the Brain compares the results of all clients with their stated goals or, where those are missing, with the average of the previous four weeks, and flags deviations beyond tolerance. A dashboard shows the day’s anomalies, the week’s off-target projects and each client’s profile: goals, performance by platform, check history, documents and links to reports.
The Marketing Mix Model
On top of the same data, an agent prepares weekly series by channel, runs a marketing mix model, evaluates the result against explicit acceptance criteria and repeats with different parameters if the model doesn’t hold up. Only an accepted model is saved in the Brain, with the estimated contribution of each channel and the suggested budget reallocation.
The AI layer
Rational Knowledge stores documents, data and relationships; Rational Core exposes the open-weight models, governs costs and traces every call. The whole project is an installable extension of the platform: connectors, tools, prompts and views travel together and update with a single command.
The result
A single point of access to the agency’s knowledge, which updates every night and answers with verifiable numbers. The daily check covers all active clients with no manual work, and the quality of answers is measured on a set of questions and expected answers agreed on with the agency.





