Write it down once.
Every agent reads it.
MacroKB is the knowledge base your AI agents read: the facts, rules, processes and policies your team knows, kept as items a person can correct, and served to every agent over MCP and an API.
Conversation
The support agent, connected to MacroKB over MCP
The agent looks it up before it answers…
MacroKB · the company's knowledge base
- fact:seats-includedFact
The Team plan includes 10 seats.
- rule:seat-packsRule
Extra seats come in packs of 5.
- policy:trial-lengthPolicy
Trials last 14 days from sign-up.
- never_say:roadmapNever say
Never promise a feature or a date the product team hasn't announced.
- policy:prorationPolicy
Seat changes are prorated on the next invoice, and the answer says so.
- process:cancelProcess
To cancel, the account owner opens Settings, then Billing, then Cancel plan.
A customer asks a software company's support agent about seats and their trial.
Today, what your agent knows
ships in a release.
The rules a support agent quotes live in its company's source code. When a plan changes, a developer edits a file and someone deploys. The person who knows the rule can't fix it.
// lib/plans.ts
export const PLANS = {
team: {
seatsIncluded: 10,
seatPack: 5,
trialDays: 14,
},
};- Changed by a developer
- Live after a deploy
- Known to one app
The Team plan includes 10 seats.
Extra seats come in packs of 5.
- Changed by whoever knows
- Live when saved
- Read by every agent you connect
Write it, correct it,
let every agent read it.
- 1
Write it down, or sync it
A person writes what is true, one item at a time. If you build software, connect a GitHub repository too: an Action keeps the features, use cases and terms your code shows in sync.
- 2
Correct it on the spot
Fix an item and the next answer uses it. What a person writes wins over what a build found, and the next sync never erases it.
- 3
Let agents read it
Your agents search it over MCP or the REST API with a scoped key. A connected product reads it only under a grant you can revoke.
Six kinds of things
worth writing down.
Whatever your company does, its agent needs the same few kinds of knowledge, including what it must never say.
Never tell a candidate they got the job before the client confirms it in writing.
A recruiting agency
Correct a rule.
Watch the answer change.
Three of the company's items, as a person on the team would edit them. The answer is worked out from whatever they now say.
Items · drag to correct them
The agent's next answer
The Team plan includes 10 seats, so for 23 people you need 13 more. In packs of 5 that is 3 packs, 25 seats in all. Your trial runs 14 days, so you have 5 days left.
- fact:seats-included
- rule:seat-packs
- policy:trial-length
These are the values the company’s code carries today. Change one.
One source of truth,
read over MCP or HTTP.
Give an agent a key scoped to knowledge:read. It can search, open an item and look up a term, and nothing more.
{
"mcpServers": {
"company-knowledge": {
"url": "https://api.macroprimer.com/mcp",
"headers": { "Authorization": "Bearer mp_live_…" }
}
}
}curl "https://api.macroprimer.com/v1/knowledge/search?q=seats" \ -H "Authorization: Bearer mp_live_…"
{
"data": [{
"key": "rule:seat-packs",
"kind": "rule",
"source_kind": "manual",
"summary": "Extra seats come in packs of 5.",
"rank": 0.71
}]
}MacroKB holds the knowledge. Its sibling MacroPrimer reads it and publishes it as your help center.
Give your agents
something true to read.
Start with the one rule your agent gets wrong most often.
Create your knowledge base