@kakunin/mastra
v0.3.1
Published
Kakunin compliance integration for Mastra — X.509 certificate verification, scope checking, risk scoring, and EU AI Act audit trail for AI agents
Maintainers
Readme
@kakunin/mastra
Kakunin compliance integration for Mastra — give any Mastra agent tools to verify agent certificates, check scopes, read risk scores, and emit EU AI Act audit events.
npm install @kakunin/mastra @mastra/coreimport { Agent } from '@mastra/core/agent';
import { KakuninIntegration } from '@kakunin/mastra';
const kakunin = new KakuninIntegration({ apiKey: process.env.KAKUNIN_API_KEY! });
const agent = new Agent({
name: 'compliance-aware-agent',
instructions: 'Verify agent identity before trusting it.',
model,
tools: kakunin.getTools(),
});getTools() returns Mastra tools for certificate verification, scope checks, risk scoring, and behavioral-event emission. Licensed under Apache-2.0.
