Rocket.Chat AI app with a self-hosted LLM

How to run the Rocket.Chat AI app against your own OpenAI-compatible model with Milvus retrieval and a local embedding model, and what the Enterprise tag and beta status mean for your rollout.

On this page

Rocket.Chat AI app with a self-hosted LLM: when teams need it

Choose the Rocket.Chat AI app with a self-hosted model when your team wants thread summaries, unread catch-up, Livechat conversation summaries and retrieval-based answers, and the conversations involved must not leave infrastructure you control. The AI app is a retrieval-augmented assistant. According to its documentation, it works with any OpenAI-compatible LLM deployment, including a model you host yourself, so the question is less whether the model can be reached and more whether your compliance and security teams accept where the prompts, retrieved messages and summaries are processed. Before you scope anything, confirm three facts with Rocket.Chat: the AI app is tagged Enterprise, it is in beta, and it is disabled after installation until Rocket.Chat sales enables it for your workspace.

Because of that status, treat this as a planning decision rather than a switch to flip. Ask Rocket.Chat in writing which license tier, workspace registration and enablement steps apply to your deployment, whether the beta behavior and limits are acceptable for your user population, and what support terms cover the AI app during the beta period. Confirm how the feature's data handling is documented for the version you will run. Your Rocket.Chat plan and the paid-plan terms also determine whether the feature is available to you at all, so involve procurement early. Confirm the current enablement path and any cost terms directly with Rocket.Chat, since this page does not state prices.

Teams most often need this when retrieval over a large message history matters more than a generic chatbot, and when a regulated group cannot accept a third-party model in the processing path. Plan for the infrastructure that supports the model endpoint, the vector store and the embedding model before the AI app itself, because those components decide latency, capacity and who operates what. Note that the AI app supports Milvus as its only vector database and only a locally deployed embedding model, and that Livechat and unread summaries cover up to 100 messages. Those constraints should shape whether the feature fits your use cases before any build work starts.

Where the AI app, model endpoint, embedding model and Milvus sit

The diagram starts with a user asking a question or requesting a summary in Rocket.Chat. The Rocket.Chat AI app sends the request through the organization's infrastructure: it retrieves context from Milvus using vectors produced by a locally deployed embedding model, then calls an OpenAI-compatible LLM endpoint that you host yourself. Check that every hand-off stays inside the trust boundary, and that no step calls a hosted model or embedding service you have not approved.

Components and hand-offs of the AI app inside the organization's trust boundary.

Which model and retrieval options fit which environment

This table compares the model, vector database and embedding choices the Rocket.Chat AI app supports, and what each one asks of your team. Read each row as a fixed constraint: the retrieval side has only one supported option, so most of the decision sits in where the LLM runs.

ComponentSupported choiceWhere it fitsWhat it shifts onto your team
LLM endpointAny OpenAI-compatible deployment, self-hosted or hostedHosted endpoints suit teams without GPU capacity; self-hosted models fit data residency rules that keep prompts and messages inside your networkHosted: vendor terms, egress review and key management. Self-hosted: model serving, capacity planning and patching
Model hosting locationInside your data center or cloud account, or a provider endpointChoose self-hosted when message content must not leave controlled infrastructureSelf-hosted: accelerator sizing, model updates and endpoint availability
Vector databaseMilvus onlyThe only supported option, so any retrieval design must be built on MilvusDeploying, sizing, backing up and upgrading Milvus alongside Rocket.Chat
Embedding modelLocally deployed model onlyKeeps message text out of external embedding servicesSelecting, hosting and re-embedding content when the embedding model changes
Summary scopeLivechat and unread summaries cover up to 100 messagesPlan for long threads or busy channels that exceed this windowSetting expectations with users and documenting the limit in internal guidance
App statusEnterprise tag, beta, disabled until enabled by Rocket.Chat salesConfirm availability and beta terms before committing a rollout dateChange control for a beta component in production and a rollback plan
VerificationRequires your own test planConfirm endpoint, retrieval and summary behavior in a staging workspace firstTesting prompt handling, access to retrieved content and logging

Setup sequence for the AI app with a self-hosted model

This sequence takes the Rocket.Chat AI app from licensing confirmation to a tested setup in which summaries and retrieval run against your own model and embedding service. Each step ends with a check, so a problem is found before the next layer depends on it.

  1. Confirm Enterprise licensing and beta status

    Before any build work, ask Rocket.Chat sales to confirm that your workspace is licensed for the Enterprise tier and that you accept the AI app's beta status. The AI app is tagged Enterprise, is in beta, and stays disabled after installation until Rocket.Chat sales enables it, so nothing in the later steps can switch it on for you. Ask sales to confirm in writing which workspace and version the enablement applies to. You know this step is done when you hold that written confirmation and the app is still disabled in the workspace.

  2. Confirm the Rocket.Chat version and supported setup

    Check that your Rocket.Chat version is on a supported release line and that your MongoDB version and replica set meet the system requirements for that version. Confirm with Rocket.Chat which deployment design applies to your user count and whether the AI app is supported on it. Record the exact version so that the app, the endpoint and the test results can be tied to one baseline. You know this step is done when the version, database and deployment model are written down and match what Rocket.Chat confirmed.

  3. Deploy Milvus for retrieval

    Deploy Milvus as the vector database, since it is the only option the AI app supports for retrieval. Place it in the same infrastructure you control as Rocket.Chat, with network paths the AI app can reach and storage, access control and backups defined by your team. Create the collection the app will use and confirm that the service accepts connections from the app host only. You know this step is done when Milvus answers a test connection from the app host and an unauthorized host is refused.

  4. Deploy the local embedding model

    Deploy the embedding model locally, because the AI app supports only a locally deployed embedding model for retrieval. Choose a model your team has reviewed for licensing and data handling, and size its compute for the volume of messages you intend to index. Generate embeddings for a small set of test messages and confirm that vectors of the expected dimension are written to Milvus. You know this step is done when a test message can be embedded and retrieved by similarity search from Milvus.

  5. Expose the OpenAI-compatible endpoint

    Expose your self-hosted model through an OpenAI-compatible endpoint, since the AI app works with any compatible deployment. Put the endpoint behind TLS, restrict access to the Rocket.Chat server, and issue a dedicated credential for the app rather than reusing a shared key. Send a plain chat request from the Rocket.Chat host to confirm the response format and latency are acceptable. You know this step is done when a request from the Rocket.Chat host returns a valid completion and a request from any other host is refused.

  6. Install and configure the AI app

    With sales enablement confirmed, install the AI app in the workspace and point it at the endpoint, the Milvus instance and the embedding model using the settings in the app documentation. Keep the app's data flows documented, including which messages are sent to the model and which are embedded. Confirm that the app is enabled only after this configuration is in place. You know this step is done when the app shows connected status for the model and the vector database and no configuration errors appear in the server logs.

  7. Test summaries and retrieval at each layer

    Test each layer in turn. Run a thread summary and an unread summary in a test room with a known set of messages, and compare the output with the source. Run a Livechat summary on a test conversation, noting that summaries cover up to 100 messages. Then ask a retrieval question whose answer exists only in a test message and confirm the answer cites that message. Record each result, the model endpoint used and any failure. You know this step is done when every summary and retrieval test passes and the results are saved for the change record.

Security and data handling for a self-hosted AI app

The AI app adds three new paths for data to leave the conversation: the model endpoint, the Milvus vector store and the embedding model. Each path needs an owner, a credential and a log, and the Rocket.Chat version it runs on must stay supported.

Model endpoint access

The app sends prompts and retrieved message content to whichever OpenAI-compatible endpoint you configure. Confirm that the endpoint is reachable only from the Rocket.Chat network segment, that it requires authentication, and that it is hosted in infrastructure you control. A misrouted base URL is the most common way conversation content ends up with a third-party provider, so review the configured endpoint value after every change.

AI app docs

Milvus access and tenancy

Milvus is the only supported vector database, and it holds indexed message content in searchable form. Restrict network access to the Rocket.Chat service, separate credentials from the model endpoint, and confirm how the Milvus deployment is backed up and purged. Ask who on your team can read the collection directly, since that access bypasses Rocket.Chat room permissions.

Endpoint key storage

Model endpoint keys and Milvus credentials are configuration secrets, and they should not be stored in plain text in admin settings exports, shell history or chat. Store them in a secrets manager you already operate, inject them at deploy time, and rotate them on a schedule. Confirm who holds administrator rights in Rocket.Chat, because those accounts can view and change configuration.

AI app docs

Which conversations reach retrieval

Retrieval indexes messages across the workspace, so a private room's content can surface in answers to users who should not see it. Decide which room types and channels are indexed, and test that a user asking a question receives only content they can already read in Rocket.Chat. Summaries are a separate path: limit who can request them, and remember that Livechat and unread summaries cover up to 100 messages.

Logging prompts and outputs

Prompts, retrieved passages and generated summaries can contain personal or regulated data, and they may be written to model-gateway, reverse proxy or application logs. Decide what is logged, for how long, and who can read it. Redact or disable body logging where the content is sensitive, and confirm that log retention matches your recordkeeping rules for the workspace.

Patching the Rocket.Chat version

The AI app depends on the Rocket.Chat release it is installed into, and unsupported versions stop receiving security fixes. Plan upgrades so the workspace and the app stay on a supported line, and re-test retrieval permissions after each upgrade. Rocket.Chat also says unsupported versions may lose connection to official mobile and desktop clients, so patching is an operating task, not a one-time setup.

Standard release support
6 months

Questions buyers ask before running the AI app themselves

Can the Rocket.Chat AI app run on any self-hosted language model?

Yes, the AI app works with any OpenAI-compatible LLM deployment, including a model you host yourself. The model is only one part of the stack. For retrieval, the app supports only Milvus as the vector database and only a locally deployed embedding model, so those two components are fixed choices, not open ones. Before you commit, confirm that your model server exposes an OpenAI-compatible interface that the app can call, and test response quality on your own threads and Livechat transcripts. The Rocket.Chat AI app documentation is the reference for the supported configuration and should be checked against the release you run.

What drives the cost of running the AI app with a self-hosted model?

Cost comes from four areas, and most of them recur. Model hosting and GPU capacity are the largest and depend on model size, expected concurrency and response speed. Milvus needs its own compute, storage and backups, plus someone to upgrade and monitor it. The embedding model adds local compute for indexing and queries. Rocket.Chat Enterprise licensing for the AI app is handled by quote, so ask Rocket.Chat sales for the license terms and what they include. Ask any partner for a quote that separates one-time setup from monthly hosting, licensing and operations, and that states which GPU sizing assumptions were used.

How long does an AI app deployment take?

Duration depends on scope, and no fixed timeline is published for this topic. A proof of concept on a single test workspace with one model, Milvus and an embedding model is a much smaller job than a production rollout with SSO, access control, audit logging and capacity testing. Work that usually extends the timeline includes GPU procurement or cloud quota approval, validating model output quality, and agreeing on what data the assistant may read. Ask for a written plan with phases and acceptance criteria, and confirm which steps depend on hardware you have not yet received.

What does my team need to supply for the AI app deployment?

Plan to provide the following before work starts:

  • A running Rocket.Chat workspace on a version that the AI app supports, with an administrator account and a test environment.
  • Hosting for the model, GPU capacity or accelerator access, and a decision on where inference runs.
  • Infrastructure for Milvus and the local embedding model, including storage and backup targets.
  • Written approval from Rocket.Chat for the Enterprise and beta-enabled AI app, since the app stays disabled until Rocket.Chat sales enables it.
  • Named owners for model access, data policy and sign-off on which channels and Livechat conversations the assistant may summarize.
Can our in-house team deploy the AI app without a partner?

Yes, if your team already runs Rocket.Chat, can operate Kubernetes or your chosen container platform, and has experience running a model server and a vector database. The main gaps are usually GPU sizing, Milvus operations and validating retrieval quality, not the Rocket.Chat setting itself. Enterprise enablement goes through Rocket.Chat sales, so start that conversation early. A partner can cover the parts your team has not run before, such as hardening, backups and testing. Compare the cost of learning these components against a fixed-scope quote from DeployOpen, which is agreed in writing before work begins.

Does beta status mean the AI app is not ready for production use?

The AI app is tagged Enterprise and is in beta, so it should be treated as an early-stage feature. Beta status means behavior, settings and supported options may change between releases, so production use needs a stricter test plan than a standard feature would. Before you go live, confirm the current status with Rocket.Chat, pin the version you test, and repeat tests after each upgrade. Ask Rocket.Chat what support it offers for beta features and whether any limits apply to production workloads.

What limits does the AI app place on summaries?

Livechat and unread summaries cover up to 100 messages, so long conversations are not summarized in full. Plan for this when you design the use case. If agents or staff need summaries of longer threads, define how they should split or search the conversation, and test whether 100 messages is enough for your typical Livechat sessions. Confirm this limit against the current AI app documentation before you publish internal guidance.

What should a security review of the AI app cover before rollout?

Review where prompts and message content are sent, which model server receives them, how Milvus stores embeddings, and who can read the resulting summaries. Check access control so the assistant only uses content each user is allowed to see, and confirm audit logging and retention for prompts and outputs. Also review the model server's authentication, network exposure and logging. DeployOpen can test the setup for prompt injection, data exposure and credential handling as part of a fixed-scope security review, with a findings report and retest.

What changes for your team and your deployment

Running the Rocket.Chat AI app against your own model adds components that your team must operate, not only configure. You will run an OpenAI-compatible LLM endpoint, a Milvus vector database for retrieval, and a locally deployed embedding model. Each one has its own capacity, patching, backup and access requirements, and each one sits on the path between your users' messages and the answers they receive. Before the build starts, decide who owns each component, where it runs inside your network, and how it is monitored. Confirm the current Milvus and embedding model requirements with the AI app documentation and your own infrastructure team, because those details are not settled in this page.

The AI app is also tied to the Rocket.Chat release you run. Rocket.Chat publishes new releases and patch lines on a regular schedule, and standard releases are supported for 6 months while LTS releases are supported for 12 months. An app update that works on one version may not work on the next, so plan the AI app version alongside the Rocket.Chat upgrade rather than as a separate task. Unsupported Rocket.Chat versions stop receiving security fixes, so an AI feature that depends on an end-of-life server becomes a security exposure of its own.

Retrieval quality needs a named owner. Someone must decide which rooms and sources the assistant can search, review answers that users report as wrong, and approve changes to the embedding model or the model behind the endpoint. Each of those changes should trigger a repeatable test set of questions and summaries, run before and after the change, so the team can show what moved. Assign that owner in the project plan, along with the person who will verify that summaries of Livechat and unread conversations, which cover up to 100 messages, still meet the team's needs.

How DeployOpen scopes and delivers the AI app with a self-hosted model

DeployOpen plans, builds, documents and supports Rocket.Chat AI app deployments inside your own infrastructure, with the model endpoint, retrieval store and embedding model placed where your security team can review them. We start from a written scope that states which summaries, which model and which Enterprise and beta conditions apply before any build work begins.

How we scope

  • Confirm with Rocket.Chat sales that your workspace is eligible for the Enterprise-tagged AI app before scoping any build work.
  • Record the OpenAI-compatible model endpoint, its hosting location and the data each request may include.
  • Define which features are in scope: thread summaries, unread summaries, Livechat summaries and retrieval questions.

How we build

  • Deploy Milvus as the vector database and a locally hosted embedding model, both inside your infrastructure.
  • Configure the AI app against your model endpoint, then test answers and summaries on sample rooms you approve.
  • Test access controls so that summaries only read conversations the requesting user is already allowed to see.

How we hand over

  • Deliver a written configuration record covering endpoints, Milvus collections, embedding model versions and admin settings.
  • Document known limits, including the 100-message cap on Livechat and unread summaries and the beta status of the app.
  • Walk your platform, security and compliance teams through the test results so they can review the setup themselves.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Re-test the AI app after Rocket.Chat or model upgrades, since version changes can alter how summaries and retrieval behave.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.