Tenet

Multi-tenant instant messaging

Your brand,
your messaging platform.

Tenet gives every tenant its own data plane, its own apps and its own console. Desktop, web, iOS and Android share one backend, with chats, channels, bots, customer service and calls built in.

Available on

  • macOS
  • Windows
  • Linux
  • Web
  • iOS
  • Android

Features

One platform for how your team and your customers talk

A Telegram-class chat experience, plus the consoles, bots and customer service a business needs.

Direct messages and groups

Real-time sync across devices. Send photos, videos, voice, files and locations. Schedule messages and the server delivers them on time.

Channels

Broadcast to many people. Only the owner and admins can post, and the server checks this both when sending and at scheduled delivery.

Bot API

Any user can create a bot and receive messages by long polling or webhook, with command menus and inline buttons.

Customer service

Invite agents and they serve the customers of your app from the Tenet desktop app. Customer data always stays in your own data plane.

Voice and video calls

One-to-one and group calls. The media server is deployed with the data plane, so calls never pass through a third-party platform.

Two-level consoles

The platform manages tenants in the admin console. Tenants manage apps, push, SMS and e-mail settings in their own console; secrets are stored encrypted and are write-only.

Security

We tell you exactly what is encrypted

WSS is only the carrier. Tenet adds an application-layer encryption on top of it that protects every frame, including sign-in credentials and tokens. When you need more, start an end-to-end encrypted one-to-one Secret Chat.

In transit: TLS plus Tenet Secure Transport

X25519 key exchange, an Ed25519 server signature, and HKDF-SHA-256 deriving separate AES-256-GCM keys for each direction. Replayed, reordered or tampered frames are rejected.

On the server: readable

To provide multi-device sync, search, moderation and offline delivery, the server can read regular chats.

Best for

Groups, channels, customer service, bots, and conversations you want with full history on every device.

End-to-end encryption currently covers one-to-one Secret Chats only, not groups. The protocol has not yet had an independent third-party security audit.

Tenant isolation

One tenant, one separate data plane

We do not isolate tenants by adding a tenant filter to every query, where one missed filter could leak data across tenants. Each tenant has its own database, cache, message queue, object storage, signing keys, network and backups.

On connect, the tenant configured on the data plane must match the tenant signed in the encrypted handshake, or the connection is refused.

Control planeTenants, apps, agents, platform settings
Tenant A data plane
  • MongoDB
  • Redis
  • Kafka
  • etcd
  • Object storage
  • Server identity
Tenant B data plane
  • MongoDB
  • Redis
  • Kafka
  • etcd
  • Object storage
  • Server identity

No storage, network or authentication authority is shared between data planes.

Operations

Updates without downtime, and automatic rollback

  1. 01

    No source code on servers

    Servers only pull released images and check each one by its digest.

  2. 02

    Candidates run first

    A new version must pass health checks in isolation before any traffic moves.

  3. 03

    Backup before migrations

    When the database changes, a backup is taken first and every step is logged.

  4. 04

    A/B switching

    One side is replaced at a time. If any step fails, the previous version is restored.

Developers

Connect in a few lines of code

The web SDK, native SDKs and the Bot API are fully documented. Every client connects to a single endpoint, /apiws, and never receives a server API key.

Go to the developer docs
Send a message with a button through the Bot API
curl https://api.tenet.im/bot/$TOKEN/sendMessage \
  -H 'Content-Type: application/json' \
  -d '{
    "chat_id": "g10086",
    "text": "Daily check finished. All healthy.",
    "reply_markup": {
      "inline_keyboard": [[
        {"text": "View report", "callback_data": "report"}
      ]]
    }
  }'

Ready for a messaging platform of your own?

Tell us how you plan to use it, and we will help you set up your tenant and app.