<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rwan</title>
    <description>The latest articles on DEV Community by Rwan (@rwan_dddeb7c809e33d4da1e0).</description>
    <link>https://dev.to/rwan_dddeb7c809e33d4da1e0</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3740101%2Fcfc99573-837a-421d-acdb-c83dc9aeaefc.png</url>
      <title>DEV Community: Rwan</title>
      <link>https://dev.to/rwan_dddeb7c809e33d4da1e0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rwan_dddeb7c809e33d4da1e0"/>
    <language>en</language>
    <item>
      <title>I Built a Minecraft-Inspired Dashboard for AI Agents — Zero Dependencies, Pure Vanilla JS</title>
      <dc:creator>Rwan</dc:creator>
      <pubDate>Thu, 29 Jan 2026 16:30:40 +0000</pubDate>
      <link>https://dev.to/rwan_dddeb7c809e33d4da1e0/i-built-a-minecraft-inspired-dashboard-for-ai-agents-zero-dependencies-pure-vanilla-js-1fgd</link>
      <guid>https://dev.to/rwan_dddeb7c809e33d4da1e0/i-built-a-minecraft-inspired-dashboard-for-ai-agents-zero-dependencies-pure-vanilla-js-1fgd</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;p&gt;I built an isometric pixel-art dashboard where AI agents become characters in a living world. Zero npm dependencies, pure HTML/CSS/JS, one command to run. It connects to Moltbot and turns boring terminal monitoring into something you actually want to look at.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; &lt;code&gt;npx @ask-mojo/moltcraft&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/askmojo/moltcraft" rel="noopener noreferrer"&gt;github.com/askmojo/moltcraft&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Demo:&lt;/strong&gt; &lt;a href="https://youtu.be/Kz5efD4eZjU" rel="noopener noreferrer"&gt;youtu.be/Kz5efD4eZjU&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://moltcraft.xyz" rel="noopener noreferrer"&gt;https://moltcraft.xyz/&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  The Problem: AI Agent Monitoring Sucks
&lt;/h2&gt;

&lt;p&gt;I run multiple AI agents using &lt;a href="https://docs.molt.bot" rel="noopener noreferrer"&gt;Moltbot&lt;/a&gt; — an agent orchestration framework. These agents handle Telegram messages, Discord chats, scheduled cron tasks, web browsing, and more. Some run Claude, some run GPT, some use local models.&lt;/p&gt;

&lt;p&gt;My monitoring setup was:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Terminal 1&lt;/span&gt;
&lt;span class="nb"&gt;tail&lt;/span&gt; &lt;span class="nt"&gt;-f&lt;/span&gt; ~/.moltbot/logs/agent-main.log

&lt;span class="c"&gt;# Terminal 2  &lt;/span&gt;
watch &lt;span class="nt"&gt;-n&lt;/span&gt; 5 &lt;span class="s1"&gt;'curl -s localhost:4444/api/sessions | jq .'&lt;/span&gt;

&lt;span class="c"&gt;# Terminal 3&lt;/span&gt;
moltbot status

&lt;span class="c"&gt;# Terminal 4-6&lt;/span&gt;
More logs. Always more logs.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This worked. Technically. But it was miserable. I couldn't tell at a glance which agents were active, what they were doing, or how many tokens they'd burned. And forget about chatting with an agent — that meant switching to Telegram or opening another terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Idea: What If Agents Lived in a World?
&lt;/h2&gt;

&lt;p&gt;Games figured out multi-entity monitoring decades ago. In an RTS, you can see dozens of units at once — their positions, states, and actions — all in a single glance. Why? Because &lt;strong&gt;spatial interfaces are superior for multi-entity awareness&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So I built Moltcraft: an isometric pixel world where each AI agent session becomes a character.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuy5sez58n72cbighzng9.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fuy5sez58n72cbighzng9.jpg" alt="Moltcraft screenshot" width="800" height="462"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Stack (or Lack Thereof)
&lt;/h2&gt;

&lt;p&gt;Here's what Moltcraft is built with:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Tech&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;Vanilla HTML, CSS, JavaScript&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Node.js (single &lt;code&gt;server.js&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Build tool&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Framework&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;npm dependencies&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Zero&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audio&lt;/td&gt;
&lt;td&gt;Web Audio API (procedural)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;TTS&lt;/td&gt;
&lt;td&gt;ElevenLabs API (optional)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;STT&lt;/td&gt;
&lt;td&gt;Browser Speech Recognition API (optional)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Yes, really. Zero dependencies. The &lt;code&gt;package.json&lt;/code&gt; has no &lt;code&gt;dependencies&lt;/code&gt; field. The frontend is hand-written DOM manipulation and CSS transforms for the isometric projection.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why No Framework?
&lt;/h3&gt;

&lt;p&gt;Three reasons:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Simplicity.&lt;/strong&gt; Anyone can read the code, modify it, and understand what's happening. No virtual DOM, no state management library, no build pipeline to debug.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Size.&lt;/strong&gt; The entire package is ~2MB. It runs on a Raspberry Pi without breaking a sweat.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Longevity.&lt;/strong&gt; React 18, 19, 20... frameworks churn. Vanilla JS doesn't. This code will work in 10 years without a migration.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Architecture
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌──────────────────┐     ┌──────────────────┐
│   Browser         │────▶│  Moltcraft       │
│   (Pixel World)   │◀────│  server.js       │
└──────────────────┘     └────────┬─────────┘
                                  │ proxy
                          ┌───────▼─────────┐
                          │  Moltbot Gateway │
                          │  (localhost:4444)│
                          └─────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Node.js server does two things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Serves the static frontend files&lt;/li&gt;
&lt;li&gt;Proxies API requests to the Moltbot gateway (same-origin policy workaround)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's it. It auto-detects your Moltbot config by reading &lt;code&gt;~/.moltbot/moltbot.json&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Isometric World
&lt;/h3&gt;

&lt;p&gt;The world uses CSS transforms for the isometric projection — no Canvas, no WebGL. Each tile is a positioned &lt;code&gt;div&lt;/code&gt; with a &lt;code&gt;transform: rotateX(60deg) rotateZ(-45deg)&lt;/code&gt; (simplified). This makes the rendering incredibly simple and debuggable.&lt;/p&gt;

&lt;p&gt;Agents are sprites layered on top. Their positions update in real-time based on session state from the Moltbot API.&lt;/p&gt;

&lt;h3&gt;
  
  
  Buildings as Data Panels
&lt;/h3&gt;

&lt;p&gt;Each building in the world maps to real operational data:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Building&lt;/th&gt;
&lt;th&gt;Data&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;🕐 Clock Tower&lt;/td&gt;
&lt;td&gt;Cron jobs — schedules, last run, next run&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;⛏️ Mine&lt;/td&gt;
&lt;td&gt;Token usage — consumption per session, totals&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🏰 Barracks&lt;/td&gt;
&lt;td&gt;Installed skills — APIs, tools, status&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;📡 Command Center&lt;/td&gt;
&lt;td&gt;Gateway config — channels, models, settings&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🏛️ Agent Hall&lt;/td&gt;
&lt;td&gt;Active sessions — who's doing what&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Click a building, get real data. No dashboarding framework needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  Procedural Audio
&lt;/h3&gt;

&lt;p&gt;All sound effects are generated at runtime using the Web Audio API. No &lt;code&gt;.mp3&lt;/code&gt; or &lt;code&gt;.wav&lt;/code&gt; files shipped. Oscillators, gain nodes, and filters create:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Footstep sounds when agents walk&lt;/li&gt;
&lt;li&gt;Click/UI feedback&lt;/li&gt;
&lt;li&gt;Ambient background audio&lt;/li&gt;
&lt;li&gt;Notification sounds for new messages&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This keeps the package tiny and the audio surprisingly satisfying.&lt;/p&gt;

&lt;h3&gt;
  
  
  Voice I/O
&lt;/h3&gt;

&lt;p&gt;If you have ElevenLabs configured as a Moltbot skill, agents auto-speak their responses. The browser's Speech Recognition API lets you talk to agents by voice (Chrome/Edge only, needs HTTPS or localhost).&lt;/p&gt;

&lt;h2&gt;
  
  
  Running It
&lt;/h2&gt;

&lt;h3&gt;
  
  
  60-Second Setup
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# That's it. Seriously.&lt;/span&gt;
npx @ask-mojo/moltcraft
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Downloads the package&lt;/li&gt;
&lt;li&gt;Reads your &lt;code&gt;~/.moltbot/moltbot.json&lt;/code&gt; for gateway URL + token&lt;/li&gt;
&lt;li&gt;Starts the proxy server on port 8080&lt;/li&gt;
&lt;li&gt;Opens your browser&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  CLI Options
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @ask-mojo/moltcraft &lt;span class="nt"&gt;--port&lt;/span&gt; 3000    &lt;span class="c"&gt;# Custom port&lt;/span&gt;
npx @ask-mojo/moltcraft &lt;span class="nt"&gt;--tunnel&lt;/span&gt;        &lt;span class="c"&gt;# Cloudflare tunnel for remote access&lt;/span&gt;
npx @ask-mojo/moltcraft &lt;span class="nt"&gt;--no-open&lt;/span&gt;       &lt;span class="c"&gt;# Don't auto-open browser&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  From Source
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/askmojo/moltcraft
&lt;span class="nb"&gt;cd &lt;/span&gt;moltcraft
node server.js
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Vanilla JS Is Underrated
&lt;/h3&gt;

&lt;p&gt;The developer experience of writing vanilla JS in 2026 is actually great. Modern browsers have &lt;code&gt;querySelector&lt;/code&gt;, &lt;code&gt;fetch&lt;/code&gt;, &lt;code&gt;IntersectionObserver&lt;/code&gt;, &lt;code&gt;Web Animations API&lt;/code&gt;, CSS Grid, CSS Custom Properties... You don't &lt;em&gt;need&lt;/em&gt; a framework for a single-page dashboard.&lt;/p&gt;

&lt;p&gt;The tradeoff is real: no component model, no reactivity system, more manual DOM work. But for a project like this, the simplicity wins.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Spatial Beats Textual for Monitoring
&lt;/h3&gt;

&lt;p&gt;This isn't just aesthetic. When I switched from terminal logs to the pixel world, I genuinely caught issues faster. "Why is that agent standing still?" is a more natural question than parsing timestamps in a log file. Spatial anomalies are intuitively obvious.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Fun Is a Feature
&lt;/h3&gt;

&lt;p&gt;I added the day/night cycle, weather, and ambient sound on a whim. They turned out to be the features people comment on most. Making developer tools enjoyable isn't frivolous — it's what makes people actually use them.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Plugin system&lt;/strong&gt; — custom data panels as buildings&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mobile support&lt;/strong&gt; — responsive isometric view&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community buildings&lt;/strong&gt; — shared worlds across teams&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More agent animations&lt;/strong&gt; — state-based behaviors (thinking, coding, browsing)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try It
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx @ask-mojo/moltcraft
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;⭐ &lt;strong&gt;Star the repo:&lt;/strong&gt; &lt;a href="https://github.com/askmojo/moltcraft" rel="noopener noreferrer"&gt;github.com/askmojo/moltcraft&lt;/a&gt;&lt;br&gt;
💬 &lt;strong&gt;Join Discord:&lt;/strong&gt; &lt;a href="https://discord.gg/vZbu5pePNY" rel="noopener noreferrer"&gt;discord.gg/vZbu5pePNY&lt;/a&gt;&lt;br&gt;
🌐 &lt;strong&gt;Website:&lt;/strong&gt; &lt;a href="https://moltcraft.xyz" rel="noopener noreferrer"&gt;moltcraft.xyz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MIT licensed. Your agents have a world now. 🏰&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>javascript</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
