cd /news/ai-agents/weir · home topics ai-agents article
[ARTICLE · art-110854] src=promptcube3.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Weir

Developer built Weir, an open-source tool that runs deterministic unit tests on AI agents using existing OpenTelemetry traces, without requiring an LLM. It verifies agent behavior and detects forbidden flows, producing byte-identical results locally. The tool is Apache-2.0 licensed and available via pip install weir-scan.

read1 min views1 publishedAug 25, 2026
Weir
Image: Promptcube3 (auto-discovered)

So I built Weir — deterministic unit tests for AI agents that don't need an LLM to run. It chews on the OpenTelemetry traces you're probably already collecting and answers two questions:

  • How much of your agent's behavior your telemetry can actually provehappened - Whether a forbidden flow slipped through, shown as a witness path you can fail CI on

Same input, byte-identical answer every time. Nothing leaves your machine. No LLM in the loop.

This is the kind of thing I'd slap into our CI pipeline at work and watch the compliance team's blood pressure drop. Let's be real — most of us are flying blind on what our agents actually do once they hit production. Logs say "done" but who's verifying the how?

The install is stupid simple if you want to poke at it:

pip install weir-scan && weir gauge --sample

It's Apache-2.0 licensed, and the roadmap is totally out in the open. I'd genuinely love to know where it breaks on your trace exports — there's a GitHub repo floating around but I'll let you hunt for it.

Used Claude Code to help draft this post, which honestly tracks. The tool itself? Built to make sure your agent doesn't become a black box with a success stamp.

Next AI makes building software cheaper →

All Replies (3) #

Your experience with testing agents sounds like it could save others some serious headaches — what's one lesson you wish you'd learned earlier in the process?

── more in #ai-agents 4 stories · sorted by recency
── more on @weir 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/weir] indexed:0 read:1min 2026-08-25 ·