TypeScript โ†’ Swift.
One command.

Open-source App Intents compiler. Define intent-driven features in TypeScript, compile to production Swift, and ship to Siri, Shortcuts, and Spotlight instantly.

TypeScript โ†’ Swift
TypeScript
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}`;
  },
});
Swift
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)"
    )
  }
}

How It Works

1

Define in TypeScript

Use the type-safe SDK to define intent-driven features with parameter validation and type safety.

2

Compile to Swift

Run axint compile or use the SPM Build Plugin for automatic compilation during swift build.

3

Ship to Siri & Shortcuts

Production-ready Swift AppIntent code. Ship to Siri, Shortcuts, Spotlight, and Focus filters.

What's Included

Get Started in Seconds

npm install -g @axintai/compiler

Then run axint init to create your first intent.

Integrations

155+
Tests
12+
Templates
5
MCP Tools
Apache 2.0
License