Skip to content
TRISOL

TRISOL

Ai agent verification lifecycle

Created on 3rd October 2026

•

TRISOL

TRISOL

Ai agent verification lifecycle

The problem TRISOL solves

AI agents are easy to demo and hard to trust. An agent can answer well in a demo and still have problems in its code that only show up in production:

A model call with no timeout hangs the whole app.
A missing error handler or retry turns one API hiccup into a crash.
A tool loop with no limit keeps running and burns money.
A vague prompt with no grounding rule lets a support bot make up answers.
A router that can return None, or two agents claiming the same keyword, sends requests to the wrong place.
A knowledge base full of duplicate or empty documents quietly hurts retrieval.

Developers usually find these problems the hard way, after something breaks. And there's no standard way to say how reliable an agent is, so "it seems fine" is the only measure.

What Trisol does about it

Trisol takes a whole agent codebase and checks it in four steps:

Test: five checks read the code, prompts, data and routing, and report each defect with its file and line.
Benchmark: a 0-100 scorecard built only from measurements, such as the share of model calls that have a timeout, error handling and a retry. It also benchmarks retrieval on the project's own documents.
Fix: safe defects get exact, reviewable fixes, shown as diffs first and written only when you ask.
Verify: after fixes are applied, the audit re-runs and the score history shows before and after.

It has no runtime dependencies, works offline, can fail a CI build on serious findings, and has a live web dashboard.

Challenges we ran into

  1. Making the fixes safe to apply automatically
    Editing someone's code automatically is risky. We made every fix a single exact replacement and made it refuse to run if the original text appears more than once, if the file changed since the audit, or if the edited Python file would no longer parse. Fixes are a dry run unless you pass --apply.

  2. Making the score honest
    It's easy to invent a score that looks good. We built every number from something measured, such as 6 of 21 safeguards present across 7 model calls, and left out areas a project doesn't have instead of scoring them as perfect.

  3. Using Claude without trusting prompts or depending on it
    Trisol uses Claude to review judgement calls the rules can't make. But the prompts under review are untrusted input, so they're sent fenced and marked as data, which stops a prompt from instructing the reviewer. And every static check still runs when Claude isn't available, with the report saying what was skipped.

  4. Setup problems across Windows Python environments
    With Anaconda and multiple Python installs, pip install -e . put trisol into a different environment from the one the shell was using. That caused "command not recognized" and ModuleNotFoundError, so we documented the fix in the README.

  5. Running the dashboard
    Starting the live dashboard failed with a "port already in use" error because an earlier server was still running. The error message pointed to --port as a workaround.

  6. Testing against realistic bad code
    To check the audit catches real problems, we planted defects in demo agents and built a deliberately buggy frontend agent. Then we compared the findings against a known answer key to see what the tool catches and misses.

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio