SmartGateSmartGate
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

Why audit is the minimum bar for production agents

Agent adoption has outpaced security and FinOps approval in many organizations. Without per-tool audit you cannot answer who fetched what, when, at what token cost—for compliance, incident response, or monthly review. Audit & Compliance is how SmartGate makes the intelligence layer accountable: every MCP and REST invocation can write a team-scoped audit record that is queryable, trace-linked, and exportable.

Records land in PostgreSQL-backed audit logs with fields such as team_id, request_id, tool, params, token_used, latency_ms, and success. Dashboard Activity Logs and /api/v1/audit/trace let you filter by tool, time, and team. GET /api/v1/audit/export supports compliance workflows that need a portable artifact. Retention follows the plan catalog SSOT—marketing pages read the same catalog the product enforces, so Free, Pro, Teams, and Enterprise show different day counts without hand-typed drift.

Audit is also how Token Control proves itself. Compress savings are not a slogan; token_saved for context_gate appears on the audit path the dashboard uses for estimated gateway counterfactual savings. Multi-tenant isolation is not optional chrome: every query is scoped by team_id so shared workspaces do not leak another team's tool history. That is agent intelligence governance, not a generic API gateway access log.

SmartGate remains an MCP-native algorithmic gateway—an intelligence layer between AI and the world—not an LLM proxy and not a substitute for your host model. Audit does not claim to be a full SIEM, nor does it invent customer logos or deployment percentages as proof. Where marketing cites industry context, treat it as framing for why production agents need logs; your source of truth for what ran is the audit row your own team produced.

Use Audit & Compliance when platform, security, or FinOps stakeholders need evidence that Research, Context, Memory, Control, and Pipeline calls are attributable. Wire the same gateway URL your builders already use; enable Activity Logs in the dashboard; export when a reviewer asks for a window. Pair with Traffic Customs and Token Control so the rows describe shaped, capped traffic—not an invisible firehose of tool calls.

What reviewers usually ask for

Expect questions about retention by plan, whether params are stored, how traces stitch a multi-step pipe, and how playground runs differ from production MCP keys. Point reviewers at plan-catalog-backed retention, team isolation, and the export endpoint. Clarify that Est. USD saved is a gateway benchmark for tool modules, not a restatement of the vendor LLM invoice. Clarify that Free and Playground rate limits soft-fail with HTTP 429 by design.

Do not position audit as a reason to replace your existing observability stack. Position it as the tool-layer ledger those stacks rarely see: MCP tool name, parameters, tokens, latency, and success for each call through SmartGate. That ledger is what makes the five intelligence capabilities operable in production instead of demo-only.

Trace an agent session end-to-end

Open Activity Logs

Related roles and scenes

Same gateway, different jobs — pick the path that matches how you work.

Is / is not

Is: per-tool audit records for every MCP and REST invocation — team-scoped, trace-linked, retention by plan, and exportable for compliance workflows.

Is not: a SIEM replacement, a SOC 2 certificate by itself, or invented coverage claims — we log gateway tool calls so you can answer who fetched what, when, and at what token cost.

See also Activity logs docs, Pricing, and About.

Related industries

Deeper guides on the same themes — from our industry library.

Browse all industries.