Prompts as WASM Programs
Prompts as WASM Programs
AICI is a proposed common interface between LLM inference engines (llama.cpp, vLLM, HF Transformers, etc.) and "controllers" - programs that can constrain the LLM output according to regexp, grammar, or custom logic, as well as control the generation process (forking, backtracking, etc.). AICI is based on Wasm, and is designed to be fast (runs on CPU while GPU is busy), secure (can run in multi-tenant cloud deployments), and flexible (allow libraries like Guidance, LMQL, Outlines, etc. to work on top of it). We (Microsoft Research) have released it recently, and would love feedback on the design of the interface, as well as our Rust AICI runtime. I'm the lead developer on this project and happy to answer any questions!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Timebox, politely timebox unix programs
Twitch Programs a Commodore 64
Graduate programs matchmaker
jevc – compile policy prompts into deterministic verdict programs
WSL-Programs; a list of programs' usability on the WSL
www.RetroBASIC.xyz – Emulate BASIC Programs in the Browser
Simple logger and debugger for Go programs
Applesoft BASIC editor with example programs
SHOW HN: My First Engine and Programs:)
Komposto – Sketchbook of self-modifying programs