Microsoft AICI
the six Ws · specification
Microsoft Research built AICI as a research prototype.
A framework where WebAssembly-compiled Controller programs constrain and direct LLM output token by token in real time.
Runs alongside an LLM inference server, with controllers written in Rust, Python, or JavaScript compiled to Wasm.
Open-sourced in 2024 as a research prototype.
Enables fine-grained, programmable control over decoding, prompt editing, and multi-agent generation strategies beyond simple grammars.
Integrates with local inference runtimes and ships example jsctrl and pyctrl controllers.
Open-source (MIT license) on GitHub from Microsoft Research, self-hosted, experimental prototype status with no guaranteed maintenance cadence.