Self-hosted AI collaboration and encrypted team chat
Last updated: 2026-11-21
A self-hosted AI collaboration platform is also private instant messaging that you run on your own infrastructure, with messaging, accounts, AI takeover and connectors in the same product. Keragi is built for teams that want AI in the conversation without handing the entire workspace to a third-party cloud: deploy the server yourself, keep direct and group text encrypted, and add AI takeover, connectors and resource packs where they help.
It is a good fit for teams with data-location requirements, internal tools that need to participate in chat, or workflows where AI should act inside a conversation rather than in a separate tool.
Why self-host an AI workspace
Cloud AI tools are convenient, but they concentrate identity, message history and model access in someone else’s environment. Self-hosting changes that trade-off:
- You control the deployment. The service runs on infrastructure you choose; you decide who can reach it, how it is backed up and how it is upgraded.
- Direct and group text stays encrypted. Text is encrypted on the client; the server relays or blind-stores ciphertext and does not hold the keys needed to read it. Media attachments and channels are outside that same E2EE scope.
- AI participates in context. AI takeover is decided by the client per conversation; a connector brings an AI client on a trusted host into the conversation. A server-hosted independent agent that can be added to groups and given a role is planned and can be evaluated per version/project.
- Resources follow your needs. Install only the resource packs a deployment needs and compose them by server role. Auth and control-plane resources are required dependencies; custom resources and device gateways are reference or custom work.
Self-hosting is not a guarantee of security by itself. The operator is responsible for the host, network, TLS, access control, backups and the third-party services connected to the deployment.
What the platform includes
| Area | What it provides |
|---|---|
| Messaging | Client-side encryption for direct and group text; media attachments and channels are outside that same E2EE scope |
| Identity | Accounts, contacts, roles and permission scopes for people and service accounts |
| AI in conversations | A built-in AI engine and client-side AI takeover per conversation; a server-hosted always-on agent is planned |
| Connectors | Bring an AI client or development workflow on a trusted host into a conversation; confirmation depends on deployment, and one-shot execution differs from session creation |
| Resources | Install the resource packs a deployment needs; compose them by server role |
| Devices (reference/coming soon) | Connect through a subaccount, gateway or local bridge; device identity and the official SDK are planned, and the hardware line is coming soon |
| Web client | A deployable browser client that connects to the self-hosted server |
The product is designed so that the same account can use messaging, AI and extensions without a separate identity silo for every capability. AI is not a bolt-on chat window: allowed teammates can let AI takeover reply on their behalf.
How a deployment works
A typical deployment is deliberately small:
- Prepare a supported Linux host and a writable deployment directory.
- Install the service host and initialize a deployment with the resource packs you need.
- Configure the signing secret, administrator account, mail delivery and service addresses.
- Start the server, deploy the web client and verify sign-in, messaging and the AI path.
- Add connectors or device access (reference patterns) only when the corresponding resource is installed and approved.
For the exact steps, see the quick deployment guide and the installation guide. The downloads page carries the current host, resource packs and web client.
Security and data boundaries
End-to-end encryption covers direct and group text. It does not automatically cover every feature connected to the workspace:
- Messages and keys. Private keys and conversation keys stay on the client. If client data is deleted without a backup, message history may be unrecoverable even though the server still holds ciphertext.
- AI providers. When you configure an external model provider, the content sent to that provider is processed under that provider’s terms and is outside the end-to-end encrypted path.
- Connectors. A connector runs on a trusted machine and may use that host’s AI client, files and permissions. Confirmation depends on deployment, and per-tool approval is available only for some backends.
- Self-hosted operations. The operator controls network exposure, TLS, access control, logging, backups and upgrades. Keragi cannot secure a deployment from the outside.
Review data and security and data storage before using the platform with sensitive information.
Evaluation checklist
When comparing self-hosted AI collaboration options, ask:
- Can the server run on infrastructure you control, and can you back up and restore it?
- Is message content encrypted on the client, and where do the keys live?
- Can AI takeover be enabled per conversation? Does the connector run on a trusted host? Is a server-hosted always-on agent planned (it is, for future evaluation)?
- Can you choose which capabilities to install, instead of deploying one monolithic product?
- What happens to data when AI, connectors or external services are enabled?
- Is there a clear path for access control, audit and upgrades?
- Can the web client be deployed on your own domain and kept same-origin with the API?
Keragi is designed around those questions: a small self-hosted service, client-side encryption for messages, AI participants and connectors inside the workspace, and installable resource packs for everything else.
FDE delivery view
An FDE can use this private deployment as the delivery base: prove one business path on one machine first, then add connectors and subaccounts; see the FDE delivery guide for scoping, pilot metrics and handover.
Next steps
- Deploy Keragi on your own host.
- Download the server and web client.
- Read the security boundaries before connecting AI providers or devices.
- Contact us for deployment, licensing or integration questions.
Frequently asked questions
What is a self-hosted AI collaboration platform?
It is a team workspace that you run on your own server: messaging, accounts, AI takeover and connectors are part of the same product, and the operator controls the deployment, data storage and access policies.
Does self-hosting mean the AI runs on my server too?
Not necessarily. You can use the built-in AI engine with a configured model provider, or connect an AI client on a trusted host through a connector. Whichever you choose, data sent to an external model or service leaves the end-to-end encrypted message path.
Are messages end-to-end encrypted?
Direct and group text E2EE is optional and off by default; when enabled, text is encrypted on the client. Media attachments and channels are outside that same E2EE scope. When E2EE is enabled, the server stores ciphertext; when it is off, messages follow the operator’s storage policy, and the operator chooses retention. AI providers, connectors and external services are outside that boundary when enabled.
What do I need to deploy it?
A supported Linux host, a deployment directory, a signing secret and an initial administrator account. You choose which resource packs to install, then deploy the web client and point it at the server.
Can I extend it for my own workflows?
Yes. Keragi is built around installable resource packs, composed by server role. Auth and control-plane resources are required dependencies; custom resources and device gateways are reference or custom work.