DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to flag risky behavior in AI traces with Span-01 with Awesome Decision Models

Label each AI trace for behaviors you define, such as prompt injection or agent loops.

Short answer: Open the Hosted APIs section and read the Span-01 entry, which classifies AI traces for behaviors you define in plain language; then Get an OpenRouter API key and find the Span-01 page at openrouter.ai/respan/span-01 linked from the README; write one plain-language definition for each behavior you want to flag, such as prompt injection, hallucination, or agent loops. All steps.

Credentials. The OpenRouter key grants access to your account, so keep it in an environment variable and do not commit it to the trace review repo.

Who it is forAn AI product engineer reviewing agent traces who needs to find prompt injection, hallucination, or loops without reading every trace by hand.

The problemReading traces manually does not scale, and keyword search misses many behaviors described in plain language.

The outcomeEach trace gets present, absent, or not observable for every behavior you define, with a list of traces to review first.

What you need first

  • A web browser to open the repo's README and the linked provider docs
  • An account and API key for the hosted provider you choose (for example TypeSafe console, OpenRouter, or Microsoft Foundry)
  • For local runs: Ollama installed, or a Python environment with the package named in the model's own page
  • A list of your own options (labels, tool names, or rubric levels) to score

Steps

  1. Open the Hosted APIs section and read the Span-01 entry, which classifies AI traces for behaviors you define in plain language.
  2. Get an OpenRouter API key and find the Span-01 page at openrouter.ai/respan/span-01 linked from the README.
  3. Write one plain-language definition for each behavior you want to flag, such as prompt injection, hallucination, or agent loops.
  4. Run the classifier over a sample of traces and save each result with its trace ID.
  5. Review every trace marked present, and spot-check a sample marked absent.

Prompt for your agent

Using the Span-01 entry in github.com/AnotiaWang/awesome-decision-models, classify the traces in <traces-folder> for prompt injection and agent loops through the OpenRouter route the README links. Expected output: one present, absent, or not observable value per behavior per trace. Verify by reading three traces marked present and confirming the behavior is actually there.

Caveat. The README gives Span-01 no accuracy numbers, so check its labels against traces you have already reviewed before trusting it on a larger set.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for AnotiaWang/awesome-decision-models and "Flag risky behavior in AI traces with Span-01"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer