Skip to content

indranilbanerjee/DMClaw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DMClaw

Vertical AI operating system for digital marketing.

DMClaw compresses the capabilities of a 50-200 person digital marketing agency into an intelligent system that solo founders, small teams, and large agencies can deploy. It handles content production, SEO, advertising, analytics, creative, client communications, and strategy through AI-powered capabilities coordinated by an orchestration engine.

Status

Phase 0 — Fork & Foundation (v0.0.1-fork)

DMClaw is forked from OpenClaw (MIT, 320k+ stars). The gateway, channel adapters, WebSocket control plane, and admin UI come from OpenClaw. Everything above the gateway — orchestration engine, identity cascade, capabilities, knowledge infrastructure, memory system, model router — is built new.

Architecture

Channel Layer        WhatsApp · Slack · Telegram · Discord · Web UI
Gateway Core         Sessions · Auth · RBAC · WebSocket · Event Bus
Operational Config   YAML-defined org structure · approval chains · autonomy levels
Orchestration Engine Task decomposition · capability routing · quality gates
Capability Layer     ContentForge · SEO · Ads · Creative · Analytics · Reporting
Integration Layer    MCP connectors: Google Workspace · Ad Platforms · SEO Tools
Knowledge Infra      Brand Vaults · Data Source Vaults · RAG per brand
Memory System        Campaign history · decision logs · agency learning
Model Router         Multi-LLM: Claude · GPT · Gemini · LLaMA/Ollama
Foundation           PostgreSQL + pgvector · Redis + BullMQ · Pino · OpenTelemetry

Key Concepts

  • Identity Cascade: Agency Soul → Brand Soul → Campaign Context (YAML configs, lower overrides higher)
  • Autonomy Dial: 0-4 levels per-capability, per-client, per-task-type
  • Capabilities: Pluggable skills that implement a standard interface (pipeline, conversational, scheduled, or hybrid execution)
  • Quality Gates: Every pipeline phase has pass/fail criteria; failure routes back with feedback

Tech Stack

Component Choice
Runtime Node.js >= 22, TypeScript strict
Monorepo pnpm workspaces
ORM Drizzle ORM (pgvector support)
State Machine XState v5 (pipeline actors)
LLM SDK Vercel AI SDK v6 (multi-provider)
Testing Vitest
Event Bus Typed EventEmitter + Redis Pub/Sub + BullMQ
Logging Pino (structured JSON)
Tracing OpenTelemetry
Metrics Prometheus

Quick Start

# Prerequisites: Node.js >= 22, pnpm, Docker (for PostgreSQL + Redis)

# Clone and install
git clone https://github.com/indranilbanerjee/DMClaw.git
cd DMClaw
cp .env.example .env  # Fill in your LLM API keys
pnpm install
pnpm build

# Start gateway
pnpm dev

Project Structure

src/              Gateway core (sessions, auth, channels, agents)
extensions/       Channel adapters (WhatsApp, Slack, Telegram, etc.)
skills/           Pluggable skills
ui/               Admin UI (Lit 3)
apps/             Mobile apps (iOS, Android, macOS)
packages/         Workspace packages
docs/             Documentation
.ai-context/      Architecture docs and specs
.agent/           Engineering rules and workflow templates

Documentation

License

MIT — see LICENSE.


Built by Indranil Banerjee. Part of the NeelVerse ecosystem.

About

Vertical AI operating system for digital marketing

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors