The Sorting Scribe

Why Your AI Castle Needs a Gatekeeper

The Four Characters

Every kingdom needs the right hands for the right work

👑
Arcana I

The King

Human Judgment

Final arbiter. Wisdom, nuance, moral reasoning. Slow, expensive, can only handle one decision at a time.

Cost: High  ·  Speed: Slow  ·  Reach: 5%
🧙‍♂️
Arcana II

The Court Wizard

LLM Agent

Reasoning powerhouse. Handles ambiguous, complex, creative decisions. Expensive per spell, slow, overkill for simple tasks.

Cost: High  ·  Speed: Moderate  ·  Reach: 15%
📜
✦ The New Arrival ✦

The Sorting Scribe

Classification

Fast triage at the gate. Reads incoming decisions, applies the rulebook, routes to the right handler. Incredibly fast, cheap, deterministic.

Cost: Near-zero  ·  Speed: Instant  ·  Reach: 80%
🔴 🟣 🟢 🟡
⚙️
Arcana IV

The Clockwork Automaton

Script / Code

Deterministic execution. Does one thing perfectly every time. Fast, reliable, never tires, zero cost after construction. Can't adapt — no reasoning, no creativity.

Cost: Zero  ·  Speed: Instant  ·  Adaptability: None

The Story

Act I — The Kingdom in Chaos

Before the Sorting Scribe, every decision arrived at the throne room. The King spent his mornings sorting invoices. The Court Wizard was summoned to read weather reports. The Clockwork Automaton sat idle because no one told it what to do.

Act II — The Three Knights

The kingdom had three specialized knights — Sir Planner, Sir Sharpener, Sir Victor. But even with three knights, every decision no matter how trivial went through the full chain. The dragon grew stronger with every wasted hour.

Act III — The Sorting Scribe Arrives

A small, fast figure at the gate. Not a knight. Not a wizard. A clerk with a rulebook and colored stamps. The Scribe didn't solve decisions — it sorted them. 80% of incoming work never reached the King or Wizard.

The Rulebook
🔴 Red stamp → King's judgment required
🟣 Purple stamp → Wizard's reasoning needed
🟢 Green stamp → Automaton handles it
🟡 Yellow stamp → Already decided, file and forget
Act IV — The New Efficiency

The King only saw decisions requiring human judgment. The Wizard only cast spells for complex reasoning. The Automaton handled routine tasks at near-zero cost. The kingdom didn't just get faster — it got smarter about where it spent its most valuable resources.

The Automation Pyramid

Classification fills the missing layer

👑
King — Human Judgment
Only 5% reach here
🧙‍♂️
Wizard — LLM Agent
15% need this
📜
Sorting Scribe — Classification
80% handled here
⚙️
Automaton — Script / Code
Deterministic execution

In Practice

🎫 Example I

Customer Support

Merchant: "Damaged goods, want refund" → 📜 Scribe sees 'damaged' + 'refund' → 🟢 Green stamp → ⚙️ Automaton processes refund

No human or LLM needed. Instant resolution.

✉️ Example II

Email Spam

"Gold for a small fee!" → 📜 Scribe matches pattern → 🟢 Green stamp → ⚙️ Shredded
Unknown merchant, plausible request → 📜 No pattern match → 🟣 Purple stamp → 🧙‍♂️ Wizard analyzes

Known spam costs nothing. Unknown mail gets proper analysis.

💻 Example III

Code Review

PR: update dependency → 🟢 CI/CD handles it
PR: modifies business logic → 🟣 LLM reviews
PR: new architecture → 🔴 King decides

Same tool, three routes. Classification picks the right path.

"Classification isn't a replacement for the King, Wizard, or Automaton. It's the gatekeeper that decides who does what."

In The Real World

This metaphor maps to real technology. Laya is an open-source, Apache 2.0 classification model — a 421M-parameter scribe that runs in ~33ms. It handles structured decisions 40–200x faster and 100x cheaper than frontier LLMs.

1000 labeled examples can train it to 90%+ accuracy on your domain.

421M Parameters
~33ms Inference Time
100x Cheaper than LLMs
90%+ Accuracy (1k examples)

The kingdom doesn't need more Knights. It doesn't need a bigger throne room. It needs someone at the gate who knows who handles what.

Hire the Scribe.

The Sorting Scribe