Axon DSL for LLM Architectures
Implements shape-safe, framework-agnostic LLM architectures using the Axon domain-specific language for optimized cross-platform deployment.
This skill equips Claude with the methodologies from arXiv:2608.19889 to facilitate the development of Large Language Model (LLM) architectures using Axon, a strongly typed DSL. It allows developers to create a single, auditable model specification that compiles into high-performance implementations for PyTorch, JAX, MLX, and vLLM. By focusing on shape-safety and framework independence, this skill helps users avoid platform lock-in and achieve significant performance gains—up to 107% on MLX—while ensuring mathematical consistency across complex neural network layers.
Key Features
01Framework-agnostic model definition for PyTorch, JAX, MLX, and Triton
023 GitHub stars
03Automatic compilation to native vLLM architectures with PagedAttention support
04Concise, Haskell-like syntax for auditable and maintainable model code
05Cross-platform performance optimization based on the Axon paradigm
06Strongly typed, shape-safe architecture specifications to prevent runtime errors
Use Cases
01Migrating LLM implementations between PyTorch, JAX, and Apple MLX without rewriting logic
02Optimizing inference performance for custom architectures on diverse hardware backends
03Standardizing model definitions across research and production teams to ensure consistency