Governance for AI Agents

Your AI agents.
Full visibility. Total control.

One API call. Full audit trail. Human approval when it matters.

Free forever plan
No credit card
Live Demo
Auto-playing
payment-bot

Send $15,000 to supplier

1
Action received
2
Evaluating policy
3
Decision made
4
Evidence logged
Recent Activity
Watching for actions...
10M+
Actions Governed
99.9%
Uptime SLA
<50ms
Policy Evaluation
100%
Audit Coverage
Two Modes

Visibility or control.
You choose.

Start with observe mode to see everything. Switch to enforce when you need approval gates.

Observe Mode

Track every action without blocking. Full visibility into what your AI agents are doing. Perfect for development and testing.

Enforce Mode

Require human approval for critical actions. AI proposes, you approve or reject. Webhook fires when you decide.

Always On

Every decision. Fully documented.

Automatic evidence collection for every action your agents take. Know exactly what happened, which policies applied, and why.

action.created
Full Context Capture

Agent, action type, parameters, timestamps - everything logged automatically.

policy.evaluated
Policy Trace

See which policies matched, what rules triggered, and the final decision.

decision.made
Approval Records

Who approved or rejected, when, and any notes they added.

SOC 2 compliantJSON & CSV export90-day retention (Pro: unlimited)Immutable records
Quick Start

Get started in 5 minutes

Add governance to your AI agents with just a few lines of code

1

Install the SDK

Choose your language and install

npm install apaai-ts-sdk
# or
pnpm add apaai-ts-sdk
2

Register Your Agent

Create and configure your AI agent

import { AccountabilityLayer } from 'apaai-ts-sdk';

const client = new AccountabilityLayer({
  endpoint: 'https://api.apaai.ai',
  apiKey: process.env.APAAI_API_KEY
});

// Register your agent
const agent = await client.agents.register({
  name: 'marketing-bot',
  description: 'Handles customer outreach and email campaigns',
  config: {
    webhookUrl: 'https://your-app.com/webhook'
  }
});

console.log('Agent registered:', agent.id);
3

Track Actions

Submit actions for governance evaluation

// Track an action - policies are evaluated automatically
const decision = await client.actions.create({
  type: 'send_email',
  agentId: agent.id,
  actor: { kind: 'agent', name: 'marketing-bot' },
  params: {
    subject: 'Welcome!',
    body: 'Thanks for signing up',
    recipient: 'user@example.com'
  }
});

// Check the governance decision
if (decision.status === 'approved') {
  console.log('Action approved! Proceeding...');
  await sendEmail(decision.params);
} else if (decision.status === 'pending_approval') {
  console.log('Waiting for human approval...');
} else {
  console.log('Action blocked by policy');
}
approved

Action passes all policies. Execute immediately.

pending_approval

Needs human review. Webhook sent.

blocked

Blocked by policy. Do not execute.

4

View in Dashboard

Monitor and approve actions in real-time

  • View all action history with full audit trail
  • Approve or reject pending actions with one click
  • See which policies matched and why
  • Real-time updates via webhooks or SSE
Open Dashboard
Pricing

Simple, transparent pricing

Start free, scale as you grow. No hidden fees.

Starter

Free forever

For individuals and small projects

Get Started
Up to 1,000 actions/month
Basic policy rules
Email notifications
7-day audit logs
Community support
Most Popular

Pro

$9.99/month

For growing teams

Start Free Trial
Up to 50,000 actions/month
Advanced policy engine
Real-time webhooks
90-day audit logs
Priority support
Custom approval flows
API access
Team collaboration

Enterprise

Custom

For large organizations

Contact Sales
Unlimited actions
Custom policy engine
Dedicated support
Unlimited audit retention
SLA guarantee
On-premise option
SSO & SAML
Custom integrations

All plans include 14-day free trial. No credit card required.