microsoft/aici
AICI: Prompts as (Wasm) Programs observed · 2026-08-28
Health v2 · maintenance only
19/100
- Activity 2
- Release rhythm 8
- Longevity 76
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1072
- days_rel: n/a
- days_push: 588
- n_releases_24m: 0
Adoption not part of the score
2076 stars · 86 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AICI (Artificial Intelligence Controller Interface) is a Microsoft Research prototype that lets developers write Wasm-based controllers to constrain and direct LLM output token-by-token during inference. It integrates with engines like llama.cpp and HuggingFace Transformers, enabling constrained decoding, prompt editing, and multi-generation coordination.
Use cases
- constrain LLM output to valid JSON or grammar formats
- run guided decoding with regex or CFG constraints
- coordinate multiple parallel LLM generations
- dynamically edit prompts and generated text during decoding
- build custom decoding strategies on top of llama.cpp or HuggingFace
- implement multi-agent LLM conversations with stateful control
When to choose
- you need fine-grained, programmatic control over token-by-token LLM generation
- you want sandboxed controllers that run alongside the inference engine
- you need portability of decoding logic across multiple LLM serving engines
When to avoid
- you only need constrained decoding - use the actively maintained LLGuidance instead
- you want a production-ready, stable LLM serving framework
- you need a simple prompt library without runtime decoding control
Facets
framework · maturity experimental
llm-inference wasm prompt-engineering rag large-language-models artificial-intelligence machine-learning developer-tools rust wasm self-hosted constrained-decoding llm-serving wasm-controllers inference-engine microsoft-research token-generation linux macos
1 source
- readme: https://github.com/microsoft/aici · fetched 2026-08-28 · d0656a4a1f98
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/aici | main | 19 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem