Sage acts / Commerce
A browser agent reads a refund request, asks Sage, and executes an approved refund in a local merchant app. Other requests are declined or sent for human review. No real payments are made.
Watch the recording ↗Sage / The decision model
Your software decides, ranks and routes with frontier-model judgment, in milliseconds, with a calibrated confidence score to branch on.

The problem
Chat models return prose. Code needs an answer it can branch on.
An agent loop or a checkout can't wait two seconds for an essay.
Without a confidence score, you trust everything or nothing.
The missing primitive
Fast enough for the hot path, smart enough to read a system prompt, honest enough to say “I don’t know.”

See it decide
Run any scenario live in the console.
How it works
Sage answers closed-ended questions instead of writing text.
Any text or list. Put your policy in the instructions.
An answer field your code can switch on, with a 0–1 probability.
Act when Sage is sure. Send the rest to a human.
import os, httpx
resp = httpx.post(
"https://sage.levanto.ai/decide",
headers={"Authorization": f"Bearer {os.environ['SAGE_API_KEY']}"},
json={
"content": document,
"question": {"id": "review", "kind": "yesno",
"instructions": "Needs compliance review?"},
},
)
answer = resp.json()["result"]["answer"]
if answer is None:
escalate_to_human(document) # not sure? a human decides
elif answer == "yes":
send_to_compliance(document)
else:
send(document)Agent-native install
Paste one prompt into Cursor or Claude Code.
levanto-sage-decide.SKILL.md. Drop it in .cursor/skills/ or .claude/skills/
You now have access to Levanto Sage, a decision-model HTTP API that turns content + a question into a structured, machine-actionable decision (Yes/No, Choice, Scale, Sort, Tags). For Yes/No, Choice, and Tags, an uncertain answer is null.
1. Install the skill so you know the full API contract:
mkdir -p .cursor/skills && curl -fsSL "https://platform.levanto.ai/api/intelligence/skill" -o .cursor/skills/levanto-sage-decide.SKILL.md
(If you use Claude, put it in .claude/skills/ instead.)
2. Set my Levanto API key as the SAGE_API_KEY environment variable. If I don't have one yet, pause and tell me to create one at https://platform.levanto.ai (there is a free plan; paid plans start at $14/mo).
3. The endpoint is https://sage.levanto.ai. POST /decide with the header `Authorization: Bearer $SAGE_API_KEY`.
4. As a first call, make this decision:
{
"content": "Marketing email draft promotes \"guaranteed 40% returns\" and describes the product as \"risk-free\" for accredited investors.",
"question": { "id": "needs_review", "kind": "yesno", "instructions": "Does this copy require compliance review before send?" }
}
Read the skill for the response shape. Then explore this repository: find places where we already make judgment calls with brittle rules, heuristics, or a slow LLM call (moderation, triage, routing, risk, tool gating, ranking, etc.). Propose 2–3 concrete insertion points, pick the strongest one with me, wire it through /decide, and route on the typed result. For Yes/No, act on yes or no and send null to a human. The skill lists each kind's fields.One API, five answer shapes.
Sage 1.4 vs Jev 1.13.0
The hot path
“May support auto-fulfill an export request today by email, without Owner approval or a DSAR?”, replayed in real time. Logs
Recorded run, 2026-07-23.
Run it yourself · start freeUse cases
Gate tool calls and route between models inside the agent loop.
Route tickets, score urgency, auto-approve the clear cases.
Tag spam, scams and policy violations at feed speed, with your own rules.
Judge transactions inline; only suspicious ones stop.
Tag, score and sort records in batch, with no classifier to train.
Six local demonstrations, built around recorded Sage responses. Five-second edits compress the story; playback speed is not model latency.
A browser agent reads a refund request, asks Sage, and executes an approved refund in a local merchant app. Other requests are declined or sent for human review. No real payments are made.
Watch the recording ↗An injected prompt proposes sending a customer file outside the organization. Sage flags the action and the local release gate blocks it. The input and environment are synthetic.
Watch the recording ↗Sage chooses LONG from a scenario post and historical prices available at that moment. The UI then replays a paper position over subsequent real prices. This curated profitable episode is not a backtest or a live trade.
Watch the recording ↗A simulated survey acquires 18 tracks and highlights three inspection candidates. Sage assesses an image and requests a closer pass on one animal. The imagery, telemetry and scan are simulated; red marks inspection priority, not a diagnosis.
Watch the recording ↗The game sends its state, Sage picks run or jump, and the controller moves. Captured live; 6.1 s of play cut to 5 s.
Watch the recording ↗ · View the controller ↗Recorded Sage answers guide 100 legal half-moves. When Sage leaves the choice open, the controller plays the top-scored move.
Watch the recording ↗ · View the controller ↗The home-page animation is an illustration: its 100 ms is not a measurement, and its code-generation scenes are concepts.
