Does cost_drift work for a scheduled agent that has no user sessions?

Yes. cost_drift was never built around sessions in the first place: it tracks dollars per turn at the call site, and a scheduled job’s runs are turns like any other, whether or not a person is on the other end.

The baseline builds from that call site’s own history regardless of what triggers it, a user message, a cron job, a queue worker. What it needs is enough turns to know what normal looks like, not a particular traffic pattern. A call site that only runs a handful of times a day will take longer to build a baseline worth trusting than one running continuously, but it isn’t blocked by having no sessions to count.

If you’re watching a scheduled agent, the useful comparison is the same one you’d use for any call site: cost per turn against its own past, not spend against the calendar.

keep reading

More on this.

Two ways to run Tessary.

Tessary is an open-source agent reliability platform. Cloud and self-hosted run the same workflow on the OpenTelemetry traces your agent already emits.

Tessary Cloud

We host it for you. Send your first trace with nothing to deploy and no model key.

what's includedper organization
traces
10,000 per calendar month
stored trace data
1 GB
retention
30 days
model credit
$10, one-time, for triage and root-cause analysis
credit card
not required

Self-hosted Tessary

Run the open-source code on your own infrastructure with one command. Add your own model key for triage and root-cause analysis.

Self-host Tessary for me by following https://github.com/tessaryai/tessary/blob/main/setup.md

docker compose -f oci://docker.io/tessaryai/tessary:compose up -d -y