getting-started.mdx
August 31, 2026 · View on GitHub
What You Need
- A macOS or Windows desktop environment (desktop path).
- Or Node.js
>=22+ npm (CLI / source path). - API Key mode requires at least one model provider's API Key.
Quick Setup
For a terminal-only installation on Linux x64 or arm64, install Node.js 22 or newer and make sure a systemd user session is available, then run:
curl -fsSL https://raw.githubusercontent.com/MemTensor/memmy-agent/main/scripts/install.sh | bash
memmy
The installer starts the local Memory Service as memmy-memory.service. If no usable model is configured, the first bare memmy command opens the existing wizard. After saving, it enables memmy-gateway.service, waits for readiness, and continues into the TUI. Both systemd --user services stay running when the TUI or terminal exits and start again on later logins; linger is not enabled. The installer launcher also refreshes a private ~/.memmy/systemd/gateway.env file (mode 0600) so configuration-referenced credentials and the terminal PATH remain available to the persistent Gateway.
Use systemctl --user status memmy-memory.service and systemctl --user status memmy-gateway.service to inspect them. The installer does not modify external agents. Run memmy-memory init or memmy-memory init --agent <agent> explicitly to install Memory integration for an agent.
Download and install the Memmy desktop app. On first launch it automatically:
- Sets
MEMMY_HOMEandMEMMY_CONFIG. - Installs the bundled CLI and prepares Hooks, plugins, and companion Skills for authorized Agents.
- Prepares
~/.memmy/config.yaml, the workspace, and the Memory SQLite database. - Starts the Memory service and the Agent gateway.
cd App/memmy-agent
npm install
npm run build
node dist/main.js --help
On the welcome page, choose:
- Account mode: sign in with a phone number or email verification code, using platform trial tokens.
- API Key mode: a three-step setup — primary model + Embedding, memory-related models, and optional ASR and image generation models — each step with a real connection test.
memmy onboard # Terminal menu for configuring models, providers, and tools
memmy onboard --defaults # Initialize config and workspace non-interactively
memmy status # Check configuration and runtime status
Enter the main workbench and send your first message from the input box. Enter to send, Shift + Enter for a new line, and type / to open the slash command panel.
memmy agent --message "Hi, introduce the current workspace"
# Or start an interactive chat directly
memmy
Open "Memory → Cross-Agent access" and scan conversation history from Cursor, Claude Code, Codex, OpenCode, OpenClaw, Hermes, WorkBuddy, Pi, and qwenwork into the memory store. First-run onboarding lets you scan only or also install the matching Hook, plugin, or Skill for detected Agents.
After connection, Hooks and plugins capture completed turns and inject relevant memory automatically; WorkBuddy, Pi, and qwenwork use the Skill for on-demand memory access. See Agent Sources & Scanning for details.
To connect an Agent outside the built-in list, open Advanced actions → Add another Agent. Select kimi code, zcode, minimax code, or coder, or enter another name; Memmy discovers its history location and format, installs the Skill, and completes the first import.
Open the "Tools" page:
- Messaging channels: Telegram, Discord, iMessage, WeChat, Feishu, DingTalk.
- Managed integrations: GitHub, Gmail, Notion, Slack, Linear, Jira, and more, via OAuth.
Advanced: Use Memmy as a Local API
memmy serve
Listens on http://127.0.0.1:18990 by default, exposing GET /health, GET /v1/models, and POST /v1/chat/completions — reusable by any tool that speaks the OpenAI Chat Completions protocol.
Advanced: Environment Variables
| Variable | Purpose |
|---|---|
MEMMY_HOME | Memmy data home directory (default ~/.memmy) |
MEMMY_CONFIG | Main config file path (default ~/.memmy/config.yaml) |
MEMMY_MEMORY_TOKEN / MEMORY_SERVICE_TOKEN | Bearer token for the Memory HTTP service |
${ENV_NAME} references in the config file are resolved automatically, so you never hard-code API Keys in config.
What's Next
Sessions, attachments, voice, and slash commands · Agent scanning and Hook/plugin integrations · The three-step setup in detail · The lightweight always-on-desktop entry point