Bounded Classifier, Open-Ended LLM & Agent
How bounded typed classifiers (Choice · Score · Boolean Gate) and open-ended LLMs divide work on the exact same ticket.
Bounded Decision Model
Closed Answer Space Input
Parallel Typed Evaluation
Urgent?
Owner?
Risk?
Missing?
Same Input / Context
Ticket #4812 + Customer Message + Policy
Same input · Different interface · Different job
Open-Ended LLM
Open-Ended Generation Input
Token-by-token generation
Text / JSON output
Schema validation (JSON Schema)
Decision in app code
Example Output (JSON)
{
"urgent": true,
"owner": "logistics",
"risk": "high",
"draft": "Damage report..."
}
3 Decision Primitives
Define the question structure; get typed decisions instead of prose.
Choice
Pick one known option
Logistics0.91
Billing0.06
Sales0.02
Support0.01
Score
Place on an ordered scale
What is the risk level?
Low
Medium
High (0.88)
Boolean Gate
Test condition: Is this action irreversible?
Note: TypeSafe AI's commercial JEV model calls this binary gate "Noul"; in general architecture it is a boolean gate.
5 Real Judgment Points Inside an Agent
RouteWhich team or sub-agent should handle this?
GateIs this safe, or is human approval needed?
RerankWhich retrieved passage is most relevant?
VerifyDoes the output satisfy policy & schema rules?
JudgeIs the generated reply faithful to evidence?
Calibration warning: A raw 0.90 score does not mean 90% real-world accuracy without calibration.
When to Use a Bounded Classifier
- The answer space is a known, closed set of options
- Routing and gating decisions must run at low latency
- Application code needs a typed enum, score, or boolean flag
- You control risk with calibrated thresholds (e.g. escalate < 0.80)
- Thousands of repeated triage or rerank checks happen per minute
- You want predictable flat cost without prose parsing overhead
When to Use an Open-Ended LLM & Agent
- Customers or staff need fluent natural language responses
- Complex documents require synthesis, comparison, and explanation
- Code, SQL queries, or rich multi-field drafts must be generated
- The answer space is open-ended and cannot be enumerated upfront
- Multiple reasoning steps depend dynamically on earlier findings
- The task requires creating an artifact rather than picking a label