Skip to content

Security and privacy

Your data stays in your account. The assistant runs in your AWS account. We run nothing, receive nothing, and the license is checked offline: no call home, no telemetry.

How it is protected

Area What it does
Identity The user's token is checked by your identity endpoint; the assistant has no passwords of its own and acts only with the user's access
Tenants A customer's data is separated twice: by a tenant filter on every query and by database row-level security, so one customer can never read another's
Network Only the load balancer faces the internet. The agent service has no public route. The database is private
Encryption https everywhere, TLS to the database, and encryption at rest, optionally with your own key (kms_enabled)
Secrets No keys in images or task definitions; the license and credentials live in Secrets Manager
Actions Tools run as the user. A write waits for the user's confirmation. Outbound calls refuse private and link-local addresses and redirects
Content Your hooks, optional Bedrock Guardrails, and fixed protections in the system prompt
Abuse Token caps per user and customer; a time limit on every run
Delivery Images from a private registry only your account can pull, immutable tags, scan on push, a signed license

Hooks

Run your own checks on what goes through. We call a URL of yours, signed (X-AIA-Signature, HMAC-SHA256 over the timestamp and raw body), and you answer:

{"decision": "allow"}

deny (with a reason) or replace (with a new message) are the other answers. Events are input, tool_policy and output. Answer within the timeout (3 s by default); on_failure decides whether an unreachable hook refuses the request (fail_closed) or lets it through (fail_open). Hooks see user text, so keep them on your own infrastructure.

Usage reports

After each finished run we can POST a signed report to one URL of yours: tenant, user, run, status, model calls and token totals. Store it by report_id, ignore repeats, and apply your own prices. This is opt-in.

Privacy requests

An admin of the tenant (a role in admin_roles) can erase or export a person's data through the API. Each call starts a job and answers 202; poll GET /api/v1/privacy/jobs/{id}.

Request Does
DELETE /api/v1/users/{user_id}/data Erases chats, messages, files, passages, saved state, usage rows and traces. ?mode=anonymize keeps only token totals for billing
POST /api/v1/users/{user_id}/export A zip of what is kept about the user; the job gives a short-lived download link
DELETE /api/v1/tenant/data?confirm_tenant_id=<id> The same for a whole tenant, plus its knowledge base
POST /api/v1/tenant/export A zip of the tenant's data

Block the user in your identity endpoint before erasing. Copies in your own systems and in AWS backups are yours to handle.

Retention

Give the deployment a file with how many days to keep data; expired data is deleted hourly:

retention.json
{"default": {"threads_days": 365, "attachments_days": 90, "traces_days": 30},
 "tenants": {"acme": {"threads_days": 30}}}

A chat counts from its last message. A field left out keeps that kind of data. Retention is off until you set it.

Limits

Set token caps per user and tenant in the tenant settings file, or tighten them per user through your identity endpoint's limits. A soft cap refuses new questions (429, limit_reached); a hard cap also stops a run in progress.