# Security

> How AGNT isolates users, protects credentials, keeps people in control of consequential actions and handles untrusted content, and what you are responsible for.

Part of the AGNT docs. AGNT (https://agnt.ai) is proprietary, application-agnostic infrastructure made by 3Gen Internet Corporation: the agent harness and the services that applications are built on. OpenAssistant (https://openassistant.us) and the OpenAssistant Network are the first, and currently the only, applications built on AGNT; the Network runs on AGNT's SIMON server. It is not affiliated with other projects named AGNT, such as the open-source github.com/agnt-gg/agnt.

Web page: https://agnt.ai/reference/guides/security. All guides: https://agnt.ai/llms.txt

AGNT assistants read a user's mail and calendar, message other people, place calls and operate a workspace (the user's cloud computer) on that user's behalf. Every user's data is isolated from every other user's, every credential is hashed or encrypted, and every type of consequential action can require a person's approval, with an account-wide kill switch above it. This guide states those guarantees and the controls you configure.

## Controls at a glance

| Area | Guarantee |
|---|---|
| Isolation | End-user data is isolated per user, not only per app. Missing context never grants access. |
| Credentials | API keys are stored only as hashes. Third-party tokens and secrets are encrypted with AES-256 at the application layer. All traffic uses TLS. |
| Human control | Every consequential action type can require approval, per user, with admin locks. An approval executes exactly the content shown. Actions can be undone within a window. A kill switch freezes all outbound actions. |
| Untrusted content | Email, web pages and documents are treated as data, not instructions. Unknown senders are gated. |
| Inbound integrity | Messaging webhooks (Slack, Twilio, WhatsApp) are verified by signature or shared secret and refused if the credential is missing. Calendar and mailbox change notifications are treated as untrusted pings and the data is re-fetched. Inbound email is authenticated before an assistant sees it. |
| Code execution | Plugins you author run in an isolated sandbox with no access to platform secrets. Each user's workspace runs in its own container with no public IP, and your commands, files and the browser run as an unprivileged user. |
| Identity | SAML SSO with signed assertions, SCIM provisioning, TOTP two-factor authentication for the console. |
| Audit | Administrative actions are recorded as audit events, archived nightly and exportable to your own S3 bucket. The API serves the last 30 days. |
| Compliance | SOC 2 Type II compliant: 2025 report issued; 2026 audit in progress, report expected December 2026. See [Compliance](#compliance). |
| Hosting | AWS in the United States. |

## User isolation

An account is your app on AGNT. It holds all of your end users, who are unrelated to each other, so data is isolated at the user boundary, not the account boundary.

- Tasks, chats, memories, contacts, calendars, approvals and workspaces belong to a user. A request acting as one user cannot read or change another user's.
- A user-scoped key acts only as its own user for approvals and edits.
- An account-wide API key is your server's trusted credential. It can list, read and delete tasks and chats across all of your users, for support and admin tooling. Keep it on your servers.
- An `X-User-Email` that does not resolve to a user in your account is refused. A failed scoping check never falls back to account-wide access.
- A certificate JWT authenticates only the account whose certificate signed it.
- Collaboration is explicit. Another person sees a task only when added to it as a collaborator, and only the task's owner can approve what it sends.

Organizations and teams group users for administration and policy. They do not share data. See [Users, organizations and teams](/reference/guides/organizations-and-teams).

## Credentials

| Credential | Handling |
|---|---|
| API keys (`ak_live_...`) | Shown once at creation. Only a hash is stored. Revocation is immediate. Keys are account-, organization- or user-scoped and can be labelled with scopes (not yet enforced). |
| Certificate JWTs | RS256, verified against the public key registered for your account in the AGNT console, by `kid`. Used by `@agnt-sdk/client`. |
| Connected-account tokens | OAuth tokens for users' Google, Microsoft and other accounts are encrypted with AES-256 at the application layer. |
| Integration credentials and webhook secrets | Encrypted with AES-256 at the application layer. Webhook signing secrets are shown once. |

Give a client that acts for one user a user-scoped key, and revoke keys you no longer need. See [Authentication](/reference/guides/authentication) for creating, scoping and revoking keys.

## Human approval and the kill switch

Autonomy is set per user and per action type: email as the user, email as the assistant, messaging, calls, calendar, drive, files, contacts, connected apps and publishing a site. Each runs automatically (`auto`), after a review window (`time-boxed`), or only on approval (`manual`). New users start with only actions taken as the user, and publishing a site, on `manual`. For enterprise use, set the rest to `manual` or `time-boxed` and lock them at the organization. See [Autonomy](/reference/guides/tasks-and-approvals#autonomy) for the defaults table.

- **Approval binds content.** An approval carries a hash of what the approver saw. If the staged content changed since, the approval is refused and nothing is sent.
- **Nothing runs between approval and execution.** No model runs after approval. The stored actions execute as shown.
- **A person approves.** Approval requires a person's own session or an API key acting as that person. Certificate (SDK) tokens cannot approve, edit or cancel.
- **Undo.** Reversible actions can be reverted within a window. Irreversible ones can be held for a delay during which they can still be cancelled.
- **Admins enforce with locks.** Organization and team admins can lock an action type to a mode. A lock overrides the user's own setting, per-task overrides and every recipient exception except a block, and the assistant cannot change it. Where several locks apply, the most conservative wins. Without a lock, the assistant can tighten a task's mode but never loosen it; only the owner's signed-in web session can (see [Task autonomy picks](/reference/guides/tasks-and-approvals)).
- **Kill switch.** One account-wide switch freezes every outbound action and all new task work for every user. Only a person signed in to your hosted app can engage or release it. The console, API keys, certificates and service tokens cannot, so a leaked credential cannot release a freeze.

See [Tasks and approvals](/reference/guides/tasks-and-approvals) for the approvals API.

## Untrusted content

Assistants read content written by people other than the user: inbound email, web pages, shared documents and replies from strangers. Any of it can contain instructions aimed at the assistant.

- **Untrusted content is labelled.** Inbound mail, web pages and documents reach the model marked as untrusted: data to work with, not commands to follow.
- **Unknown senders cannot instruct the assistant.** A message from an unknown sender is gated before the assistant acts on it. It cannot direct the assistant to act for the user.
- **Unusual requests are held for the owner.** A request from an outside party that the user would not expect is held for the user to decide.
- **Approval cannot be bypassed.** An action prompted by untrusted content goes through the user's autonomy settings and admin locks like any other. Content cannot approve a pending action or release the kill switch.

## Inbound email authentication

Mail to AGNT-hosted assistant mailboxes is dropped before any assistant sees it when:

- spam or virus checks fail,
- DMARC fails for a sender domain that publishes `p=reject`, or
- SPF and DKIM both fail.

Mail that passes these checks still reaches the assistant as untrusted content.

## Webhooks

- **Inbound.** Messaging webhooks (Slack, Twilio, WhatsApp) are verified by signature or shared secret and refused if the credential is missing. Calendar and mailbox change notifications are treated as untrusted pings and the data is re-fetched.
- **Outbound.** Payloads are signed with HMAC-SHA256 in `X-Agnt-Signature`.

## Plugins and workspaces

- Plugins you author run in an isolated sandbox with no access to platform secrets.
- Only you, the developer, can add code that runs on the platform. End users cannot author plugins or point a skill at a package, repository or start command.

Each user's workspace (browser, desktop and shell) runs in its own container, has no public IP address, is torn down when idle, and keeps user files in per-user directories. Your commands, files and the browser run as an unprivileged user.

The restricted security preset turns off and locks MCP servers (including custom ones), the workspace shell, browser automation and workspace handoff. Apply it to the account in the AGNT console, or to one team through the API. See [Users, organizations and teams](/reference/guides/organizations-and-teams#apply-the-restricted-security-preset) and [Computer use](/reference/guides/computer-use).

## Identity

| Control | Detail |
|---|---|
| SAML SSO | Per organization. Signed assertions are required. IdP-initiated assertions are single-use. SP-initiated sign-in must complete within 10 minutes of starting. |
| SCIM | Provision and deprovision users and teams from the customer's identity provider. |
| Console 2FA | TOTP two-factor authentication for console members. |

See [SAML SSO](/reference/guides/organizations-and-teams#saml-sso) and [SCIM 2.0](/reference/guides/organizations-and-teams#scim-20) for setup.

## Admin controls

Policy is layered from your account down to organizations and teams. A lower tier can change a setting only where no tier above has locked it. For capability switches and access levels, the most restrictive value at any tier applies.

| Control | What it governs |
|---|---|
| Skills | Whether users can browse, install, create and share skills; an allowlist or blocklist of store skills; whether installs need approval. |
| MCP | Whether users and teams can add MCP servers and custom connections. |
| Connections | Which account types users may connect and, per resource (calendar, email, drive, contacts, messaging and more), whether access is `off`, `read` or `read_write`. |
| Autonomy | Organization and team approval modes and locks. |
| Kill switch | Account-wide freeze. |

See [Policy](/reference/guides/organizations-and-teams#policy).

## Audit

- Administrative actions are recorded as audit events: organization, domain, SSO, membership, role and policy changes, and SSO sign-ins. Actions by a signed-in user, or an API key acting as one with `X-User-Email`, who belongs to a team in an organization with audit logging enabled are recorded. Account-wide key calls without `X-User-Email` and SCIM changes are not.
- Events are archived nightly. The API serves the most recent 30 days.
- Export any time range to your own S3 bucket through an IAM role you control, with a trust policy limited to the AGNT account that delivers audit exports. See [Export audit events to S3](/reference/guides/organizations-and-teams#export-audit-events-to-s3).
- Memories, contacts, companies, preferences (including autonomy settings) and tasks keep a revision history that can be listed and restored.

## Data retention and deletion

- Revision history is hard-deleted after a retention window, 90 days by default.
- Deleting a user removes their data. Deleting an account removes the account, its members, certificates and tasks. Contact support for full erasure.

## Compliance

OpenAssistant is the new version of Skej. We are SOC 2 Type II compliant. Our 2025 SOC 2 Type II report has been issued, and our 2026 audit is in progress, with the report expected in December 2026. Contact security@openassistant.us for the report.

## Shared responsibility

| AGNT is responsible for | You are responsible for |
|---|---|
| Isolating each user's data from every other user's | Storing API keys and certificate private keys in a secrets manager, never in client code or source control |
| Hashing API keys and encrypting third-party tokens and secrets | Using user-scoped keys where a client acts for one user, and revoking keys you no longer need |
| Enforcing autonomy settings, locks, content-bound approvals and the kill switch | Choosing autonomy settings that fit your product, and locking the ones your customers' policies require |
| Labelling untrusted content and gating unknown senders | Calling approve only when the person has chosen to approve in your UI, never automatically from your backend |
| Verifying provider webhooks and signing the webhooks delivered to you | Verifying `X-Agnt-Signature` on every webhook you receive |
| Sandboxing plugins and isolating workspaces | Reviewing the plugins, skills and MCP servers you add or allow |
| Retaining audit events and delivering them to your bucket | Obtaining your users' consent to connect their accounts and to have an assistant act for them; the IAM role and bucket policy for audit export |

## Report a vulnerability

Email security@openassistant.us with a description, reproduction steps and the affected endpoint or surface. Do not access data that is not yours while testing.

## See also

- [Authentication](/reference/guides/authentication)
- [Tasks and approvals](/reference/guides/tasks-and-approvals)
- [Users, organizations and teams](/reference/guides/organizations-and-teams)
- [Computer use](/reference/guides/computer-use)
