Jex

Jex security architecture

By Andrew Borba, CTO of Jex. Updated December 1, 2026.

We built Jex for people who want to talk to an AI assistant in private. We don’t use your conversations to train models or target ads. Our staff can’t browse your encrypted app chats.

In this paper, I explain who can read a message and where our control ends. A friend can forward what you send. If you ask Jex to send a calendar invitation, Google receives the event and keeps it under its own policy.

Jex is an AI assistant in an end-to-end encrypted messenger. You can talk to him one-on-one or invite him into a chat with friends and family.

When you message a friend directly in the app, your phone encrypts the message before it leaves. Only your devices and your friend’s devices hold the keys to read it. That’s end-to-end encryption. Invite Jex, and he joins as another member with his own keys. He can then read new messages in that chat and send encrypted replies.

From one phone to another

Each device has its own identity and keys. When someone joins or leaves, the group starts using new keys. A person who leaves can read messages already on their phone. Only the remaining members get the keys for what comes next. The app follows the standard for encrypted group chats, Messaging Layer Security (MLS).

A photo or file gets its own key. Your phone encrypts the file before uploading it. The encrypted chat message tells your friend’s phone where to find the file and gives it the key to open it.

Our delivery service sees which devices belong to a chat and when messages reach them. That can reveal who talked to whom and when. The words and files arrive encrypted. Apple’s push service, Google’s Firebase Cloud Messaging, or Expo can receive a device token and delivery details to notify your phone. They do not receive the readable text of an encrypted chat message.

We also encrypt our databases and file storage. If a message goes missing, support can check its delivery record. We log who looks at those records. The people who run the servers don’t have your chat keys.

If you report a problem from a chat, you can choose to include recent message excerpts. Sharing excerpts is off by default for every new report. A screenshot may also show part of the chat. You can preview and remove it before sending. Support can read the excerpts and screenshots you send. We delete the report contents, including shared messages and screenshots, 30 days after you file it. We keep the case number and status.

When you text Jex’s phone number, Linq can deliver your message over iMessage, RCS, or SMS. Linq and Jex’s text service can both read it. Twilio can likewise read messages it delivers on older SMS or MMS connections. Jex keeps memories from texts separate from encrypted app Memory. Use the Jex app for end-to-end encrypted chat.

How your phone knows it’s really Jex

Jex reads messages inside a protected part of an Amazon Web Services (AWS) server called a Nitro Enclave. His chat keys stay there. The server can pass an encrypted message to the enclave. Even the person who runs the server can’t look inside to read the message or copy the keys.

Suppose Maya invites Jex into a group chat to plan dinner. Her phone checks a report signed by AWS. The report contains two digital fingerprints. One identifies the exact software running in the enclave. The other identifies the set of public keys Jex offers the chat. If either changes, so does its fingerprint.

Maya’s phone adds Jex only if Jex AI approved that software and the key joining her chat matches the report. If someone offers a different key with a genuine report, her phone refuses it. This check is called remote attestation. AWS signs the report. Jex AI decides which software to approve and is responsible for what it does. See the approved Jex software versions and AWS’s guide to attestation.

What the AI services can read

To write a reply, Jex’s enclave sends a prompt over an encrypted connection to Amazon Bedrock. The prompt can include recent messages, a summary of earlier ones, and relevant saved Memory. AWS runs Anthropic’s Claude model on Bedrock. AWS processes the prompt and returns a result. Anthropic does not receive the chat content. The enclave encrypts Jex’s reply for the chat. The chat keys stay with the participants.

TypeSafe’s Jev service can also receive messages and relevant context to help Jex decide when to speak in a group or flag an important email. TypeSafe keeps no prompt or reply after the request. Neither TypeSafe nor AWS uses these requests to train models.

We use Bedrock’s zero data retention setting and keep request and response logging off. Bedrock can temporarily reuse parts of a prompt across requests. Its prompt cache expires after a period without reuse. AWS may keep, review, and report images it flags as apparent child sexual abuse material under its abuse detection policy.

What Jex remembers

Your phone stores an encrypted transcript, the message history you can scroll through in each chat. Our delivery service holds encrypted messages for up to 30 days so your phone can catch up when it comes back online. When Jex is in a chat, he also keeps a limited, encrypted record of recent messages to follow the conversation.

Memory holds selected facts and notes for later. Jex keeps track of where each fact came from and who can use it. If Maya tells Jex privately that she likes quiet restaurants, he can use that preference in their private chat. He can’t look it up when he answers the dinner group. If she tells the group she’d like a quiet table at seven, he can remember that preference and plan in the group.

App Memory is end-to-end encrypted. Maya’s personal Memory, or vault, holds her saved notes. Her phone creates the key that encrypts them. A second key protects the stored copy of the first. Before reading a note, Jex’s enclave checks that Maya’s device authorized access to her vault. The server that delivers the second key can’t read it. AWS Key Management Service encrypts that key for the approved enclave alone.

You can review a saved detail, correct it, or ask Jex to forget it. To stop new automatic saves, open the three-dot menu in Memory and choose Pause memory. To control whether Jex can use older details, open Memory settings in the same menu and change Use saved memories. To remove the original message from your history, delete it in the chat.

When Jex uses your calendar or a website

When Maya connects Google Calendar, she signs in with Google and grants access. Composio, our integration provider, stores the access tokens encrypted and uses them to call Google for Jex. Composio never receives Maya’s chat keys. Maya chooses what Jex can use in each chat.

Suppose Maya shares only her availability with the dinner group. Jex sends Composio the calendar and time range to check. Composio asks Google and returns the busy times to Jex’s enclave. Jex can tell the group she’s free at seven. The group never sees her appointment titles.

To send an invitation, Maya reviews and approves the calendar, event details, and guests. Composio passes those details to Google. Google stores the event and sends the invitations. Maya can stop sharing with the group or disconnect her calendar. Guests keep invitations she already sent. Maya can revoke the Google authorization in her Google account.

We enable Composio’s zero data retention setting. For covered calls, Composio leaves the request details and response out of its execution logs. It keeps records such as the account identifier, action, time, and outcome for up to one year. Separate rules cover credentials, files, triggers, and sandbox data. Each destination service sets its own retention policy. See what Composio’s setting covers and how long it keeps data.

Jex deletes the records he keeps to complete or verify work with a connected service 30 days after that work ends. If you save a fact to Memory or receive an answer in chat, you can remove it with the controls for that item.

If Maya asks Jex to find a restaurant on the web, Brave Search receives the search terms. If she signs in to check a reservation, the booking site receives her login. Her password, one-time codes, and sign-in cookies stay out of AI prompts. Jex can send the booking details he needs to Bedrock under the terms described above. The booking site controls its copy.

What other services receive

  • Email and files. Jex also uses Composio for Google services such as Gmail and Drive. The request and result can include search terms, selected messages, or document content. Jex connects directly to Microsoft for Outlook. Microsoft processes the mailbox search or the email you approved, including its recipients, body, and any attachments.
  • Travel. When you enable a travel service, Composio can send it your destination and dates. Jex uses trivago to compare hotels, Viator to find tours, and Jinko for flight and hotel offers. If you proceed to checkout with Jinko, it also receives the traveler details you provide and hosts the payment page.
  • Phone calls. If you ask Jex to call a restaurant, Vapi receives the number and what to ask. Deepgram transcribes the call audio. Amazon Bedrock processes the conversation to generate Jex’s spoken replies. The person who answers hears what Jex says.
  • Payments. Stripe processes card and billing details for paid Jex subscriptions. If you use Stripe Link for a purchase, Link holds your original card details. After approval, the seller receives your order and a one-time card from Link.
  • Sign-in and invitations. Twilio Verify receives your phone number to deliver a sign-in code. When you ask Jex to email someone an invitation to the app, Amazon Simple Email Service receives their address and the invitation text.
  • Public website visits. On marketing pages that use the Meta Pixel, Meta can receive page views, signup events, IP addresses, and browser identifiers. The pixel runs only on public pages. Chat messages, saved Memory, and connected accounts stay out of those events. See the Jex privacy policy.

Backing up and restoring chat history

Your phone can keep chat history longer than 30 days, even with cloud backup off. If you turn backup on, the app encrypts your history before sending it to iCloud on iPhone or Google Drive on Android. Turn backup on or off in Settings → Security & history → Chat history → Encrypted backup.

When you sign in on a new phone, our messaging service checks that you still belong to the chat. It also checks that your new phone has permission to join. Once it rejoins, the phone gets keys for new messages.

An older backup needs a separate key called your account key. Your phone keeps it encrypted in secure storage. Jex AI stores only encrypted copies and can’t unlock them. Your new phone uses one of your recovery methods to unlock a copy.

  • Your phone’s key backup. On iPhone, iCloud Keychain can sync the secret that unlocks your account key. It protects that secret with end-to-end encryption. On Android, Google’s Block Store can restore that secret during setup if end-to-end encrypted backup is available.
  • A trusted device. Approve your new phone on a device that already has the account key. It sends an encrypted copy only the new phone can open.
  • Your saved recovery key. The app shows this key once. You choose where to keep it. Enter it on the new phone to unlock your account key. Jex AI never receives your recovery key.

The new phone can then open the matching backup. Moving history between iPhone and Android requires a transfer from the old phone. If you lose access to every recovery method, the backup stays locked. You can still send and receive new messages.

When you delete a chat or your account

Deleting a chat from your history leaves other participants in control of their own copies. If you request account deletion, we disable access and sign you out on all your devices. You have 30 days to recover the account before final removal. Recovering access won’t restore deleted chats. We keep the records needed to honor consent and opt-outs, such as requests to stop receiving texts.

What privacy still depends on

Privacy depends on each person protecting their phone. Someone in the chat can forward a message or show an unlocked screen. The delivery service can hold a message back or discard it without reading it. Your friend might see it late or never receive it.

AWS keeps the enclave isolated. Jex AI decides which software can run there with chat keys. Once an outside service receives data for a task, we rely on that service to honor its retention terms. A guest who receives a calendar invitation can keep or forward their own copy.

How you can check the design

A protocol model describes security rules in a form a computer can check. We publish models for three questions.

  • Can the app tell whether a key joining a chat really belongs to Jex?
  • Can the enclave open only the Memory it has permission to use?
  • Can a replacement phone or a new copy of Jex’s software rejoin only a chat it’s authorized to join?

Anyone can download the models, run the checks, and compare their results with our published results. The Jex Protocol Model v0.1.0 release on GitHub includes the files and instructions. Our verification guide explains what the checks establish and which assumptions they make.

We also publish the fingerprints of approved enclave builds. To check a specific release, an independent security engineer needs the matching app and enclave source code, the compiled enclave image, and its build records. Jex keeps those materials private. Reviewers can contact the Jex security team to request read-only access or copies for that release.