Smoke Monkey mascot Open-Source TypeScript Workspace · v1.4.1

Local-First Visual Multi-Agent AI & MCP Workspace

Deploy, schedule, and orchestrate autonomous AI agent swarms on an infinite spatial canvas. Built on Smoke Monkey Harness with zero-native-dependency SQLite persistence, visual MCP server management, and native desktop apps.

$ npx @smoke-monkey/canvas start
✔ Smoke Monkey Canvas daemon running at http://127.0.0.1:3333
⬇️ Download Desktop App ★ View on GitHub ☁️ Self-Host & Cloud Deploy

What is Smoke Monkey Canvas?

Smoke Monkey Canvas (@smoke-monkey/canvas) is a self-hosted, open-source TypeScript developer workspace for building and monitoring multi-agent AI systems on an infinite drag-and-drop canvas. Every agent node runs inside an isolated runtime with its own system prompt, LLM provider, working directory, Model Context Protocol (MCP) tools, reusable skills, and cron schedule.

Instead of juggling single-threaded terminal agent loops or losing state when a script exits, Canvas stores all agents, zones, encrypted API keys, and multi-turn chat sessions locally in Node.js built-in node:sqlite—giving you a visual multi-agent IDE with zero cloud lock-in.

Architecture & Features

Built for Local Multi-Agent Orchestration

Everything runs from one lightweight Node.js 22+ process (or native Tauri desktop binary) powered by smoke-monkey-harness.

Infinite Multi-Agent Swarm Canvas

Arrange agents into spatial zones, wire delegation connections between supervisor and worker agents, and inspect live run status across your entire workspace.

Visual MCP Client & Built-In Server

Attach any stdio or SSE Model Context Protocol (MCP) server per agent—or run npx @smoke-monkey/canvas mcp so Claude Code, Cursor, or Antigravity control your canvas.

Isolated Cron-Scheduled Agents

Schedule recurring autonomous runs with standard cron expressions. Cron executions log to isolated cron_* threads so background jobs never pollute interactive chats.

Zero-Native-Deps SQLite Memory

Uses Node.js built-in node:sqlite at ~/.smoke-monkey/canvas.db for persistent multi-turn chat sessions, workspace coordinates, and encrypted API keys—no C++ build tools needed.

Real-Time WebSocket Tool Streaming

Watch reasoning tokens, file edits, bash tool calls, and delegation events stream in real time over authenticated WebSockets and REST APIs.

Why Visual & Local-First

How Smoke Monkey Canvas Compares

Designed for developers who want a visual TypeScript alternative to terminal-only loops and cloud-hosted workflow builders.

Capability Terminal Agent Loops Cloud Agent Builders Smoke Monkey Canvas
Multi-agent spatial visibility Single terminal pane per process Browser flowchart in vendor cloud Infinite spatial canvas + zone presets
Data & API key residency Local files / ephemeral memory Vendor servers & hosted DB 100% local SQLite (encrypted keys at rest)
MCP integration Manual JSON per CLI tool Limited hosted connectors Per-agent stdio/SSE MCP + canvas-mcp server
Scheduled background runs External crontab scripts Paid cloud tier limits Built-in cron scheduler with isolated threads
Packaging CLI only SaaS subscription NPX CLI, native Tauri desktop app & Docker
Get Started in Seconds

Run Locally, in Desktop, or via MCP

Requires Node.js 22+ for NPX/CLI usage, or zero runtime prerequisites with the standalone desktop installers.

1. Instant NPX Background Daemon

Start the local server on 127.0.0.1:3333 and open the spatial workspace in your browser.

npx @smoke-monkey/canvas start
npx @smoke-monkey/canvas status
npx @smoke-monkey/canvas logs -f

2. Attach Canvas as an MCP Server

Let Claude Code, Cursor, or Antigravity spawn agents, arrange zones, and delegate tasks programmatically.

{
  "mcpServers": {
    "smoke-monkey-canvas": {
      "command": "npx",
      "args": ["-y", "@smoke-monkey/canvas", "mcp"]
    }
  }
}

3. Self-Host with Docker

Run the multi-arch container (linux/amd64 & linux/arm64) with persistent SQLite storage.

docker run -d \
  --name smoke-monkey-canvas \
  -p 3333:3333 -e HOST=0.0.0.0 \
  -v smoke_canvas_data:/app/data \
  rajdeepsadhu/smoke-monkey-canvas:latest
Bring Your Own Models

Supported LLM Providers & Local Models

Mix and match providers per agent—pair a local Ollama model for file triage with Anthropic Claude, OpenAI, Google Gemini, Groq, DeepSeek, OpenRouter, or NVIDIA NIM for reasoning.

Provider Environment Variable Use Case on Canvas
Ollama (Local) No API key required 100% offline coding, RAG, and privacy-sensitive tasks
Anthropic Claude & OpenAI ANTHROPIC_API_KEY / OPENAI_API_KEY Architect & supervisor agents, multi-step tool orchestration
Google Gemini & NVIDIA NIM GEMINI_API_KEY / NVIDIA_API_KEY Long-context codebase analysis and high-throughput workers
Groq, DeepSeek & OpenRouter GROQ_API_KEY / DEEPSEEK_API_KEY / OPENROUTER_API_KEY Low-latency cron agents and flexible model routing
Frequently Asked Questions

Common Questions About Smoke Monkey Canvas

How do I run Smoke Monkey Canvas with NPX?

Run npx @smoke-monkey/canvas start in any terminal with Node.js 22 or newer. It boots the local server on http://127.0.0.1:3333, generates a per-install auth token, and opens the workspace in your browser.

Does Smoke Monkey Canvas run 100% locally?

Yes. Agents, chat sessions, node coordinates, skills, and encrypted provider API keys are stored locally in SQLite (~/.smoke-monkey/canvas.db). Nothing is sent to a Smoke Monkey cloud backend.

What is the difference between Smoke Monkey Harness and Smoke Monkey Canvas?

Smoke Monkey Harness is the underlying TypeScript AI agent runtime and state machine. Smoke Monkey Canvas is the visual spatial workspace, SQLite session store, cron scheduler, MCP manager, and desktop app built on top of it.

What license does Smoke Monkey Canvas use?

Smoke Monkey Canvas is released under the Sustainable Use License (SUL). It is free for personal projects, academic research, and internal business use; offering it as a commercial hosted SaaS requires a commercial license.