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

We're 23 people, 9 days into the Team plan trial. How many extra seats do we need, how long do we have left, and is per-seat billing coming?

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.

In the code
// 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
In MacroKB
fact:seats-includedFact

The Team plan includes 10 seats.

rule:seat-packsRule

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. 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. 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. 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_say:offerNever 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

fact:seats-includedSaved
rule:seat-packsSaved
policy:trial-lengthSaved

The agent's next answer

The customer's team has

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.

MCP · tools: search_knowledge, get_item, list_items, lookup_term
{
  "mcpServers": {
    "company-knowledge": {
      "url": "https://api.macroprimer.com/mcp",
      "headers": { "Authorization": "Bearer mp_live_…" }
    }
  }
}
REST · /v1/knowledge
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