A programming language that compiles to AI context

The world's first prompt programming language. Compose, version, and compress reusable prompts with cryptographic signing and three-tier compilation.

curl -fsSL https://registry.microprompt.dev/install.sh | sh

Patent Pending · Microbiocol AI

Language Features

A purpose-built language for composable, verifiable AI prompts

Resolve Statements

Pull prompts from the registry at compile time. Compose complex workflows from atomic building blocks.

Conditional Logic

Branch prompt content based on input variables. Adapt instructions to context without duplicating prompts.

Token Budget Optimization

Lossy compilation for text. Set a token budget and the compiler intelligently compresses while preserving meaning.

Cryptographic Signing

Ed25519 key pairs sign every prompt. BLAKE3 hashing ensures integrity from author to runtime.

Three-Tier Compression

Atoms, compositions, and meta-compositions. Graduated compression preserves critical markers across tiers.

Version Pinning

Immutable versioning with semver-style resolution. Pin exact versions or track latest for each dependency.

See It In Action

--- MicroPrompt composition example ---

resolve mp*microprompt:3c          # concise, clear, correct
resolve mp*microprompt:security    # security guardrails

if input.language == "python":
  resolve mp*microprompt:style    # code style enforcement

budget 2000 tokens

!!critical!! Never expose API keys in responses.
Always validate user input before processing.
<<anchor>> Return well-structured JSON for all API endpoints.

One Language, Every Platform

MicroPrompt runs wherever you write prompts

CLI & Daemon

Local-first daemon with file watching and hot reload

Desktop App

Tauri-based native app for macOS, Windows, Linux

VS Code

Syntax highlighting, autocomplete, and inline preview

Browser Extension

Inject prompts directly into ChatGPT, Claude, and more

MCP Server

Model Context Protocol integration for Claude and compatible tools

Built For

From solo developers to enterprise teams

Engineering Teams

Share prompt libraries across projects. Version control your AI instructions alongside your code. Detect conflicts before they reach production.

Prompt Engineers

Publish reusable atoms to the registry. Compose complex workflows from tested building blocks. Track token costs and compression fidelity.

Enterprise & Compliance

Cryptographic provenance for every prompt. Audit trails with signature verification. Savings reports for CFO-friendly token cost tracking.

Start Building With MicroPrompt

Install the CLI, browse the registry, and compose your first prompt in minutes.

Download Browse Registry