Your company brain will leak secrets: how we stopped it for big banks — Tanmai Gopal, PromptQL
Read the talk
Your Company Brain Will Leak Secrets: How We Stopped It for Big Banks
Tanmai Gopal’s design keeps shared knowledge in one scoped wiki, makes agents propose rather than silently save changes, attributes every accepted fact to a person, and applies each user’s identity again when the shared agent reaches real data or tools.
From a talk by Tanmai Gopal
At a glance
Ideas worth remembering
Grow the brain through real work. A central team cannot reconstruct an old organization in advance; each employee should contribute context when a task exposes it.
Keep shared knowledge in one linked namespace, then enforce read and write scopes per file instead of isolating memory by team or channel.
Agents should propose facts and scopes; humans should approve them. This lowers contribution friction without allowing silent, unattributed memory writes.
Use the requesting user’s identity for every context read and every interaction with real tools or data. A shared agent must not become a shared service account.
Collaborative debugging produces valuable knowledge because participants challenge local fixes and uncover the undocumented decision behind an incident.
A useful brain attracts more teaching
A company brain becomes dangerous at the moment it becomes useful. If an intern can ask the same shared agent that executives and finance teams use, an ordinary question could expose compensation or other restricted information. Tanmai Gopal, CEO and co-founder of PromptQL, approaches that problem from a team that previously created the Hasura GraphQL Engine and worked extensively on data access and security.
The design grew out of roughly a year of work with 15 to 20 organizations spanning AI-native companies, technology-forward businesses, and Fortune 100 banks. Those groups tolerate very different levels of experimentation. An AI-native startup may accept breakage if the capability is compelling; a bank must prevent a broadly capable agent from inheriting broad access merely because deployment is convenient.
PromptQL’s own company brain contains about 5,000 interconnected pages modeled as a wiki. The storage format is not the essential choice: linked Markdown, a knowledge graph, or another representation can hold the material. The more revealing signal was the daily edit count. A neglected knowledge project should show an early burst followed by decline; an automatically populated memory might fluctuate around a steady level. PromptQL instead observed a gently rising edit rate over a two-month window.
The proposed explanation is cumulative teaching. Once the brain can query data, people teach it how to interpret the result. Next they teach it to act, then to evaluate the action through something such as an A/B test. Each imperfect skill also continues to receive corrections, so the update rates from old and new capabilities add together. This is an early observation rather than an established health metric: Gopal explicitly allows that the curve may eventually flatten into a steadier pattern.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
The security questionnaire exposes the contribution problem
The concrete example starts with a customer security-onboarding email containing several questions. The agent reads the message and its screenshot, drafts answers using company information such as the trust center and security architecture, and sends the approved draft when instructed. The observable change is simple: an unanswered questionnaire becomes a completed customer email without Gopal manually locating every security fact.
The causal chain is harder. A security or compliance specialist must previously have answered a similar questionnaire. Knowledge from that work must survive the original session, become available outside that person’s agent, and reach the later email task—without making restricted material visible to everyone. That contribution path is the real company-brain problem.
Two obvious approaches fail for organizational reasons. A shared GitHub skills repository asks an exhausted compliance specialist to anticipate an unknown colleague’s future need, write a reusable skill, and navigate review after completing a large spreadsheet. Most people will not do that extra work. A team agent with automatic memory lowers the effort but creates another silo: knowledge saved inside one team or channel remains unavailable elsewhere unless the later user joins that same space.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
One wiki, scoped files, and proposed writes
The third option keeps knowledge company-wide without making it universally readable. All context enters one linked wiki, while every file carries read and write scopes. A finance page can require a finance claim; a personal page can remain personal. Centralizing the namespace prevents channel-level silos, while file-level authorization prevents centralization from becoming universal access.
The most important rule governs writes: the agent must not silently save memory. It proposes facts and the scopes under which they should be stored, then a person accepts or rejects the proposal. This occupies the middle ground between a full GitHub contribution workflow and unreviewed automatic memory. The agent handles page selection and links; the reviewer concentrates on whether the facts are correct and who should see them.
A sales email demonstrates the interaction. After helping with the message, the agent presents a small box containing the facts it wants to add. The user reviews those bullets, chooses scopes per page if needed, and presses “Add to wiki.” The result is a low-friction contribution attached to the work that generated it, rather than a separate documentation chore.
Every accepted change also carries a human name. “The agent added this” is insufficient because it leaves no accountable decision-maker when a scope is wrong. Human attribution records who approved both the fact and its visibility, making investigation and remediation possible. Attribution does not prevent a mistaken approval, but it removes anonymous, unreviewed knowledge mutation.
What path lets an agent reuse shared knowledge without reading as an all-powerful service account? The requesting user’s claims must accompany every read. The diagram makes the key relationship visible: the agent proposes knowledge as an assistant, but the human authorizes writes and the user’s own identity authorizes reads.
Human-approved knowledge, user-scoped retrieval
Read the diagram as text
- Requesting user. read — Supplies the identity and claims used for the task.
- Coding agent. agent — Uses shared context and organizes proposed updates.
- Scoped company wiki. knowledge — Linked pages enforce per-file read and write scopes.
- Facts and proposed scopes. write — The agent shows what it wants to add instead of writing silently.
- Human reviewer. write — Accepts or rejects facts and chooses their visibility.
- Attributed wiki change. knowledge — The accepted update records the approving person’s name.
- Requesting user → Coding agent: asks for work.
- Coding agent → Scoped company wiki: reads with user claims.
- Coding agent → Facts and proposed scopes: suggests update.
- Facts and proposed scopes → Human reviewer: requests approval.
- Human reviewer → Attributed wiki change: accepts facts and scopes.
- Attributed wiki change → Scoped company wiki: adds linked page content.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Four rules to work backward from
The architecture reduces to four constraints. Centralize context: keep one linked company-wide wiki instead of per-channel memories. Scope and attribute knowledge: enforce access per file and attach every accepted change to a person. Keep credentials outside the sandbox: never give a shared execution environment durable secrets. Mediate real interactions: proxy HTTP, SQL, and other tool access so the current user controls what the agent can do.
These controls turn a company brain into a system of delegated reads, reviewed writes, and user-bound actions. They are an architectural proposal, not proof that leaks have been eliminated under every adversarial condition: the recording supplies deployment experience and demonstrations but no measured leak rate, red-team results, or formal security evaluation. The practical value is that the design gives builders concrete places to enforce policy rather than asking the model to remember who should be allowed to know or do what.
Gopal closes by previewing PromptQL Tag as an implementation of this multiplayer approach with support for multiple model providers. The more durable ending is architectural: a shared AI becomes viable when shared conversation does not imply shared authority, and when useful organizational learning enters the brain only through a visible human decision.
Suggest correction
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
Resources
Further reading
Explains how PromptQL extends Hasura’s earlier data-access and fine-grained authorization work toward AI-generated programs that query data and execute workflows.
Develops the multiplayer-AI, assisted-wiki, and permissions model behind the talk, including the distinction between shared context and secure access to heterogeneous systems.
An earlier talk by Gopal explaining secure access to live data and business logic, including unified query semantics and authorization based on data and session properties.
Related talks
- CIAM for AI: Authn/Authz for Agents — Michael Grinich, CEO of WorkOS
Extends the human-linked identity and accountability problem with delegated identities, signed chains, scoped tokens, and auditability.
- Security Firewall for Agents
Examines why controls must sit outside an agent and inspect real protocol traffic, complementing the talk’s credential-free sandbox and proxied tool access.
- Every company should have a Brain — Garry Tan, Y Combinator
Provides a complementary account of company brains as Markdown-based institutional knowledge and reusable procedures, without focusing primarily on the access-control architecture.
Transcript & slides
Loading transcript and slides…