MonClaw: A Minimal OpenClaw Implementation Using OpenCode SDK

✍️ OpenClaw Radar📅 Published: February 7, 2026🔗 Source
MonClaw: A Minimal OpenClaw Implementation Using OpenCode SDK
Ad

MonClaw is a new minimal implementation of OpenClaw functionality using the OpenCode SDK, offering developers a lightweight alternative for building AI-powered chat assistants.

Key Features

  • Telegram adapter — Built with Grammy library for Telegram bot integration
  • WhatsApp adapter — Uses Baileys library for WhatsApp connectivity
  • Simple memory system — Single markdown file (MEMORY.md) loaded on every message
  • Proactive memory updates — Via an OpenCode plugin tool (save_memory)
  • Heartbeat task runner — Periodic checklist from heartbeat.md file
  • Channel-level whitelist — With disk persistence for security

Auth Model

MonClaw reuses OpenCode existing auth mechanisms. The default path uses createOpencode() so the SDK starts and manages a local OpenCode server. Alternatively, you can set OPENCODE_SERVER_URL to connect to an already-running server.

Ad

Quick Start

The project requires Bun runtime. After cloning the repository and installing dependencies, you log in using the OpenCode CLI, configure environment variables (primarily TELEGRAM_BOT_TOKEN), and run the development server.

Available Commands

In Telegram/WhatsApp chat:

  • /remember — Force-save durable memory
  • /pair — Add account to whitelist
  • /new — Start a new shared session across all channels

The project is experimental and the author recommends exercising caution, especially with sensitive data.

📖 Read the full source: r/openclaw

Ad

👀 See Also