SmartGate
Audit & Compliance

81% deployed. 14% governed. Log every tool call.

Every MCP and REST invocation writes an audit record — team-scoped, trace-linked, exportable. Minimum bar for production agents in 2026.

The pain

Agent adoption outpaced security approval. Without per-tool audit, you can't answer: who fetched what, when, at what token cost — for compliance or incident response.
1

Automatic logging

Every tool call → PostgreSQL audit_logs: team_id, request_id, tool, params, token_used, latency_ms, success.

2

Trace & query

/api/v1/audit/trace + Dashboard Activity Logs — filter by tool, time, team.

3

Export

GET /api/v1/audit/export for compliance workflows.

Retention by plan

PlanActivity log retention
Free7 days
Pro30 days
Teams90 days
Enterprise180 days

SSOT: plan-catalog.ts · marketing reads catalog at build/render time

Before / after

ScenarioBeforeWith SmartGate
Agent actionsInvisible tool callsFull tool + params audit
Compress savingsUnprovabletoken_saved in audit for context_gate
Multi-tenantShared logs riskteam_id isolation on every query

Activity Logs · mock

TimeToolTokensStatus
10:42:01smart_context_gate1,240 → 496saved 744
10:41:58smart_fetch8,102ok
10:41:55smart_search412ok

Trace an agent session end-to-end

Open Activity Logs