Use BOE with an AI agent
An agent handles language and judgment calls. Decisions that must repeat exactly and stand up to review run in a rule engine. Your agent calls BOE for those.
Reads the request, picks the ruleset, explains the answer.
Runs the rules, versions them, records the lineage.
1. Give your agent the docs
BOE publishes its docs as plain text for models. Point your agent at the short index or the full text.
| File | Use it for |
|---|---|
| https://docs.boerules.com/llms.txt | A short index. The agent follows links as it needs them. |
| https://docs.boerules.com/llms-full.txt | Every page in one file, for agents with a large context window. |
Both files are planned for this site. Give your agent llms.txt tracks them.
You can make business decisions through BOE.
Read https://docs.boerules.com/llms.txt before you call it.
For approvals, scores, prices and routing, call the boe_execute
tool. Quote the result and the rules that fired. Keep the
executionId so the decision can be looked up later.2. Let the agent call BOE as a tool
Wrap boe.execute as a tool in your agent framework. The agent supplies a short code and the facts.
The BOE MCP server serves this tool and six more. Connect an agent with the BOE MCP server.
{
"name": "boe_execute",
"description": "Run a BOE ruleset on facts and return the decision.",
"input_schema": {
"type": "object",
"properties": {
"shortCode": { "type": "string", "description": "The ruleset short code" },
"facts": { "type": "object", "description": "Facts grouped by type" }
},
"required": ["shortCode", "facts"]
}
}- Person: Can Dana get the Gold card?
- Agent calls tool
boe_execute(shortCode: "credit-score", facts: { Applicant: [{ name: "Dana", income: 82000, missedPayments: 0 }] }) - BOE returns
totalScore 82, tier "approve", fired: income-score - Agent: Yes. Dana scored 82, which falls in the approve tier. The income-score rule added the points, and no missed payments took any off. The decision id is saved for review.
3. Author rules by conversation
In the console, describe a rule in plain language. The authoring assistant proposes it as a rule card. You accept or reject each one.
Add a rule: two or more missed payments takes 30 points off.
Takes 30 points off when the applicant has two or more missed payments.
Authoring uses a language model. Set the model and key for your account under LLM settings in the console. BOE uses its default model when the account has no key.
4. Plain English readouts
Every saved version carries one sentence per rule. A reviewer reads the sentences and skips the syntax. The save completes first and the sentences follow.
| Rule | Readout |
|---|---|
| income-score | Adds one point per thousand of income. |
| missed-payments-penalty | Takes 30 points off when the applicant has two or more missed payments. |