AI development/GitHub/Framework

aici

by microsoft·Last observed 2026-10-27
★ 2,076 stars⑂ 85 forks

AICI is a prototype framework for writing Controllers that direct an LLM during token-by-token decoding. Controllers can constrain output, edit prompts or generated text, and coordinate parallel generations; lightweight WebAssembly modules run alongside the inference engine, with integrations listed for llama.cpp, Hugging Face Transformers, and rLLM.

Useful for

  • Use a controller script to make an LLM return exactly five numbered items without an introductory explanation.

Key features

  • Controllers can apply custom logic during generation, including fixed-format output and token-generation constraints.
  • Controllers are lightweight WebAssembly modules and can be implemented in languages that compile to or run inside Wasm.

Requirements & limitations

  • The repository describes AICI as a prototype; its quickstart calls for Rust setup and Python 3.11 or later for creating a controller.

Project information

CategoryAI development
TypeFramework
Author / organizationmicrosoft
LicenseMIT
Last observed2026-10-27

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote