Docs preview

How Tallyback works

Full documentation will ship with the public repository. This page summarizes the model so you know what to expect.

Three layers

The loop

  1. Intent. An app or an AI agent sends an Intent. It names who is asking, which record to change, the outcome they want, and an idempotency key so the same request can never run twice.
  2. Check. Tallyback observes the record as it is right now, checks policy, and confirms the change is a legal next step. Anything that fails a check is rejected before a single write happens.
  3. Act. An adapter carries out the change in the outside system. Vendor endpoints, field names and statuses live in the adapter, never in the core.
  4. Read back. Tallyback reads the outside system again on its own. The reading has to be fresh and has to belong to the same record, or it does not count.
  5. Compare and record. Tallyback compares what it read with the outcome that was asked for. It returns a Result and writes audit events whether the answer is yes or no.

Results

Install

npm install tallyback Coming soon · not on npm yet

← Back to tallyback.dev