S LEO Soul Kadropic Labs
ProductUse CasesPricingDocs FAQsGlossaryEnterprise

part of Project LEO

Give your AI agent a soul

Give your agents a metacognitive layer that detects uncertainty, verifies decisions, and prevents confident mistakes in real-time, adding also a self learning background over time backed by pure math.

or see all features →
100 free turns every month · no credit card required
S leo_soul · live mind

Works with the model you already use

OpenAIAnthropicAzure OpenAI OllamaLocal modelsBedrock
6 reasoning checks / turn <48 KB portable agent memory 1 line of code to adopt ≤ ε guaranteed answered-error rate
The Challenge

Confident Mistakes in an Autonomous World

Autonomous agents often act with unwavering confidence, even when they're guessing. A single "confident mistake" in financial, legal, or operational workflows can be catastrophic. LEO Soul adds the missing metacognitive layer, ensuring agents know exactly what they know—and what they don't.

Without LEO Soul

It acts with uncalibrated confidence.

The agent proceeds with tasks, makes decisions, or provides information without truly knowing its own certainty. Errors are discovered downstream, often after significant impact, leading to costly rectifications and eroded trust.

With LEO Soul

It verifies decisions before they propagate.

Before every critical output, LEO Soul measures the agent's genuine certainty. Solid, verified outputs proceed directly. Shaky or uncertain ones trigger a metacognitive loop, allowing the agent to ask for clarification, confirm, or refuse, preventing confident mistakes from impacting critical operations or users. This continuous feedback loop also sharpens the agent's understanding over time.

How it works

One turn in, a smarter turn out.

Route each message through LEO Soul instead of straight to the model. You get back the reply plus a small memory blob - store it and pass it back next turn. That round-trip is how your agent learns.

1

Route the turn

Send the user's message through LEO Soul. A near-zero-cost triage sizes up the risk so calm turns stay fast and cheap.

2

Think, then decide

It weighs its own uncertainty, checks for flattery, considers the stakes, then decides whether to answer, ask, confirm, refuse, or hold.

3

Keep the memory

You receive the reply, a readable trace of the decision, and updated memory. Persist it - calibration and beliefs ride inside, and they stay yours.

Integration

Three steps to wire it into your AI.

LEO Soul runs in your backend, between your app and the model it already calls. If your code can call an AI model, it can call LEO Soul. Most teams are live in an afternoon.

  1. 1

    Point your AI client at LEO Soul

    Keep the OpenAI or Anthropic SDK you already use. Change one line, the base URL, so your calls go through LEO Soul first.

    client = OpenAI(
      base_url="https://soul.kadropiclabs.com/v1",
      api_key="sk-leo-…",
    )
  2. 2

    LEO Soul judges every call

    Each request runs the full decision loop, weighing uncertainty, pressure, and stakes, then returns the same response shape your code already parses, plus a small memory blob.

  3. 3

    Hand the memory back

    Store that blob and pass it in next turn. That round-trip is how your agent remembers and gets sharper - and the memory stays yours.

Everything beyond these three - policies, self-hosting, SSO, webhooks - is optional tuning. See the full integration guide →

What's inside

Not a “be careful” prompt. A mind.

Not clever prompt instructions - real methods doing real work, with every decision on the record. The tag on each card names the math underneath, for anyone who wants to check.

Semantic entropy · Calibration

Confidence you can trust

It doesn't just sound sure. It checks how much its possible answers actually agree, then tunes the number so that "90% sure" really is right about 9 times out of 10.

Conformal prediction

Knows when to abstain

When it isn't sure enough, it asks a question or holds back instead of guessing. You set how careful it has to be, and it keeps its mistakes under that line.

Bayesian updating

Doesn't cave to pressure

It changes its mind for new facts, not for a raised voice. Push back without anything new and it holds its ground - instead of being talked into a wrong answer.

Online meta-learning

Teaches itself - in the background

It quietly learns which kinds of questions trip it up in your product and gets sharper every turn - no training runs, no data team. And what it learns lives in your own memory, so it stays yours.

Expected information gain

Genuinely curious

When it needs to ask, it picks the one question that clears up the most confusion - not a pile of them - and comes back to the rest later.

Risk-based triage

Fast on the easy turns

Easy questions get an instant answer; it only slows down to think hard when the stakes are real. Speed where it's safe, care where it counts.

Each method is documented with its guarantees in the architecture reference.

Why it's different

Most guardrails are a prompt. This is a system.

Capability
Prompt guardrails
LEO Soul
Confidence
a guess
calibrated & certified
Under user pressure
caves
re-derives from facts
Agent memory
locked to a vendor
a small blob you own
Improves over time
no
learns your domain
Cost on easy turns
full check every time
light fast path
Built for teams & enterprise

A platform, not just an endpoint.

Everything around the engine is built to the standard a serious company expects - secure by default, controllable, and transparent.

Spectator Mode - watch it decide, live

A real-time window on your agent's metacognition: decisions, warnings, anomalies, boundaries, and recoveries stream onto your dashboard as turns run - without one word of message content. The pilot's instrument panel, not the conversation. On every plan, Free included.

Two-factor authentication

Protect every account with app-based 2FA (TOTP) and one-time backup codes. Sign-in, sign-up, and password reset are rate-limited against brute force.

Scoped API keys

Lock each key to an expiry date and an IP allowlist (CIDR supported), so a key only works where and when it should. Rotate or revoke instantly.

Signed webhooks

Stream events - new key, usage thresholds, and escalations when a turn needs a human - to your systems over HMAC-signed HTTPS. Verify every delivery, no polling.

Usage, alerts & export

Live analytics, proactive alerts at 80% and 100% of your quota, and one-click CSV export - a busy month never surprises you.

Try it in the browser

An in-dashboard Playground runs a real turn and shows the full decision trace - no key needed. It even puts the raw model beside the Soul-governed answer, so you can see exactly what the judgement layer changes. Official Python & JS SDKs, SSO (SAML) / SCIM, Prometheus metrics, an audit trail, and self-hosting round out the enterprise story.

Prove it works

A number you can defend to a security review.

Wiring it in is the easy part (three steps, above). The hard part is answering "how do you know it works?" without hand-waving - so LEO Soul measures itself and hands you the proof.

Streaming that can't take words back

Text streams as the model writes it - but this layer's job is to catch answers that shouldn't be given, and a word you've already read can't be unsaid. So we hold each sentence until nothing can still change it. You never see a "sorry, ignore that".

Assurance: the guarantee, measured

Report real outcomes whenever you learn them - a ticket that resolved, a rating overnight - and get your own error rate on answered turns, with a 95% upper bound, against your own budget. The report is built not to flatter us: no verdict until there's enough data, judged on the bound rather than the average. It's what a security review or an AI Act assessment actually asks for.

Your data, your memory

The learning belongs to you.

The engine is stateless - everything it learns lives in a small memory blob that you store and pass back each turn. Run it as a library or self-host the whole thing in your own cloud. Switch away whenever you like and you keep everything your agent has learned.

Give your agent a soul today.

Wrap one turn, keep your model and your data, and ship an agent that knows when not to answer.

100 free turns every month · no credit card required