Witchcraft

A programming language that makes inference a typed primitive. Constrained decoding means model output always fits the type you asked for.

Building2026
getwitch.dev

Overview

Witchcraft is a programming language that makes inference a typed primitive: you ask a model for a value of a particular type, and that is what comes back.

It uses constrained decoding, so the model's output always fits the type you asked for. There is no parsing free text and hoping it matches.

The language is still being built. getwitch.dev has the latest.

More projects

All projects