1. Core library
Just the gate and the permanent log.
Drop it into your own agents or apps. No UI required.
Best for: teams that already have their own interface and only want kernel-level checks + an immutable log.
npm install attest-coreimport { Gate } from "attest-core";
const gate = new Gate({ dbPath: "./attest.db" });
const result = await gate.check({
person: "jane",
role: "support",
action: "refund",
amount: 2000
});
if (result.needsApproval) {
// send to your queue
} else if (!result.allowed) {
// blocked
}
