Waltzing

AI Templating Agent for Rust

Transform .wtz template files into type-safe Rust code. React-like components with MCP-powered AI development.

Features

Composable Components

Templates compile to callable Rust functions (buffered or streamed). Function tags provide JSX-like syntax. Default parameters make components flexible. Compose UIs like React but with compile-time safety.

AI-Powered Development

MCP server for Claude and other AI assistants. LLM agents understand Waltzing syntax and generate templates automatically.

Type-Safe

Templates compile to Rust code at build time. Type errors are caught by the compiler.

Editor Integration

LSP server for autocompletion and diagnostics. Tree-sitter grammar for syntax highlighting. Extensions for Zed and VSCode.

Htmx & Alpine.js

Plays nicely with Htmx, Alpine.js, and similar technologies. Embedded JSON blocks for Alpine x-data attributes.

Streaming

Both buffered and streaming render modes. Stream HTML chunks for faster time-to-first-byte.

Embedded Languages

First-class support for JSON, JavaScript, and CSS blocks with template interpolation.

AI-Assisted Development

Waltzing is designed for AI-first development. Use the MCP server with Claude Code or other AI assistants to generate and modify templates automatically.

MCP Server

Download the Waltzing MCP server to give AI assistants tools for reading, writing, and validating templates.

Download MCP Server

LLM Guide

Comprehensive guide for LLMs to understand Waltzing syntax and generate correct templates.

Skills

Agent Configs

IDE Support

Full editor integration with syntax highlighting, autocompletion, and error diagnostics.

LSP Server

Language Server Protocol support for any compatible editor.

Download LSP

VS Code

Syntax highlighting and language support for Visual Studio Code.

VS Code Extension

Zed

Native extension for the Zed editor with tree-sitter grammar.

Zed Extension

Quick Start

1. Install the Compiler

curl -fsSL https://waltzing.awesomike.com/install | bash

2. Download Starter Project

Get a ready-to-use project with build.rs integration:

Download Starter Project

3. Use with AI

Add the MCP server to Claude Code or use the LLM guide with any AI assistant to generate templates.