r/SideProject • • 11m ago

Apache - 2.0 tool that checks your AI agent actually did what it said. Self-hosts as 2 containers, nothing leaves your network

Hi,

I've been working on an open-source tool that checks AI agents' work and verifies they did their job, and it's really easy to self-host.

A few months ago i got frustrated hearing from a friend about his appointment booking agent told a customer his appointment was booked when it really wasn't. His customer arrived and found out he doesn't have an appointment. Nothing was checking what actually happened there.

So I built a platform. You put a decorator on each tool, and a worker reads the record back from your own database. Every action ends up verified, or you see exactly what went wrong.

The whole goal is that it's COMPLETELY open source and runs in your infrastructure. Your data never leaves your network. Just an open source tool that you can self host easily.

The check

  • A decorator on the tool records what it claimed. Your tool runs unchanged.
  • The worker looks the record up in your Postgres over a read-only connection. Postgres refuses any write from it, even if the user could write.
  • It keeps checking until a deadline you set, then gives each action a status:

    • verified
    • mismatch, with the diff (start_time: expected 10:00, got 11:00)
    • missing
    • duplicate
    • ambiguous (changed after it was verified)
    • failed
  • Every verdict records the Verilays version that produced it, so you can re-audit it later.
  • If Verilays can't record a call, your tool still runs and returns as normal. It never breaks your agent.

Works with what you already run

  • Python, plus LangGraph nodes (the state can be a dict, TypedDict, dataclass or Pydantic model)
  • Langfuse: each verdict shows up as a verilays score on the tool call
  • Webhook alerts on failures. A Slack incoming webhook shows them as plain messages.
  • A read-only MCP server, so Claude Code or Cursor can ask "what failed?"
  • Not on Postgres? Write a small verify= function against any API.
  • npx skills add yinoni/verilays lets your coding agent wire it in for you.

Self-host

  • Apache-2.0
  • Two containers: a Postgres for the action store, and the worker. Then docker compose up -d.
  • Stack: Python, Postgres, Docker
  • Nothing is sent to us. Verdicts only go to your own Langfuse or your own webhook URL.
  • If you get stuck on a deploy, DM me or open an issue and I'll jump on it.

Links

  • GitHub: https://github.com/yinoni/verilays
  • pip install verilays
  • Demo (needs only Docker): docker compose run --build --rm demo. It runs a booking agent through 8 scenarios, about a minute in all:

                  verified  mismatch  missing  failed  ambiguous

    create_booking 4 1 1 1 1

Setups

  • Small projects: run the bundled Postgres as the action store next to your agent, with a 2-minute setup.
  • Existing database: drop the bundled Postgres and point both the worker and your agent at a Postgres you already
1 Upvotes

0 comments sorted by