# axint

The Apple-native execution layer for AI agents. Compiles TypeScript/Python to validated Swift — App Intents for Siri, SwiftUI views, WidgetKit widgets, and full apps. 13 MCP tools including compile, …

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add agenticempire/axint

# Browse available tools
npx -y @smithery/cli@latest tool list agenticempire/axint

# Get full schema for a tool
npx -y @smithery/cli@latest tool get agenticempire/axint axint.feature

# Call a tool
npx -y @smithery/cli@latest tool call agenticempire/axint axint.feature '{}'
```

## Direct MCP Connection

Endpoint: `https://axint--agenticempire.run.tools`

**Optional config:**
- `logLevel` (query) — Log verbosity: debug, info, warn, or silent. Defaults to info.
- `timeout` (query) — Max milliseconds per request before abort. Defaults to 30000.

## Tools (10)

- `axint.feature` — Generate a complete Apple-native feature package from a description. Returns multiple files: validated Swift source, co…
- `axint.suggest` — Suggest Apple-native features for an app based on its domain or description. Returns a ranked list of features with rec…
- `axint.scaffold` — Generate a starter TypeScript intent file from a name and description. Returns a complete defineIntent() source string …
- `axint.compile` — Compile TypeScript source (defineIntent() call) into native Swift App Intent code. Note: on this remote endpoint, full …
- `axint.validate` — Validate a TypeScript intent definition without generating Swift output. Note: on this remote endpoint, use axint.schem…
- `axint.schema.compile` — Compile a minimal JSON schema directly to Swift, bypassing the TypeScript DSL entirely. Supports intents, views, widget…
- `axint.templates.list` — List all bundled reference templates available in the axint SDK. Returns an array of { id, name, description } objects …
- `axint.templates.get` — Return the full TypeScript source code of a bundled reference template by id. Returns a complete defineIntent() file th…
- `axint.swift.validate` — Validate existing Swift source against 150 build-time rules (AX700–AX749) including Swift 6 concurrency and Live Activi…
- `axint.swift.fix` — Auto-fix mechanical Swift errors detected by axint.swift.validate. Handles 20+ fix rules: @State let → var, injects per…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get agenticempire/axint <tool-name>
```

## Prompts (3)

- `axint.quick-start` — Step-by-step guide to compile your first TypeScript intent into Swift using Axint. Walks through scaffold → compile → i…
- `axint.create-widget` (widgetName, widgetDescription) — Generate a SwiftUI widget from a description. Produces a complete widget with timeline provider, entry type, and view b…
- `axint.create-intent` (intentName, intentDescription, domain) — Generate a complete App Intent from a natural language description. Produces TypeScript source and compiles it to Swift…
