Write the judgement down.
A Decision is a short file your team can read: the facts it needs, the rules it follows and the question it answers. Describe it to Claude or Codex and your agent drafts it for you. You read the draft and say when it’s ready to publish.
- Plain YAML, or JSON if you prefer; what you wrote is kept exactly as you wrote it
- Checked as you type, down to the exact field that needs work
- Reviewed by an assistant that flags rules which overlap or contradict each other
acme/refundsrefunds.yamlDraftformat: 3model: jev-1.13.01state_schema:2type: objectrequired: [days_since_delivery, item_condition]properties:days_since_delivery: { type: integer, minimum: 0 }item_condition: { enum: [new, used, damaged] }context:3policy: Refunds within 30 days, or later if it arrived damaged.questions:4route:type: choiceinstructions: Where should this refund request go?criteria:approve: Inside the policy.review: Outside the window but damaged.decline: Outside the policy.
- 1
modelOne pinned model, the same for every call of a release. - 2
state_schemaThe facts each caller sends, checked on every call. - 3
contextYour rules and reference material, the same for everyone. - 4
questionsWhat it answers, in TypeSafe’s own question types.
Prove it on cases you trust.
Save real requests as Worked Examples while you build. The ones you confirm become the test set, and every draft runs against all of them before it can ship. When a case fails you see exactly which one, and why.
- Only confirmed cases count as evidence; examples you’re still unsure of stay separate
- Every change is re-run against the whole set, so fixing one case can’t break another without you seeing it
- Compare models on your own cases before you move to a new one
| Order | Since delivery | Condition | Expected | Answered |
|---|---|---|---|---|
| £84 | 12 days | damaged | review | review✓ |
| £19 | 4 days | new | approve | approve✓ |
| £640 | 45 days | used | decline | decline✓ |
| £230 | 31 days | damaged | review | review✓ |
| £52 | 29 days | used | approve | approve✓ |
Release it in versions.
Publishing freezes the Definition and the plan it compiles to, so a release answers the same way for as long as it lives. TypeFuse reads what changed and numbers the release for you: a breaking change is a new major version, anything else is minor or a patch.
- Callers choose when to move. Each one says which versions it accepts, and a new major waits until its code is ready
- Promote from Test to Production once you’re happy, with the previous major still answering for the callers on it
- Replay any release exactly by its number when you need to debug
acme/refunds- Support agentaccepts
^1.4.0stays on 1.4.0 - Orders appaccepts
^2.0.0moves to 2.0.0
1.4.1patch1.5.0minor2.0.0majorAgents find the right one.
You choose which Decisions your agents can use. An agent with a job to do searches for the judgement it needs, reads what the Decision asks for and calls it. Publish a new one and your agents can find it straight away.
- Off until you offer it. Nothing is visible to an agent until a person turns on “Offered to agents”
- Agents search for the kind of judgement. The customer’s details go into the call, never into the search
- Find once, call many. An agent keeps the Decision’s name and calls it for every item that follows
- You see what they looked for, including the searches that found nothing
acme/refunds1.4.0A customer asks for a refund and you need to know if it’s eligible.
call_decision ·acme/refundsacme/returns1.2.0Choosing the return steps for an item.
acme/disputes2.0.1A card payment is disputed with the bank.
acme/refundsOfferedacme/returnsOfferedacme/pricingNot offeredAgents and apps call one copy.
An agent finds the Decision by searching for what it needs, reads what it asks for and calls it. Your apps call it by name with a few lines of code. Either way the work happens on TypeFuse’s servers, so every caller goes through the same checks against the same release.
- Nothing to bundle. The SDK and CLI are thin clients; the rules never ship inside your app
- Fast enough to sit in the request. Answers through TypeFuse come back lightning fast, close to calling the model directly
- If TypeFuse can’t be reached in time, your code gets a clear error and uses its own default
// Your agent, over MCP search_decisions("refund eligibility") ←acme/refunds1.4.0 · 42/42 tested call_decision("acme/refunds", { days_since_delivery: 12, item_condition: "damaged" }) ← route: review · 0.88 · run_demo_1042
- Check the inputagainst
state_schema - Choose the releasethe newest the caller accepts
- Ask the modelthe release’s pinned jev-1.13.0
- Return the answersnative TypeSafe answers
- Record itwithin seconds
Your own keyDefault
Your TypeSafe key goes with each call, or you store one for the environment; nobody can read a stored key back.
Relay
Your key never leaves your app. TypeFuse prepares the request, your app sends it and hands back the answer.
ManagedEnterprise
TypeFuse’s key, with usage billed to you.
Every answer leaves a record.
Each call is recorded within seconds of its answer: who asked, what they sent, which release answered and what it said. The record is sealed, so anyone can check later that it hasn’t changed.
- Follow one request by its reference, across every Decision it touched
- See the exact release that answered, with the Definition it was published from
- Hand over an evidence pack to risk, compliance or a customer, on paid plans
run_demo_104209:42:18✓ Sealed- Caller
- Support agent · MCP
- Inputs
- days_since_delivery: 12item_condition: damaged
- Release
- 1.4.0 · revision 12
- Model
- jev-1.13.0 · 127 ms
- Answer
- route: review
- Confidence
- approve 0.08 · review 0.88 · decline 0.04
seal_demo_07 · 8b72…c1e9✓ matches the recorded contentsRefunds
acme/refunds · 1.4.0 · 1–6 November
- calls
- 6,960
- release
- 1
- sealed
- 100%
Watch it in production.
See how often each Decision is called, by whom, what it answers and how long it takes. When the mix of answers shifts, you can see it and open the calls behind it.
- Calls, answers and response time for every Decision and every caller
- Compare with the last period to spot a change in the mix
- Open any call from a chart straight to its sealed record
A review means the Decision sent the request to a person.
Private preview
Own your next decision.
Keep the judgement calls your agents and apps make under your control, with a record of every answer.
- Your criteriaThe people who own a decision set its rules, and change them when the business changes.The people who own a decision set its rules.
- Your evidenceEvery release is tested against real cases before your application ever sees it.Every release is tested on real cases first.
- Your recordEvery answer is traced and sealed, ready for an auditor or the customer who asks why.Every answer is traced and sealed.