Skip to content
axint docs

Your AI writes Swift. We make sure it ships

The Apple-native runtime for AI coding agents. Compiler, validator, Fix Packet, MCP server. Install once and your agent ships Apple apps that compile on the first build.

The system in one pass

axint is the contract layer between agent-authored feature definitions and the Apple-native surfaces that have to ship. The compiler emits ordinary Swift. Cloud Check explains whether the output is safe to keep moving. Fix Packets turn failures into repair instructions. Registry makes reusable Apple capabilities installable.

01 · core engine

Compiler.

TypeScript, Python, and preview .axint definitions compile into App Intents, SwiftUI views, WidgetKit widgets, and app scaffolds.

02 · hosted validation

Cloud Check.

Hosted checks return a clear result before you go back to Xcode. Pro adds the Repair Loop — saved packet history, larger files, and agent handoff.

03 · repair contract

Fix Packets.

Compile, watch, and Swift validation runs write the same repair contract for CLI, MCP, and Xcode-facing workflows.

04 · ecosystem

Registry.

Public packages carry install commands, source visibility, compiler metadata, and compatibility details — not loose snippets.

What axint does

axint is an open-source compiler that transforms TypeScript, Python, or preview .axint definitions into native Swift. Use it when you want Apple-native features without brute-forcing App Intents, SwiftUI, or WidgetKit by hand.

01 · four apple outputs

App Intents, Views, Widgets, Apps.

App Intents for Siri / Shortcuts / Spotlight, SwiftUI views, WidgetKit widgets, and full app scaffolds — all from the same compiler pipeline.

02 · 34 mcp tools · 5 prompts

Built for MCP-speaking agents.

Claude Code, Codex, Cursor, Windsurf, VS Code, Xcode-facing workflows, and any MCP client can call compile, validate, scaffold, fix, and packet tools.

03 · 204 diagnostic codes

Apple-specific failure detection.

Diagnostics identify missing imports, plist copy, entitlements, Swift surface issues, and repair paths before the failure becomes a vague build problem.

04 · 1304 tests · 1190 TypeScript · 114 Python

Public proof, end-to-end.

Coverage spans parser, validator, generator, MCP, views, widgets, apps, templates, and fix flows. Use the proof page when you need receipts.

Reference surfaces

Install

Terminal window
npm install -g @axint/compiler
# Or run without installing
npx -y -p @axint/compiler axint compile my-intent.ts --stdout

Your first intent in 30 seconds

Terminal window
axint init my-intents
cd my-intents
npx -y -p @axint/compiler axint compile intents/CreateEvent.intent.ts --sandbox --format

You now have a Swift file that compiles cleanly under the Swift toolchain and passes swift-format.

What it compiles

01 · defineIntent()

App Intents.

Swift AppIntent struct with parameters, perform(), and Siri / Shortcuts metadata.

02 · defineView()

SwiftUI Views.

SwiftUI View with props, state, and body — ready to embed in any app.

03 · defineWidget()

WidgetKit Widgets.

Complete widget with TimelineProvider, TimelineEntry, and view. ~13× compression over hand-written.

04 · defineApp()

App Scaffolds.

Full @main App struct with scenes, app storage, and settings pane.

26 bundled templates

Start from a working example instead of a blank file. Templates cover messaging, health, finance, commerce, smart home, media, navigation, and entity / query patterns.

Terminal window
# List all templates
axint templates
# Start from one
axint init my-app --template send-message

Built for AI agents

axint ships with an MCP server that exposes 34 tools plus 5 built-in prompts. 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", "-p", "@axint/compiler", "axint-mcp"] }
}
}

Works with Claude Code, Codex, Cursor, Windsurf, Zed, VS Code, JetBrains, Neovim, Xcode-facing workflows, and any MCP-compatible client.

Open source, no lock-in

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.

move from docs to workflow

Move from docs to the real workflow

The docs should not end in passive reading. Pick the next step based on the job — compile locally, check hosted output, inspect the repair packet, or install a package.

Get started →