Four Apple surfaces
App Intents for Siri/Shortcuts/Spotlight, SwiftUI views, WidgetKit widgets, and full app scaffolds — all from the same compiler pipeline.
Axint is an open-source compiler that transforms TypeScript or Python definitions into native Swift. AI coding agents pay per token — Axint makes Apple development dramatically cheaper and faster.
Four Apple surfaces
App Intents for Siri/Shortcuts/Spotlight, SwiftUI views, WidgetKit widgets, and full app scaffolds — all from the same compiler pipeline.
13 MCP tools
Claude Code, Codex, Cursor, Windsurf, and Xcode 26.3 call axint.compile, axint.swift.validate, axint.swift.fix, and 10 more tools natively. Zero context switching.
150 diagnostic codes
Rust-style errors with line/column spans and suggested fixes. Swift 6 concurrency, Live Activities, and Apple SDK constraint validators catch issues before Xcode does.
500 tests, sub-ms compile
The browser playground compiles on every keystroke with zero server round-trip. The test suite covers parser, validator, generator, MCP, views, widgets, apps, and fixer.
npm install -g @axint/compiler
# Or run without installingnpx @axint/compiler compile my-intent.ts --stdoutpip install axintclaude mcp add --transport stdio axint -- npx -y @axint/compiler axint-mcpcodex mcp add axint -- npx -y @axint/compiler axint-mcpaxint init my-intentscd my-intentsnpx @axint/compiler compile intents/CreateEvent.intent.ts --sandbox --formatThat’s it. You now have a Swift file that compiles cleanly under the Swift toolchain and passes swift-format.
App Intents
defineIntent() → Swift AppIntent struct with parameters, perform(), and Siri/Shortcuts metadata.
SwiftUI Views
defineView() → SwiftUI View with props, state, and body — ready to embed in any app.
WidgetKit Widgets
defineWidget() → Complete widget with TimelineProvider, TimelineEntry, and view. ~13× compression.
App Scaffolds
defineApp() → Full @main App struct with scenes, app storage, and settings pane.
Start from a working example instead of a blank file. Templates cover messaging, health, finance, commerce, smart home, media, navigation, and entity/query patterns.
# List all templatesaxint templates
# Start from oneaxint init my-app --template send-messageAxint ships with an MCP server that exposes 13 tools. AI coding assistants compile, validate, and fix Swift without you writing a line of it.
The axint.schema.compile tool accepts ~20 tokens of JSON and returns compiled Swift — agents skip TypeScript entirely and save even more tokens.
{ "mcpServers": { "axint": { "command": "npx", "args": ["-y", "@axint/compiler", "axint-mcp"] } }}Works with Claude Code, Codex, Cursor, Windsurf, Zed, VS Code, JetBrains, Neovim, and Xcode 26.3 (via xcrun mcpbridge).
Apache 2.0 licensed. No CLA. axint eject generates standalone Swift with zero Axint dependency — you can walk away at any time and keep the generated code.