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.
Desk
Illustrative result. Verification covers the configured records and rules.
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.
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.
Accept the result
The observed records match the contract. Your application may continue.
Stop and investigate
The observation differs from the approved result. Verification does not undo an external write.
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.
make install
export PATH="$HOME/.local/bin:$PATH"
aivact --version
aivact --help$env:GOBIN = Join-Path $env:LOCALAPPDATA 'Aivact\bin'
go install -trimpath ./cmd/...
$env:Path = "$env:GOBIN;$env:Path"
aivact --helpInstall 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 ↗go run ./examples/controlled-writeexecution: committed
verification: passed
status_code: 0
replay: rejectedDistribution channels
Package candidates are prepared locally. Registry install commands will appear after publication and verification.
Native downloads
Versioned binaries and checksums
Awaiting first release ↗ ▣Container image
OCI image for service deployments
Build from source ↗ ⎈Helm
Chart and deployment configuration
Chart source available ↗ npmnpm
Native-command launcher
Package candidate prepared ↗ brewHomebrew
Formula in the Aivact repository
Package candidate prepared ↗ ⊞Windows packages
Scoop manifest in the Aivact repository
Package candidate prepared ↗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.
- OperatorProtects the rules, configuration and baseline.
- Agent or applicationPerforms the business action with bounded authority.
- VerifierReads the configured source independently.
- Application gateAccepts only a passed result; investigates everything else.
aivact --config /absolute/config.json \
verify TASK_IDReplace TASK_ID with the prepared task ID. Exit codes: 0 passed, 1 failed, 2 unknown/error. Preparation happens before the action.
CLI reference ↗POST /v1/tasks/{task_id}/verify
Authorization: Bearer {service-token}
No request body.
Read report.status in the response.HTTP 200 is not a passed verdict. Accept only status === "passed". Use protected credentials and HTTPS for remote access.
{
"mcpServers": {
"aivact": {
"command": "/absolute/bin/aivact-mcp",
"args": ["--config", "/absolute/config.json"]
}
}
}The tool is verify_task(task_id). It does not approve or execute writes. Replace paths and adapt nesting to your client's configuration.
v, err := aivact.NewVerifier(configPath, false)
if err != nil { return err }
includeValues := false
report, err := v.Verify(ctx, taskID, &includeValues)Import github.com/Aivact/Aivact/pkg/aivact. Handle errors and inspect the report before acceptance. The Go API remains unstable during alpha.
Supported data sources
Read-only verification spans multiple connectors. A connector does not imply write support.
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 ↗RESOURCES
Documentation and examples
Source, documentation, examples and release evidence stay linked. Follow the path that matches your application.
Use cases
Concrete workflows and expected outcomes for real applications.
Explore scenarios ↗02Deployment
Docker, Kubernetes, configuration and operational boundaries.
Choose a deployment ↗03Validation
What was tested, under which configuration, and what remains.
Read the evidence ↗LOCAL EXAMPLE
Try a complete example
Run the SQLite example to see approval, execution and verification in one workflow.