OPEN SOURCE · GO · SINGLE-TENANT ALPHA

Verify agent changes against approved outcomes.

Aivact checks database and API records after an agent acts. It compares the observed result with a protected contract and reports whether the approved change was made.

Verify what AI actually does. Pronounced EYE-vakt.

AN APPROVED CHANGE P001
PRODUCT CATALOGUE

Desk

Before10.00
Approved price49.90
Name and other selected recordsUnchanged
Result matches the contractpassed · status_code 0

Illustrative result. Verification covers the configured records and rules.

Explicit authorityIndependent observationEvidence your application can use

WORKFLOW

How Aivact works

Aivact sits beside your application and data source. For supported writes, it can also sit in the execution path. These are two distinct controls.

Aivact in actionSYNTHETIC SIMULATION
Operation
Verification outcome
Application, Aivact and database integrationAn operator prepares a protected contract and separate execution authority. The application requests an approved write through Aivact Control. A separate verifier reads the source and reports to the application. Read access is enforced by source permissions. protectrequestcommitread onlycompareseparate execution approval TRUSTED OPERATORApprove the outcome PROTECTED STATEBaseline + contract AIVACT VERIFIERCheck observed data YOUR APPLICATIONAgent or workflow AIVACT CONTROLCheck authority YOUR DATABASESQLite / PostgreSQL Report returns to your application's acceptance gate
00 / 06

Start with an explicit approval.

Choose an operation, then play or advance one step at a time. No database or service is connected to this demonstration.

passed / 0

Accept the result

The observed records match the contract. Your application may continue.

failed / 1

Stop and investigate

The observation differs from the approved result. Verification does not undo an external write.

unknown / 2

Wait for reliable evidence

The result cannot be established. Recover the source and re-verify the original task.

A verdict is evidence after an action, not permission to perform it. Read permissions belong to the source system. Open the detailed execution walkthrough

GET STARTED

Installation

Start from the source checkout today. The four Go executables run without a Python or Node.js runtime. Package-manager distribution is being prepared.

FROM YOUR SOURCE CHECKOUT · GO 1.27.4
make install
export PATH="$HOME/.local/bin:$PATH"
aivact --version
aivact --help
SOURCE INSTALL AVAILABLE

Install from source

Get the source, select the revision you want to evaluate, then run the commands from that checkout. Use Go 1.27.4; the minimum language level is Go 1.26.

The install replaces same-named commands in the selected bin directory. Keep configuration, approvals and business data separate from the executables.

YOUR FIRST RUN

Run the SQLite example

Run the complete synthetic SQLite example from the checkout. It covers update, insertion, identity change, deletion and replay rejection, then removes its temporary data.

Read the example source ↗
RUNNABLE EXAMPLE
go run ./examples/controlled-write
EXPECTED OUTPUT INCLUDESexecution: committed
verification: passed
status_code: 0
replay: rejected

Distribution channels

Package candidates are prepared locally. Registry install commands will appear after publication and verification.

INTEGRATION

Integrate with your application

Use an existing tool call, an HTTP request or the Go library. A trusted operator prepares the task; the caller submits its task ID for verification.

Keep the roles separate.

  1. OperatorProtects the rules, configuration and baseline.
  2. Agent or applicationPerforms the business action with bounded authority.
  3. VerifierReads the configured source independently.
  4. Application gateAccepts only a passed result; investigates everything else.
Application integration guide ↗
VERIFY AN EXISTING PREPARED TASK
aivact --config /absolute/config.json \
  verify TASK_ID

Replace TASK_ID with the prepared task ID. Exit codes: 0 passed, 1 failed, 2 unknown/error. Preparation happens before the action.

CLI reference ↗

Supported data sources

Read-only verification spans multiple connectors. A connector does not imply write support.

Controlled writes have a narrower scope.

The experimental execution service supports approved text-record operations in SQLite and PostgreSQL. Other sources use an external writer followed by independent verification. Database permissions enforce read access; unchanged records cannot reveal unauthorised reads.

Execution model and limits ↗

LOCAL EXAMPLE

Try a complete example

Run the SQLite example to see approval, execution and verification in one workflow.

Try the local example →