Documentation

Understand the architecture

Follow a request through adapters, route policies, deterministic checks, state, and response observations. Then see how logs feed the next model.

Read the system overview

Python internals | Node.js internals | Java internals | Rust/WASM internals

Current package matrix

Each package is versioned and released independently.

RuntimePackageRepository versionPrimary use
Pythonaiwaf1.0.8Django, Flask, and FastAPI protection
Node.jsaiwaf1.0.2Express and Node framework middleware
Rust/Pythonaiwaf-rust0.2.1Native Python acceleration and JSON model inference
WebAssemblyaiwaf-wasm0.2.1Rust detection and model primitives for JavaScript
Javaio.github.aiwaf-project:aiwaf-java1.3.0Spring MVC and Jakarta Servlet protection

Supported framework integrations include Django, Flask, FastAPI, Express, Fastify, Hapi, Koa, NestJS, Next.js API routes, AdonisJS, Sails.js, Spring MVC, and Jakarta Servlet.

Python

Reference for AIWAF architecture, storage, middleware, training lifecycle, CLI surface, tests, and release pipeline for Python.

Open Python Deep-Dive Docs

PyPI Package | AIWAF Monorepo

JavaScript

Reference for AIWAF Node.js middleware architecture, framework integrations, end-to-end setup guide, storage/training lifecycle, CLI operations, and packaging.

Open JavaScript Deep-Dive Docs

npm Package | AIWAF Monorepo

PHP (Legacy Reference)

Historical PHP integration pages. PHP is absent from the current monorepo and is not part of its current package or release matrix.

Open Legacy PHP Reference

Packagist Package | AIWAF Monorepo

Java

Reference and setup guide for AIWAF-Java with framework-agnostic engine usage, Spring/Servlet integrations, runtime storage backends, and CLI/admin operations.

Open Java Deep-Dive Docs

Maven Artifact | AIWAF Monorepo

Rust Accelerator

Deep-dive docs for aiwaf-rust covering PyO3 bindings, WASM exports, Isolation Forest semantics, integration patterns, and build/test workflows.

Open Rust Accelerator Docs

PyPI Package | npm Package | AIWAF Monorepo