Skip to content
Axiom/Docs
Axiom docs

One surface, every game it reaches.

A mod is a small WebAssembly module that asks the host questions by name: which entities are alive, where one is, what to draw. A pack answers them for one game, so a mod is written once against the surface, not against a game's memory.

QUICKSTARTfrom a C file to a package
$ clang --target=wasm32 -ffreestanding -nostdlib -c mod.c
$ wasm-ld --no-entry mod.o -o mod.wasm
$ axiom check
$ axiom build

There is no public release of Axiom yet. Until there is, the CLI and the launcher come from a build of the Axiom source, and these pages describe what that build does.

One tier runs today.

A manifest names one of three tiers. The tier decides what a mod can be trusted with and whether it can be stopped while the game runs.

wasm
WebAssembly

Sandboxed. A mod imports only what its manifest declared, pays for every call in fuel, and can be started and stopped while the game runs. Written in C against one generated header.

Runs today
native
Native

The manifest accepts it, and nothing loads one yet. A native mod can never be loaded or unloaded while the game runs, because it cannot be torn down safely.

Not loaded yet
lua
Lua

The manifest accepts it, and nothing runs it yet.

Not run yet

The surface is generated, not written.

One file defines it. The host's dispatch, the import list every mod is checked against, the C header and the capability reference all come from it, so none of them can drift from another.

SURFACEframe@1, from idl/axiom.idl
capability frame@1 {
	audience: mod

	fn delta() -> f32;
	fn index() -> u64;
	fn staleness_ms() -> u32;

	error NoFrame;
}

Anything a mod would call in a loop has a bulk form, so reading a hundred positions is one crossing rather than a hundred.

Start here.

Axiom does not attach to protected processes.

Axiom attaches only to game builds verified to run without anticheat protection, and refuses everything else, with no override. Single-player, private servers, dedicated servers and emulated titles are the target. Read the policy.