Urgent.News

What's breaking now, across thousands of outlets.

AI

Auditable agents: turn the answer into a claim you can check

A model tells you "Q2 cloud spend was $45,000 — a 12.5% variance over budget." Now two uncomfortable questions: Why? Which spreadsheet cell, which policy clause, which calculation? Again? If you run it tomorrow, do you get the same answer — and can you prove it's the same? Most agent frameworks can't answer either cleanly. The run is a stream of messages; the "reasoning" is prose in a log; the…

The article discusses the importance of making the underlying state of an AI agent's answer inspectable and reproducible. The author proposes treating the agent's output as a "typed artifact" within a versioned context, rather than a message in a bag. By linking each derived answer to its inputs as "typed edges," the entire reasoning process becomes a graph that can be walked to determine the origin of the answer.

This approach allows for easy identification of the 'why' behind the answer and for checking if the same result would be produced in a repeat run by comparing context hashes. The author presents a Python example using the Reactifact framework to demonstrate how to implement this reproducible answer approach, including the creation of artifacts, versioned context commits, and queryable provenance edges.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

TRAIL TUTOR

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass TrailTutor AI: Use AI for One Minute, Explore the Real World for Ten What I built TrailTutor AI is an outdoor…

More from Friday 9 October →