ahmadrosid/nakama
One self-hosted runtime for teams to share agents, skills, and automations.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Nakama is a TypeScript monorepo built around one shared agent runtime. The web, CLI, and desktop apps are thin clients; @nakama/client uses HTTP and SSE. In apps/server, Hono handles rate limiting, authentication, organization context, and routing; AgentService sits behind that request layer. Messaging integrations front the same platform through separate channel workers.
The organization is the main isolation boundary: profiles, sessions, tools, MCP, skills, automations, attachments, and usage are organization-scoped unless designated platform-level. Agents have their own prompt files, tools, skills, memory, identity, and permissions. Those agent-level settings support different jobs within an organization, but should not be treated as a separate infrastructure boundary.
Key Capabilities & Differentiators
Teams can select an agent in the dashboard, start a chat, and share agents, skills, and automations without running separate server instances for each client. Invitations and roles support shared administration. Telegram, WhatsApp, Discord, and Slack are documented integrations, alongside Composio for external apps. The architecture also lists a Teams worker, but that alone does not establish the same setup or support level as the named integrations.
On an unconfigured first run, the server asks for a model provider and API key; no complete provider or local inference matrix is established. Version 0.4.77 adds MiniMax Hailuo video generation and lets a Telegram bot answer for an Agent Group. It also adds a hash-chained audit ledger with organization filtering and export. The chain links audit events; it is not a substitute for independent retention or access controls.
Trade-offs & Limitations
Against OpenClaw or Hermes Agent, Nakama’s clearest reason to adopt is team administration: multiple organizations, invitations, roles, and reusable agents on one server. If one operator on one machine is the whole use case, those controls may not justify a shared service. For team use, centralizing administration reduces per-client setup but also makes the server a shared availability dependency.
Self-hosting gives operators control of the Nakama service, not necessarily of model inference or third-party data handling. Review organization and platform-level permissions before connecting shared tools or channels, and verify provider requirements before adopting it for a disconnected environment. The MIT license permits commercial self-hosting, but does not cover external provider terms. Desktop users also have an extra prerequisite if they rely on Claude Code or Codex: since v0.4.76 those CLIs are installed separately.
Hardware & Deployment Guide
For server self-hosting, use the published GHCR image with Compose. Set NAKAMA_VERSION explicitly because the image tag otherwise defaults to latest. The service binds 127.0.0.1:4310, so put an HTTPS reverse proxy in front for remote access. Data lives under /nakama/data; keep /nakama/backups outside the data volume for the daily encrypted exports. Store a separate copy of NAKAMA_SECRETS_KEY: backups do not contain it, and settings secrets need it. The Settings update button can hand off requests through /nakama/updates when the updater is enabled.
For local development, Bun runs bun install and bun run dev:web; the dashboard opens on port 3003. The bare-host PM2 route additionally requires Node.js 22.12 or later. Managed hosting avoids provisioning Docker, Bun, or a VPS. The standalone server’s sizing starts at 1 vCPU and 1 GB RAM, with about 200 MB idle memory; do not extrapolate that to channel workers or concurrent workloads. Desktop is a separate distribution path: the published installer targets macOS 15+ on Apple Silicon, with no published Windows installer.
Teams that need a shared agent workspace with organization-level isolation, messaging integrations, and a server they can operate themselves.
You only need a single-user local agent, require fully offline inference out of the box, or need a published Windows desktop installer.
Quick Start & Installation
# Install dependencies bun install # Start the web (starts the server automatically if needed) bun run dev:web
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| nakama ★ | 873 | +7 | TypeScript | MIT | One self-hosted runtime for teams to share agents, skills, and automations. |
| dify | 162.4k | +370 | Python | — | Visual workflow and RAG workspace for building and serving LLM apps |
| lobehub | 86.4k | +237 | TypeScript | — | A self-hostable agent workspace for team tasks, shared context, and MCP tools |
| AstrBot | 47.9k | +298 | Python | AGPL-3.0 | A self-hosted Python agent hub that connects chat platforms to model providers |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ahmadrosid/nakama.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about nakama
Do clients and messaging integrations each run their own agent runtime?
@nakama/client, uses HTTP and SSE. Messaging channels have separate workers; when enabling one, review its credentials and the tools available to the agent it exposes.What hardware do I need, and does the server require a GPU?
Can a company use Nakama commercially and host it internally?
When is Nakama a better fit than OpenClaw or Hermes Agent?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy