Latest / AI & agents

AICI

github.com · Open source · Quiet

Interface for WebAssembly controllers that constrain LLM output

Visit github.com ↗Share

Stars
2.1k
Forks
87
Open issues
35
Last commit
Releases
12
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

AICI proposes a common interface between LLM inference engines and controllers, which are programs compiled to WebAssembly that constrain output with regular expressions, grammars or custom logic. Microsoft Research released the Rust runtime and invited feedback on the design.

Repository description on GitHub: “AICI: Prompts as (Wasm) Programs”

What it does

  • Common interface between LLM inference engines and WebAssembly controllers
  • Controllers constrain output by regex, grammar or custom logic
  • Runs controllers on the CPU while the GPU is busy

Good for

  • Constrain LLM output to a regex or grammar during decoding
  • Write a controller that steers token-by-token generation

Suits: ML engineers building custom constrained decoding or serving logic.

Worth knowing: The readme recommends the LLGuidance library instead if constrained decoding is all you need.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw AICI on , when mmoskal posted it to Show HN. The oldest published release on GitHub is v0.0.1, dated . AICI had been shipping tagged releases for 59 days before it was found. 12 releases have been published in total; the latest is v0.2.1 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 209 points, 35 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 209 points, 35 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: microsoft/aici
  2. Release v0.0.1
  3. Release v0.0.8
  4. Release v0.0.9
  5. Release v0.0.10
  6. Found: mmoskal posted it to Show HN. Show HN
  7. Release v0.1.0
  8. Release v0.2.0
  9. Release v0.2.1
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 12 releases. All releases on GitHub

Quick answers

When was AICI released?
Its first tagged release on GitHub is dated 12 Jan 2024. Kip found it on Show HN on 11 Mar 2024.
Is AICI open source?
Its source is public on GitHub at microsoft/aici under the MIT licence.
What does AICI run on?
Library.
Is AICI free?
It is open source, so the code is free to read and run; check the licence for terms.
Is AICI still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorymicrosoft/aici
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-39670665. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.