Decisions
Use AI reasoning where it helps, and fast decisions where it’s a judgment call, with thresholds you control.
Why
Some steps shouldn’t be a long AI reasoning loop. They’re a bounded judgment: which bucket, yes or no, how urgent. Tico runs these as decision questions:
- You define a question.
- The model returns probabilities, in about 200 milliseconds. It writes no prose, so it can’t invent facts.
- Your code acts on thresholds you set. Below the threshold, it’s left for a human.
That makes these steps fast, cheap, predictable, and easy to audit.
Three kinds of question
| Type | Answers | Example |
|---|---|---|
| Yes/no | How likely it’s true | Does this email involve money? |
| Choice | One of a set | Archive, reply, route, or needs the owner? |
| Score | An ordered level | Not urgent, this week, today, or right now? |
It’s the same format as OpenRouter’s Decisions API. Any bot or workflow can ask with hub decision ask. Decisions use Jev from TypeSafe, an optional add-on you turn on with a TypeSafe key.
For each new email, Tico asks which bucket it belongs in, whether it asks for something, whether money or legal risk is involved, and how urgent it is. It archives only when at least 85% sure, and marks mail as needing the owner at 70%. Everything else waits for a human.
Decisions that ship today
| Decision | What it decides |
|---|---|
| Inbox sorting | Which bucket each email goes in, whether it’s a request, money or legal, and how urgent. |
| Draft check | Whether a draft commits you to money or a date, confirms a meeting time, or claims something the thread doesn’t support. Flagged drafts are marked for a human. |
| Duplicates | Whether a new message, lead, or task is already one of the open items. |
| Listening | Which inboxes a saved post belongs to (market, content, leads), and how to rank search results for review. |
| Reply intent | What an unclear sales reply means, after the fixed opt-out rules. |
| Slack routing | Whether a message asks for something, replies to the last bot, or names a bot. |
Decisions sort, flag, and route. They don’t send anything. Bots draft outbound email until sending is turned on for each bot.
The question files are in questions/ in the repo.