xt-ml.github.io

Projects, documentation, and static deployments from the xt-ml organization.

Published Projects & Sites

Browser-native, personal AI assistant with local and remote LLM support, Web Workers, OPFS file storage, and agentic tool execution.

Starter template repository for authoring and deploying static websites, knowledge hubs, and custom agent skills driven by the ShadowClaw engine.

Model-agnostic weather and report-generation pipeline for operational forecasting, downstream markdown generation, and agent-driven automation workflows.

Interactive documentation portal and technical reference guide for Block Garden—a 3D voxel sandbox exploration, procedural world generation, and farming game engine—featuring embedded custom elements, modding APIs, and in-game agent tools.

Interactive documentation platform and demonstration engine for the classic Unix pwgen password generator compiled to WebAssembly, featuring <x-pwgen> custom elements, entropy analysis, and declarative password-generation agent tools.

Static Publishing with ShadowClaw

ShadowClaw combines an interactive browser or Electron client with a headless Node.js agent, a local service layer, and external tool connections. The same agentic core, declarative skills, and tool pipelines can run across each environment.

Documentation

Read the public documentation index, including the architecture overview, CLI and static publishing guide, control plane reference, WebMCP guide, and MCP server reference.

Interactive Client

Run the browser-native PWA or Electron desktop app with orchestration, model calls, and tools isolated in a Web Worker. Client workspaces use OPFS and IndexedDB, with Web Components providing the interface.

# Start the interactive client with live reload
npx shadow-claw dev --open

Headless CLI Agent

Run the same reasoning loop directly from a terminal or CI pipeline. The CLI uses Node.js, native filesystem access, SQLite persistence, host shell execution, and local or cloud model providers.

# Initialize a workspace and run a headless prompt
npx shadow-claw agent init ./my-project
npx shadow-claw agent --workspace ./my-project run "summarize this workspace"

# Inspect available headless-safe tools and skills
npx shadow-claw agent tools
npx shadow-claw agent skills

Server & Control Plane

Run the backend independently of the frontend. The Express service exposes the proxy, scheduler, REST control plane, and MCP endpoint so static sites, browser tabs, CLI commands, and external clients can share a local or remote backend.

# Start services without building or serving a frontend
npx shadow-claw server

Drive Connected Clients

The control plane turns connected browser and Electron clients into remotely addressable execution surfaces. From the CLI, you can list clients, send prompts, inspect scheduled tasks, read client state, and create or manage OPFS workspace backups.

# Discover and operate connected clients
npx shadow-claw clients
npx shadow-claw send "summarize the active workspace" --client <id>
npx shadow-claw tasks --client <id>
npx shadow-claw backup
npx shadow-claw backup list

WebMCP & External Agents

In supported browsers, ShadowClaw registers its tool catalog on document.modelContext through WebMCP and routes execution through the Web Worker. External AI clients can use the official MCP server over Streamable HTTP or the CLI STDIO bridge, while connected clients communicate with the control plane over SSE, WebSocket, or peer-to-peer WebRTC DataChannels.

# Connect an MCP-compatible desktop client over STDIO
npx shadow-claw mcp

# Start a direct peer-to-peer WebRTC listener
npx shadow-claw webrtc listen

Static Publishing

Content repositories use ShadowClaw's dual-root build pipeline to combine the shared runtime bundles with their own pages, assets, configuration, skills, and tools:

# Start local development server on http://127.0.0.1:8888
npx shadow-claw dev

# Or compile static production distribution into ./dist/public
npx shadow-claw build --prod

Deployment Strategies