On this page
- 1. Positioning and fit
- 2. Messaging and end-to-end encryption
- 3. AI capabilities
- 3.1 Sixteen catalog models
- 3.2 Model combination and the tool loop
- 3.3 Connectors
- 3.4 Knowledge base and content boundaries
- 4. Devices and integration
- 5. Deployment and operations
- 6. Accounts, permissions and audit
- 7. Security and compliance boundaries
- 8. Current boundaries and future directions
- 9. Next steps
Features: the Keragi product in one page
Last updated: 2026-11-21
Keragi is a privately deployable, AI-native collaboration platform. It puts messaging, AI capabilities, connectors and device integration behind one account, conversation and permission boundary. The server is composed from WASM resources by role, and data stays inside the operator’s own network.
This page is a public overview of what the product does, not a roadmap commitment. Each module carries a status and an explicit boundary; planned work is never described as shipped. Status labels:
| Status | Meaning |
|---|---|
available | Usable in the current release and verifiable in public docs |
subset | Only a subset is supported; do not market the full capability |
reference | Reference architecture or example; the integrator implements it |
planned | Roadmap direction, not a delivery promise |
custom | Requires project customization or a commercial agreement |
1. Positioning and fit
Keragi is not a single monolith with every feature switched on. The server is split into independently installable resources: control plane, messaging, accounts, AI and connectors. Operators compose them by server role. The immediate benefit is a smaller exposure surface: a messaging-only server does not need the connector role, and an account-only server does not need AI. Single-host is the current default. Clustering, automatic failover and horizontal write scaling are planned and under evaluation for future releases; single-host Docker/Compose is available with the official launcher image, while Kubernetes and multi-host clusters remain under evaluation. Multiple hosts are currently independent instances; shared conversation state is a future-release direction.
Private deployment is the other main thread. Accounts, ciphertext, resource state and deployment configuration stay on the customer’s machine, which suits teams with requirements around data location, network boundaries and access control. It does not mean the system automatically satisfies a compliance certification. Network security, backup, logging, access control and lawful use remain the operator’s responsibility.
Typical fits include:
- small teams or internal organizations using direct messages, group chats, channels and file collaboration;
- teams that want a unified text, vision, image, video, music and speech capability inside their own network;
- development or operations teams that want already signed-in local AI clients in a conversation without handing the execution environment to a cloud service;
- field projects that bring device data in through sub-accounts, gateways or local bridges;
- FDE and solution delivery that embeds AI into an on-site workflow.
| Resource | Responsibility | Typical role |
|---|---|---|
resx | Control plane, status and resource management | Main server |
msgx | Messages, conversations, groups and channels | Messaging server |
userx | Accounts, contacts, authentication and sub-accounts | User server |
conn | Connector sessions, authorization and execution boundary | Connector server |
agix | Built-in AI, model routing and tool loop | AI server |
wasmx | Host that loads and runs the WASM resources above | Every server |
Resource packages contain precompiled artifacts. Install the roles you need; you do not recompile the server for each one. When new capability is needed, prefer adding a resource over modifying the host.
2. Messaging and end-to-end encryption
Messaging is the foundation. Direct messages and group chats support text, member management, channels, recall, editing and read/delivery indicators; the exact set follows the client UI. The primary copy of message history lives on the client. When E2EE is enabled, the server stores ciphertext; when it is off, messages follow the operator’s storage policy, and whether it is cleaned up is configured by the operator.
The E2EE scope needs to be precise: when E2EE is enabled, only direct and group chat text is encrypted on the client. Group chats use client-managed group keys; the server only relays and blind-stores ciphertext and cannot read the body. Media attachments, channel messages, AI conversations and connector sessions are outside the same E2EE scope. Media uploads go to server-side storage, channels are currently outside the E2EE send path, and AI or connector content is sent to the corresponding service according to configuration. The server still processes necessary metadata such as accounts, routing and connections, so relaying is not anonymity.
| Content type | Encryption | Notes |
|---|---|---|
| Direct text | available | When E2EE is enabled, client-side encryption; the server relays/blind-stores ciphertext; off by default |
| Group text | available | Group keys managed by clients |
| Channel messages | Outside E2EE | No encrypted send path in the current client |
| Media attachments | Outside E2EE | Files are uploaded to server storage |
| AI / connector conversations | Outside E2EE | Processed per model or connector configuration |
| Message history | Primarily client-side | Export key backups before changing devices |
Be careful with multi-device claims. The public scope does not include full cross-device message sync or group-key rotation; those directions are planned and must not be treated as delivered. Private and session keys stay on the client, and browser clients are still exposed to endpoint, extension and script risk, so absolute security cannot be promised. Deleting client data, losing a device or skipping backups can make messages permanently unrecoverable; the server cannot restore them.
3. AI capabilities
3.1 Sixteen catalog models
Built-in agix uses one /v1/responses endpoint for text chat and tool calls. The model names are Keragi routing names. The current catalog has 16 entries; the upstream model is selected by model_id, which the client can override. Actual availability depends on configured keys and upstream quota — not “available immediately after install”.
| Route name | Purpose | Input → output |
|---|---|---|
deepseek-flash | Text chat and image understanding | Text/image → text |
deepseek-v4-pro | Text chat | Text → text |
deepseek-tts | Speech synthesis | Text → audio |
deepseek-asr | Speech recognition | Audio → text |
qianwen-chat | Text chat | Text → text |
qwen-vl | Vision understanding | Text + image → text |
qwen-image | Image generation | Text → image |
qwen-video | Text-to-video | Text → video |
qwen-video-i2v | Image-to-video | Text + image → video |
qwen-tts | Speech synthesis | Text → audio |
qwen-asr | Speech recognition | Audio → text |
seedance | Text-to-video (Seedance 2.5) | Text → video |
seedance-flash | Text-to-video (Seedance 2.5 Flash) | Text → video |
openai-chat | OpenAI text chat | Text → text |
claude-chat | Claude text chat (compatible endpoint) | Text → text |
stable-audio | Music generation | Text → audio |
The point is not one model doing everything. Different modalities sit on the same conversation path and the text model dispatches to them as needed. Text, vision, image, video, music, TTS, ASR and VL work in both native and WASM deployments. WASM media needs AGIX_WASM_MEDIA and outbound HTTP; the real model set depends on configured keys and upstream quota.
3.2 Model combination and the tool loop
Built-in agix runs a “brain → tool → brain” loop. The text model understands the request and decides whether to call OCR, search, fetch, speech, image, video or music tools. Tool results are fed back, and the model continues reasoning or calls the next tool. The maximum round count is controlled by AGIX_AUTO_MAX_ITER. Multi-step requests such as “look at this image and read it aloud” or “generate a video and explain it” can be decomposed automatically.
| Tool | Purpose | Status and boundary |
|---|---|---|
ocr | Extract text from images | available; reuses a vision model |
web-search | Search the web with sources | available; needs search API configuration |
web-fetch | Open a link and extract its body | available; length and target-site limits apply |
| TTS / ASR | Speech synthesis and recognition | available; needs keys and modality configuration |
| Image/video/music generation | Multimodal content generation | available; image generation is a WASM subset using the configured model; asynchronous and quota-bound |
One important boundary: under WASM the tool loop is a subset, not arbitrary tool orchestration. Knowledge-base retrieval, AI history persistence and industry skills each have deployment-form limits. A failed tool call returns an explicit error in the conversation; it is not silently reported as success.
3.3 Connectors
A connector is not a built-in model. It brings an already installed and signed-in AI client on the host — such as Claude, Codex or DeepSeek — into a conversation. It reuses that host’s login state and file permissions, which fits local development, existing subscriptions or sensitive environments. It is not a cloud bot and not an always-on hosted agent. If the connector host sleeps, loses network or exits, the session stops processing.
Creating a connector session normally requires a one-time authorization on the host; persistent sessions default to a pending state and can bypass this when the operator selects automatic mode. The approval page is limited to the connector host or allowlisted addresses; a remote host needs an SSH tunnel or VPN. One-shot execution and persistent sessions have different approval semantics. Per-tool approval is currently available only for some backends, so do not describe it as “every action is approved step by step”. Attachments, cancellation and subprocess cleanup are also subset capabilities.
Connector replies are normal messages and can coexist with encrypted messages in the same conversation; they are not themselves E2EE. Do not send passwords, keys or sensitive credentials into a connector conversation. Grant execution only to trusted accounts. The working directory is chosen by the operator, and multiple connectors should not write to the same project.
3.4 Knowledge base and content boundaries
The knowledge base supports named spaces, CRUD on entries and document upload (Markdown/PDF). It is isolated per user and can act as a knowledge source for conversations. Retrieval is still maturing: under WASM, knowledge-base retrieval is not a full capability. Vector retrieval is preferred when embeddings are configured, otherwise it falls back to keyword matching. Do not claim that “AI automatically performs semantic retrieval”.
Collaboration content also includes media messages, channels and group history. Media and conversation content follow their own storage and retention policies, and when AI or connectors read that content the boundary is set by the corresponding service. Under WASM, AI conversation history is persisted from 1.1.4 onward (older versions may show an empty history); cross-device AI history is a planned direction and can be evaluated per version/project.
4. Devices and integration
Device access is currently reference-led; a first-class device identity is a planned direction. Device-specific credentials, attestation, least-privilege delegation and lifecycle management can be evaluated per project and supported in future releases; a server-side machine identity is also planned. Current access uses three reference models:
- Device as a client participant: sign in with a sub-account or dedicated client and join encrypted conversations like any client. This needs secure storage and enough compute.
- WASM gateway resource: the device connects to a gateway over HTTP/MQTT or similar, and the gateway connects to messaging. The default path is plaintext or the bot channel; the gateway cannot decrypt E2EE messages.
- Local edge bridge: the device connects over serial/GPIO to a local bridge process. The bridge machine is a trusted endpoint and then participates as a client.
| Access model | Status | Encryption boundary | Fit |
|---|---|---|---|
| Device as client participant | reference | Can join direct/group text E2EE | Devices with compute and secure storage |
| WASM gateway resource | reference | Cannot decrypt E2EE; plaintext/bot channel by default | Aggregation and protocol conversion |
| Local edge bridge | reference | The bridge host is a trusted endpoint | Serial, GPIO, field buses |
Current boundaries: official SDKs, templates and examples are planned; the hardware line is coming soon (first ESP32-S3 control board; SKU, certification, pricing and delivery follow the official release); ESP32 plays a device/gateway role while the server host targets Linux/Windows x86_64, and an ARM server is a future-release direction. Public docs use HTTP, MQTT and serial as access examples; Modbus, BLE, CAN or OPC-UA can be adapted per project and are not presented as native support today.
For relays, motors and valves, design fail-safe behavior, emergency stop, timeout reset, permission control, human takeover and independent safety measures. Without independent certification, do not use Keragi for life support, medical, nuclear, aviation, emergency or industrial-safety scenarios. Keragi does not replace PLC, SCADA, fire-safety or medical systems.
5. Deployment and operations
The server supports Linux x86_64 and Windows x64. The default database is SQLite and HelixDB is also supported, with other databases added based on user demand. Clients are Web, Linux deb, Android APK and Windows installer/portable. Single-host is the current default: one process, one database, recommended replicas of 1. Adding instances does not raise the write ceiling. Cluster, HA, automatic failover, rolling upgrade and horizontal write scaling are planned and under evaluation for future releases; single-host Docker/Compose is available with the official launcher image, while Kubernetes and multi-host clusters follow the same project-assessment path.
The deployment path is: download the host and required resource packages, initialize the deployment directory, configure .env, install resources by role, start and verify. For an intranet deployment, put DNS, reverse proxy, TLS and access control inside the operator’s network, and expose only the scopes each resource needs.
| Operational item | Current capability | Boundary |
|---|---|---|
| Install | Download .tgz and install with wasmx add | Packages contain precompiled artifacts |
| Observe | wasmx status, wasmx.log, resource status | Logs/resource state are the current default; centralized metrics can be integrated per project |
| Backup | Stop-the-world backup of data/, uploads/, .env, wasmx.json, wasm/ | Manual/scripted backup is the current default; automatic backup is planned |
| Upgrade | Manual host upgrade; signed WASM resource updates | Host, WASM and DB roll back as a set |
| Rollback | Pre-upgrade backup plus old installer packages | Direct downgrade may be incompatible; prefer the pre-upgrade backup |
| Capacity | Small teams / moderate concurrency on one node | Enterprise concurrency/linear scaling need future validation and project assessment |
Observability is primarily host logs and resource status. Production triage usually follows “symptom → log → configuration”: check wasmx.log for missing variables, upstream errors, port conflicts or resource-load failures, then use wasmx status to confirm resource count and paths. Centralized audit reports, monitoring dashboards and alerting can be integrated per project/future release; compliance auditing and log retention remain the operator’s responsibility.
Common extension points: add or replace resource packages by role, point a model at a custom base_url and model_id, add a connector provider, adapt device protocols in a gateway resource, integrate external systems through Bot tokens and outbound webhooks, or build a project-specific resource. Extension is not an existing plugin marketplace. Resource packages are precompiled artifacts, and industry skills have no Python sidecar under WASM; they can only be operator-customized server extensions.
6. Accounts, permissions and audit
The account system supports registration, login, password recovery, contacts/follow/block and roles/scopes. An administrator or parent account can create sub-accounts. Sub-accounts are an open label and can be used for communication, AI connectors or other purposes. The default role is relatively broad; device-level least-privilege delegation, attestation and lifecycle are planned and can be evaluated per project. M2M/client_credentials and OAuth device flow are outside the current scope and can be evaluated for future releases.
| Capability | Status | Notes |
|---|---|---|
| Register/login/recover | available | Email plus password or verification code |
| Roles and scopes | available | Access limited by resource and endpoint |
| Sub-accounts | available/config | Parent can create, manage and delete |
| Connector sub-account binding | available/config | One connector session binds one sub-account; the agent handles messages in all of that sub-account’s direct and group conversations (direct replies by default, groups only on @) |
| Device-level delegation/attestation | Out of scope | Do not describe sub-accounts as device identity |
| Quota and BYOK | config | Quota depends on deployment; users can bring model keys |
AI keys can come from three places: the shared deployment .env, the sub-account’s own key, or the parent account’s key. Priority is deployment → sub-account → parent. Credentials for a signed-in client on a connector host are managed by that client. Quotas and usage exist, but the numbers depend on deployment configuration and must not be written as a uniform enterprise quota.
On audit: connector approval and execution records stay on the connector side, and server triage relies on host logs. Centralized audit reports can be integrated per project/future release. When audit or compliance requirements apply, the operator must design log collection, retention, access control and an external audit process. This is a deployment responsibility, not an out-of-the-box compliance module.
7. Security and compliance boundaries
The security model can be summarized as “client-encrypted text, server-relayed ciphertext, boundaries split by content type”. Keys and session keys stay on the client; the server handles accounts, routing and necessary metadata. The operator is responsible for HTTPS, reverse proxy, firewall, least-privilege execution, permissions on .env and the data directory, backup protection and version upgrades.
Boundary checklist:
- E2EE covers direct/group text only; media, channels, AI, connectors and device data have separate boundaries.
- When E2EE is enabled, the server stores ciphertext; when it is off, messages follow the operator’s storage policy; retention is configured by the operator. Do not use “delete the database” as a retention policy.
- AI conversations, connector sessions and third-party models send content to the corresponding service; its privacy and retention policy applies. You can, of course, choose to deploy a private model internally.
- A connector is not an E2EE channel. Sub-account binding uses a restricted credential, and the parent account still manages contact and authorization risk.
- Automation involving actuators must keep human confirmation, emergency stop and independent safety measures; high-risk scenarios are prohibited.
- Access control, network security, backup, logging, compliance and lawful use of a self-hosted environment belong to the operator.
We do not promise a risk-free system, and we do not describe relaying as anonymity. Such claims are inaccurate and hide the real risks introduced by endpoints, third-party services and deployment configuration.
8. Current boundaries and future directions
- Single-host is the current default; cloud clustering, HA, automatic failover and horizontal write scaling are planned and under evaluation for future releases. Single-host Docker/Compose is available; Kubernetes and multi-host clusters follow the same project-assessment path.
- E2EE currently covers direct/group text; channel messages and media attachments are outside that scope.
- First-class device identity, attestation and device-level least-privilege delegation are planned; the hardware line is coming soon, and current access uses reference patterns.
- No cloud-hosted always-on agent; connectors depend on a trusted host being online.
- No arbitrary tool orchestration, complete semantic knowledge-base retrieval or cross-device AI history.
- No out-of-the-box centralized audit report, enterprise-concurrency guarantee or plugin marketplace.
- No replacement for PLC, SCADA, fire-safety, medical or other safety-critical systems.
9. Next steps
If you are evaluating Keragi, verify in this order:
- Deploy the single-node stack on a Linux x86_64 or Windows x64 machine and confirm login, direct messages, groups and channels.
- Verify direct/group text E2EE and write down the media and channel boundaries.
- Configure a text model and verify chat; then add image, video, music, TTS and ASR one at a time.
- Deploy a connector only when local capabilities are needed, and complete authorization on the host.
- For device scenarios, choose a reference model first, then design the gateway or local-bridge security boundary.
- Before launch, rehearse backup, upgrade and rollback, and document the operator’s audit and compliance process.
Related pages: Capabilities and boundaries, AI capabilities, Backup, upgrade and rollback, WASM resource packs, Data and security.