Kastir

Kastir Runtime

How Kastir Runtime
stops an agent.

Kastir Runtime is a Python SDK that runs inside your agent's process. It plants decoys when a session starts, checks every tool call against them, and ends the session on the first touch.

What we plant.

Decoys look like the things an agent on the wrong path goes looking for. No honest task needs them.

Decoy types
KindExamplePlacementCaught when
API key~/.config/payments/.envOn diskThe agent opens the file, or the key shows up in any argument or result
Database credentials~/project/.env.productionOnly in listingsThe agent tries to open a file that was never written, or uses the credentials, including as HTTP Basic auth
Kubeconfig~/.kube/configOn diskThe agent opens it, or its token shows up in any argument or result
Document~/Documents/q3-payouts.csvOn diskThe agent opens it, or one of its reference codes shows up in any argument or result
Decoy toolkyc_override_approveAs a toolThe agent calls it

Where decoys go

On disk
Written into the agent's environment, where a search or a listing finds it.
Only in listings
Never written. It appears in directory listings, and any attempt to open it is caught by its path before a tool runs. There is nothing to read.
As a tool
Offered to the agent next to its real tools. It has no implementation: calling it is the touch.

Fresh for every session.

Decoys come from an industry profile: fintech, fintech-kyc, generic or infra. Each session gets new tokens with at least 20 random characters, so a touch names the exact session and ordinary text doesn't match by accident.

Real-looking, not real.

Formats look like the real thing but are provider-neutral by default, so they don't trip secret scanners that look for real provider formats. None of them opens anything.

Placed where work doesn't go.

A decoy only works where the task has no reason to go. During a pilot we decide placement with the engineer who runs the agent.

Half of these files are bait.

This is what an agent on a deploy task sees in its home directory. Open any file, the way an agent would.

Real files open as usual. Touch a decoy and the session ends before anything is read.

/home/agent Session run-000000 open
Files
    Tools the agent can call

    This demo needs JavaScript. It runs entirely in your browser.

    A simulation in your browser. Nothing here is sent anywhere.

    Every call, on the record.

    The same KYC agent, call by call. It plays once it is on screen. Select any call to see what the agent sent and what came back.

    Console Demo data

    Session run-00000000

    Waiting for the agent's first call.

    #TimeDecisionCallDecided in

    Demo data with fictional customers. Run locally, the console shows your own agent's events. There's no hosted version.

    Open the console full screen

    Fits into the agent you already run.

    Kastir Runtime sits between your agent and its tools. Your prompts and agent logic stay as they are, and we set it up with your engineers.

    Runs where your agent runs.Every check happens inside your agent's own process. Tool calls, their arguments and their results are not sent to us.

    Your tools stay yours.Real tools are wrapped, not changed. Decoy tools are offered next to them.

    Decoys planned with you.We choose decoys for each agent's workflow, so that no task it is given needs them.

    Set up with your team.We install it with your engineers, in staging first, and agree in writing what we see and keep.

    Security & privacy

    What it won't do.

    Kastir is one layer of several. These are its limits today, in plain words.

    It won't catch an agent that never touches a decoy.An attacker who already knows your real systems can walk past the bait. For misuse of real tools, an assessment designs the control that closes that path, such as a hard limit or a human approval. A rule layer inside Kastir is planned, not built.

    Re-encoded secrets can slip past the token check.Tokens are matched exactly, plus the base64 and URL-encoded forms of database credentials. An agent that re-encodes a secret some other way isn't caught by tokens. Path and tool matches don't have this gap.

    A token in a tool's output is caught after the tool ran.The result is withheld and the session ends, but the call itself happened.

    Decoys have to stay out of legitimate work.A task that genuinely needs to read every config file will touch a decoy and end its own session.

    A decoy tool can look like a real request.If a user really asks for what a decoy tool claims to do, an honest agent may call it and end its session. Decoy tools are chosen per agent so that no task it is given needs them.

    It doesn't replace your other controls.Keep your guardrails, permissions and monitoring. Kastir stops an agent when something has actually crossed.

    It's early.Version 0.1, and we're looking for our first pilot teams. There's no hosted service yet, and it isn't open source.

    Start with one agent.

    Start with an assessment of one agent. Where a decoy fits, we set Kastir Runtime up with you, in staging first. What we see and keep is agreed in writing before we start.

    or write to bruno@kastir.eu