Dev.to AI 🤖 Ai 👁 0 📖 3 min read

How do I log every action my AI agent takes?

The wrong way to log every action your AI agent takes is to ask the agent to keep a log. The log it keeps is a summary it writes about itself, after the fact, and it will faithfully record the version of events the agent

The wrong way to log every action your AI agent takes is to ask the agent to keep a log. The log it keeps is a summary it writes about itself, after the fact, and it will faithfully record the version of events the agent believes, including the steps it thinks it ran and did not. A complete action log has to be written by something that is not the agent, at the moment each action executes.

So the method is not a logging library. It is a routing decision: send the agent's tool calls through one endpoint, and let the endpoint file a record for every call as it lands.

What a complete entry carries

Route the work through Zambo (153 tools, 37 on the default surface) and every call saves a verifiable AER-1 receipt holding:

  • the tool that ran
  • the inputs it was given
  • the exact saved result bytes
  • a SHA-256 commitment over those bytes, filed at execution time
  • the timestamp
  • the receipt's place in the job's chain, so the sequence can be walked in order

Nothing on that list is written by the agent. That is the point.

One job, logged end to end

Three calls, run on the morning of November 16, 2026. This is the whole log:

  1. live_price, BTC. Returned $64,505.91. Receipt: https://zambo.dev/run/23241a6a-62a8-4f77-a837-b1765b82b4ef
  2. live_price, ETH. Returned $1,805.26. Receipt: https://zambo.dev/run/67bdb3b4-6cd0-43b4-896a-3e61d31356d0
  3. capability_search, "verify AI agent work". Receipt: https://zambo.dev/run/58a08646-6e5d-40cb-baee-80c1f88bbaef

Three actions, three entries, each one openable and recheckable at zambo.dev/verify by anyone, free, no account. Read back together, the day's entries sit in one ledger at zambo.dev/today, and the activity_today tool returns the same ledger to an agent that asks. The public counter stood at 141,653 receipts when I read it this morning, 876 of them from today: this log is the platform's normal operation, not a feature you switch on per job.

The gap is the feature

A handwritten log hides its own holes. A receipt chain shows them. A call your agent makes outside the routed endpoint leaves no entry, and when you walk the chain in order, the missing step is visible as a gap rather than papered over by a confident summary. When someone asks whether the agent did a step, the honest answers are the receipt, or the visible absence of one.

Limits, honestly

A receipt proves the saved result was not changed since it was saved. It does not prove the result was correct, and AER-1 has no issuer authentication: the record is provably intact, not provably authored. The reasoning between calls is not in the log either, only the calls and their results. Judge the work against the record; at least now there is a record to judge against.

Every tool free once a day, plus 3 continue calls. One free wrap-up handover per day, and pickup is always free. A Day Pass is $0.99 for 24 hours of unlimited calls. The Zambo Pass is $29 for 30 days ($19 for $ZAMBO holders), and the Lifetime Pass is $250, one payment. Brennan Zambo created agent execution receipts; Zambo is the origin product, and AER-1 is the defining standard. Connect once at zambo.dev/add and the log writes itself from the next call on.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.