(Behavioral scoring for AI agents)
See if your production agents go off task.
Kyde learns how each agent behaves and tells you the moment it stops behaving like itself.
Paste this into your agent
Set up score.kyde.com/skill.md It gets a key, sets three variables and checks that data arrives. Other ways
Where should alerts go?
Kyde posts to it, signed, on every band change. Leave it empty to poll.
Set these where the agent runs
OTEL_EXPORTER_OTLP_ENDPOINT=https://score.kyde.com
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_HEADERS="x-kyde-key=kyde_…"
OTEL_SERVICE_NAME=<agent-name> Shown once. Store the key now, it cannot be retrieved later.
Free · No account · Metadata only · No LLM
(One run, minute by minute)
A payment to someone this agent never paid.
-
Works on a payout task.
-
Calls
send_paymentto an IBAN it has never used. -
Receives a salted hash of the recipient, never the IBAN.
-
Its baseline holds 3 recipients from 412 runs. This hash is not one of them.
-
Score drops. Reason: "Used a recipient it never used before (iban). Possible attack."
-
The agent's next tool call carries the warning in its context.
-
Email or webhook (Slack built in) to the key's human.
Grey: inside the agent. White: Kyde.
On every plan Kyde warns your agent and you. On Pro, the hook holds a call outside the agent's confirmed contract until you decide: see pricing →
Example run, times invented. The recipient check →
One line for your agent. Four for you.
No SDK, no code changes. Kyde reads the OpenTelemetry your agent can already send.
Set up score.kyde.com/skill.md Paste into Claude Code, Codex, OpenCode or your own agent. It reads the skill, gets a key, sets the variables and checks that data arrives.
claude plugin marketplace add kydehq/kyde-score-skill
claude plugin install kyde-score@kyde-score-skill Installs the skill for good, so every new Claude Code session knows it. Reading a URL once installs nothing.
# Once per machine: ~/.claude/settings.json (env block) or shell profile
export CLAUDE_CODE_ENABLE_TELEMETRY=1
export OTEL_LOGS_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_PROTOCOL=http/json
export OTEL_EXPORTER_OTLP_ENDPOINT=https://score.kyde.com
export OTEL_EXPORTER_OTLP_HEADERS="x-kyde-key=<YOUR_KEY>"
# Per agent, at launch
env OTEL_SERVICE_NAME=<agent-name> claude Never put OTEL_SERVICE_NAME in ~/.claude/settings.json: the settings env block overrides the launch environment, so every agent on the machine merges into one. Without a name, Claude Code reports as claude-code, the same trap. Project settings are ignored.
export OTEL_EXPORTER_OTLP_ENDPOINT=https://score.kyde.com
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_EXPORTER_OTLP_HEADERS="x-kyde-key=<YOUR_KEY>"
export OTEL_SERVICE_NAME=<agent-name> For framework agents (Vercel AI SDK, LangGraph, OpenAI Agents): any GenAI instrumentation that emits gen_ai tool spans. Protobuf works from every SDK, JSON from the JavaScript ones. Give every agent its own service name.
processors:
attributes/kyde: # content never leaves
actions:
- { key: gen_ai.prompt, action: delete }
- { key: gen_ai.completion, action: delete }
- { key: gen_ai.tool.call.arguments, action: hash }
exporters:
otlphttp/kyde:
endpoint: https://score.kyde.com
encoding: json
headers: { x-kyde-key: "<YOUR_KEY>" } Run it in your client's network. Strip what you like, Kyde still scores.
claude mcp add --transport http kyde-score \
https://score.kyde.com/mcp \
--header "x-kyde-key: <YOUR_KEY>" Lets an agent read its own score mid-session. Tools: create_key, get_scores, set_webhook, claim_key, revoke_key.
No agent at hand? The same with curl
# a key, with or without a webhook
curl -X POST https://score.kyde.com/score/v0/keys \
-H "Content-Type: application/json" \
-d '{"webhook_url":"https://your.app/hooks/kyde"}'
# the scores
curl -s https://score.kyde.com/score/v0/scores \
-H "x-kyde-key: <YOUR_KEY>" One alert when the band changes. Nothing in between.
70–100 normal40–69 watch0–39 deviating
Kyde · support-agent coming soon
support-agent stopped behaving like itself.
- Score
- 35, from normal to deviating
- Reason
abrupt_shift: callsweb_searchwhere it used to callrefund_lookup- Since
- run 412, right after a model version change
As JSON on your webhook, live in every plan
POST /hooks/kyde
x-kyde-signature: sha256=<HMAC-SHA256 of the body, keyed with your key>
{
"event": "band_change",
"service_name": "support-agent",
"old_band": "normal",
"new_band": "deviating",
"score": 35,
"runs_seen": 412,
"after_rebaseline": false,
"rebaselined_at": null
} *Alerts by email, Slack and webhook are live on every plan. Free mails one instant alert a month, the rest come in the Monday review.
-
(Hijack)
It starts doing new things.
Tools it rarely or never called before. The pattern a prompt injection tends to leave.
reason abrupt_shift
-
(Loop)
It does the same thing again and again.
Same tool, same parameter hash, again and again. Counted via the hash your exporter sends (kyde.args.digest): repeats are visible, the content is not.
reason duplicate_submission
-
(Drift)
It slowly stops being itself.
The mix of actions moves away from the baseline, often after a model or prompt change.
reason gradual_drift
Agents change. The logs rarely say so.
- Model changes and behavioral drift A new model can change how the same agent works. Or barely at all. SWE-bench submission logs
-
(No LLM)
An LLM watching your LLM drifts too.
Plain statistics against a frozen baseline: CUSUM for sudden shifts, Jensen-Shannon divergence for slow drift. No model calls, no token cost per score.
-
(Same input, same score)
A disputed score is reproduced, not argued.
Every score names its baseline and method version. The same records always give the same number.
-
(Metadata only)
We score call metadata.
What leaves the network
- Timestamp
- when the call happened
- Run ID and step
- which task, which position
- Tool name
- what the agent did
- Hash of the parameters
- repeats visible, content not
- Status
- ok, error or abort
- Model and version
- coming: drift after an update
The score uses only the fields above. Anything else your exporter sends is dropped by a deny-by-default allowlist before storage. Hosted in the EU.
Will it alert on every change?
No. Kyde learns each agent over its first 30 runs and at least 3 days, then freezes the baseline. One alert per band change, not one per odd run. A signal for triage, not a probability that an agent was compromised.
Does it detect prompt injection?
It detects what a hijacked agent does next: tools it does not normally use, in an order it does not normally use them. From metadata alone it cannot prove an attack.
How do I add an agent?
Start it with the variables. Kyde knows it by its service.name and it shows up with its first data. No form, no dashboard, no registration call.
I run agents inside my clients' networks.
That is the case it is built for. The agent exports from wherever it runs, the alert goes to you. Only call metadata leaves, and the Collector strips more if you want.
Does it slow my agent down?
Never. Export is asynchronous. If Kyde is down, your agents run exactly as before.
How do I leave?
DELETE /score/v0/keys with your key. The key and every record under it are gone in one request. There is no account to close.
Start free. Hold when you need to.
- (Free)€0Loops, drift and task contract alerts, 200 agents per key, 90 days
- (Pro)€29Every alert instantly. The hook holds a call outside the contract, you decide
- (Team)€299Behavior report for your customers. More users coming
- (Control)from €990The gateway in your network. Stops the agent
Nothing is billed today.