Jex

Jex security architecture

By Andrew Borba, CTO of Jex, 11/30/2026

Some AI services use what you tell them to train models or target ads. We built Jex to give people another choice. We don’t use your conversations for either purpose, and our staff can’t browse your encrypted app chats.

In this paper, I explain how the app works today, who can read your messages, and where you still have to trust someone.

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

When you message a friend, 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 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.

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 include recent message excerpts. Sharing excerpts is off for every new report. A screenshot may also show part of the chat. You can preview and remove it before sending. Support uses what you send to investigate. We delete the report contents, including shared messages and screenshots, 30 days after you file it. We keep the case number and status.

Regular texts (SMS and MMS) work differently. The text delivery company, such as Linq, and Jex’s text service can both read them. 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 can send Amazon Bedrock recent messages, a summary of earlier ones, and relevant saved Memory. The information sent to the model is called a prompt. It travels over an encrypted connection. Bedrock reads the prompt and returns a result. The enclave encrypts Jex’s reply for the chat. The chat keys stay with the participants.

TypeSafe helps Jex decide when to speak in a group. Both services use zero data retention for Jex requests. They keep no copy of the prompt or reply afterward, and neither uses it to train models. 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. Our delivery service holds encrypted messages for up to 30 days so offline devices can catch up. 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 the group agrees to meet at seven, he can remember that plan there.

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, Google limits what Jex can read or change to the access she grants for her account. Maya also chooses what Jex can use in each chat. If she shares only her availability, he can tell the dinner group she’s free at seven. Her appointment titles stay private.

To send an invitation, Jex needs Maya’s approval for that event. She reviews the calendar, time, and guests. Once she approves, Google Calendar receives the details and sends the invitations. Maya can stop sharing with the group or disconnect her calendar.

If Maya asks Jex to check a dinner reservation, she can sign in privately with the booking site. The 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 Amazon Bedrock under the same zero data retention terms and image safety exception. The site sets its own retention policy. See the Jex privacy policy.

Backing up and restoring chat history

Your phone can keep chat history longer than 30 days. For a backup, 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.

You rely on AWS to keep the enclave isolated and on Jex AI to approve the software that reads messages there. You also rely on the AI services to honor their retention terms.

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 run the checks from the Jex Protocol Model v0.1.0 release on GitHub. For a guide to the results and their limits, read Verifying Jex’s attested runtime and chat recovery.

A security engineer outside Jex AI can check whether a particular release follows those rules. For that review, they need access from us to the app and enclave source code, the software we shipped, and the list of versions we approved.