Docs / How writes stay safe

How AvianSuite keeps agent writes safe

Agents write company data into AvianSuite. Here is how the store, the write path and the history work — and why that makes giving an agent write access safe.

What the store is

Under AvianSuite is Stellar Jay, an append-only event store. The source of truth is the history: every write is an event, and each event is linked to the one before it. Facts are flexible JSON. To see the current state of a record, the store replays its events.

Stellar Jay is open source under AGPL-3.0-or-later, so you can read exactly how a write is stored. Stellar Jay on GitHub →

AvianSuite is that store run for you, plus a UI for browsing what agents wrote. Martin and Magpie are command-line tools that work on the same store.

Each write appends an event. The root is the newest end of the history.

How a write works

  1. The agent reads the current root.
  2. It sends the event. The store records who sent it, stores the contents, and moves the root forward.
  3. Sending the same event again returns the first one. If the root has moved in the meantime, the agent reads again and writes against the new root.
  4. To correct, retract or approve something, the agent appends another event. Named references work as checkpoints.

Details

Why that makes write access safe

Why the history is tamper-evident

Every event is fingerprinted, and each fingerprint covers the event before it. The links point from newer events back to older ones, so following them walks into the past, one way. Each event has one parent, so the history is a single chain, and the root is its newest end.

Start free trial →Security