01 · section
Start with a scaffold
axint init gives you a ready-to-compile project skeleton. That keeps your publish metadata, README, and source structure aligned from the start.
Scaffold a project
$ axint init my-intent
$ cd my-intentGetting started
The fastest path is: scaffold, define one intent, compile it, then optionally publish it to the Registry once the output looks right.
axint init gives you a ready-to-compile project skeleton. That keeps your publish metadata, README, and source structure aligned from the start.
$ axint init my-intent
$ cd my-intentYou can write in TypeScript or Python. The Registry accepts both, and package pages can show both when they are included.
import { defineIntent, param } from "@axint/compiler";
export default defineIntent({
name: "CreateEvent",
title: "Create event",
params: {
title: param.string("Event title"),
startsAt: param.date("When it starts"),
},
});Compile first. Publish second. The Registry works best when package pages already reflect a clean local compiler run.
$ axint compile src/intent.ts