Open-source App Intents compiler. Define intent-driven features in TypeScript, compile to production Swift, and ship to Siri, Shortcuts, and Spotlight instantly.
import { defineIntent, param } from "@axintai/compiler"; export default defineIntent({ title: "Create Event", description: "Creates a calendar event", domain: "productivity", params: { title: param.string("Event title"), date: param.date("When"), }, perform({ title, date }) { return `Created: ${title}`; }, });
import AppIntents struct CreateEventIntent: AppIntent { static var title: LocalizedStringResource = "Create Event" @Parameter(title: "Event title") var title: String @Parameter(title: "When") var date: Date func perform() async throws -> some IntentResult { return .result( value: "Created: \(title)" ) } }
Use the type-safe SDK to define intent-driven features with parameter validation and type safety.
Run axint compile or use the SPM Build Plugin for automatic compilation during swift build.
Production-ready Swift AppIntent code. Ship to Siri, Shortcuts, Spotlight, and Focus filters.
npm install -g @axintai/compiler
Then run axint init to create your first intent.