Skip to content
@compiled-ai-labs

compiled-ai-labs

Compiled AI Labs

An LLM authors the artifact at compile time. The runtime stays free of inference.

Compiled AI is a paradigm for systems that must be deterministic, auditable, and fast. The model runs offline to draft a config, rule, or policy; an external validator proves the artifact does what it claims; the committed artifact is then consumed by a boring, well-known tool — Semgrep, OPA, Terraform, GitHub Actions — with no model in the request path.

Reference implementations

  • semgrep-rule-compiler — compiles incident postmortems and code samples into gate-verified Semgrep rules. The first reference implementation of the five-part shape (spec → compiler → gates → artifact → runtime).

Get involved

  • Use it. Open an issue with a pattern you'd want compiled.
  • Extend it. PRs for new languages, rule modes, or autofix — all gated the same way.
  • Build the next compiler. Have a deterministic tool that consumes config or rules (OPA, Terraform, GitHub Actions, an in-house policy engine)? Open an issue describing the use case — we're looking for collaborators on adjacent compile targets.

Contact: open an issue on any repo, or compiledailabs@gmail.com.

Popular repositories Loading

  1. compiled-ai compiled-ai Public

    Compiled AI — engineering deterministic LLM systems by moving the LLM to compile time and building a trusted corpus. This repo collects articles (republished from various sources) that explain the …

  2. semgrep-rule-compiler semgrep-rule-compiler Public

    Semgrep rules compiled from incidents by an LLM, gate-verified before commit. First reference of the Compiled AI paradigm - open to collaborators on this and adjacent compile targets (OPA, Terrafor…

    Python

  3. .github .github Public

  4. terraform-policy-compiler terraform-policy-compiler Public

    Compile Terraform policy specs into gate-verified Conftest/OPA Rego. Second reference implementation of the Compiled AI paradigm — LLM at compile time, Conftest deterministic at runtime.

    Python

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…