One request.
Your agent has the context. Now it needs to know what to do next.
“Where is my order?”The decision layer for autonomous agents.
An 879M parameter model built for intent routing, tool selection, and agent handoffs, over text, images, documents and audio. Calibrated probabilities. Zero output tokens.
Your agent has the context. Now it needs to know what to do next.
lookup_ordersearch_docsissue_refundescalate_to_humanYour agent has the context. Now it needs to know what to do next.
“Where is my order?”Look up an order. Search the docs. Issue a refund. Escalate to a human. The next step is a choice.
Four tools. One task.In a generative routing pipeline, text is generated and parsed before your application can take the next step.
Context → Generate → Parse → RouteKrun evaluates the context against your options and returns a decision with calibrated probabilities.
Context + options → DecisionKrun selects the tool. Your application executes it. A clear boundary between deciding and doing.
Selected tool: lookup_orderSend your context and options. Get a typed answer, a probability distribution, and the information your application needs to act.
{
"context": "Customer wants to return an item.",
"questions": {
"department": {
"type": "choice",
"options": {
"shipping": "Shipping and delivery issues",
"returns": "Returns and refunds",
"billing": "Billing and payment issues"
}
}
}
}Illustrative demo · Confidence = top-1 − top-2 probability. Abstention is advisory for options with descriptions.
Send named questions: choice, noul, score or multi. Context can be text or parts: images, documents and audio. Receive one typed answer per question, with calibrated probabilities. ~17ms model execution.
Read the documentationcurl -X POST https://api.krun.ai/v1/decide \
-H "Authorization: Bearer $KRUN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"context": "Customer wants to return an item.",
"questions": {
"department": {
"type": "choice",
"options": {
"shipping": "Shipping and delivery issues",
"returns": "Returns and refunds",
"billing": "Billing and payment issues"
}
}
}
}'{
"model": "krun-one-v1",
"answers": {
"department": {
"type": "choice",
"choice": "returns",
"confidence": 0.9993,
"probabilities": {
"shipping": 0.0003,
"returns": 0.9996,
"billing": 0.0002
},
"abstain": false,
"abstention_status": "advisory"
}
},
"usage": {
"input_tokens": 48
}
}The model defaults to krun-one-v1. The request ID is returned in the X-Request-ID response header. Usage reports input_tokens.
Stop burning autoregressive tokens on deterministic branches. General generative LLMs generate one token at a time. Krun One is an encoder-style decision tensor mapping directly to state transitions.
Standard LLM logprobs suffer from sequence length distortions. Krun One yields mathematically sound, calibrated posterior likelihoods without prompt fragility or hallucinations.
Eliminate token-by-token decoding loops. A single direct tensor forward pass resolves decisions instantly, slashing p99 latency by over 80% compared to typical prompt cascades.
Standard models show strong positional biases (primacy and recency effects). Krun One candidate routing guarantees symmetrical evaluation independent of list permutation.
Head-to-head on the same held-out evaluation set: Krun One V1 against the previous generation, Krun One v0.3.
Tool routing accuracy
vs. Krun One v0.3
Held-out KrunBench v1 evaluation split, identical code for both models; temperatures and thresholds fitted on a separate fit split. Latency: RTX 4090, bf16, one typical question (p50).
Offload routing decisions from expensive frontier LLMs. Save latency, token budgets, and reduce prompt schema bloat across autonomous agent runtimes.
Frontier models hallucinate tool parameters and drop efficiency when context windows swell with repetitive OpenAPI specs. Krun One accepts lightweight tool keys, routes in ~17ms with 97.4% confidence, and yields execution control directly to deterministic handlers.
Choice, noul, score and multi questions about the same context, mixed in a single call. One question is one decision, whatever its type.
Pick one of several alternatives: departments, intents, tools.
{ "type": "choice", "options": { "billing": "", "support": "" } }Evaluate a yes/no proposition: needs a human? likely fraud? should retry?
{ "type": "noul", "instructions": "Is the customer asking for a human?" }Rate on ordered levels: severity, urgency, quality, risk.
{ "type": "score", "instructions": "How severe?", "levels": ["Minor", "Degraded", "Blocking"] }Tag everything that applies: topics, risks, required follow-ups.
{ "type": "multi", "options": { "billing": "", "refund": "", "urgent": "" } }Request early access. We are onboarding design partners running high-volume autonomous agents and intent classification pipelines.
Tell us what you’re working on.