Mattral

Mattral / KANX

Public

One library, four surfaces. Production-grade Kolmogorov-Arnold Networks || TensorFlow + PyTorch + ONNX. || 265× lower MSE than an MLP with 5× fewer parameters. One library. Two backends. Real ONNX export. Docker + Kubernetes ready.

10
6
85% credibility
Found May 29, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

kanx is an open-source machine learning library providing production-grade Kolmogorov-Arnold Networks with dual TensorFlow and PyTorch backends, ONNX export capabilities, and FastAPI serving support, aimed at simplifying the train-export-serve-scale workflow for KAN models.

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is KANX?

KANX is a Python library that implements Kolmogorov-Arnold Networks, a newer neural network architecture that promises better accuracy with fewer parameters than traditional MLPs. It gives you TensorFlow and PyTorch backends in a single package, plus real ONNX export so you can deploy models to ONNX Runtime, TensorRT, or OpenVINO. You can train a model with a single function call, serve it via REST API, and scale it on Kubernetes. The library ships with Docker support, a CLI for training and prediction, and configuration files for production deployments.

Why is it gaining traction?

The main hook is the "one library, four surfaces" story: TensorFlow, PyTorch, ONNX, and a REST API, all with the same configuration semantics. Compared to research-focused KAN implementations, KANX is built for shipping. It has 92% test coverage, a full documentation site, CI/CD pipelines, and Kubernetes manifests with autoscaling. The benchmark claims are striking: 265x lower MSE than an MLP with 5x fewer parameters on synthetic regression tasks. For teams evaluating KANs beyond Jupyter experiments, the production-readiness features are the differentiator.

Who should use this?

ML infrastructure engineers who want to evaluate KANs in production without stitching together research code. Data scientists exploring KAN architectures for regression or low-dimensional approximation tasks. Teams that need ONNX export for edge deployment or inference optimization. If you're running PyTorch and need a quick KAN implementation, the PyTorch backend is there. If you're on TensorFlow, the same API applies.

Verdict

KANX is the most production-ready KAN library available, but the 10 stars and 0.85% credibility score reflect a young project with limited community validation. The documentation is solid, the test coverage is impressive for its age, and the dual-backend approach is genuinely useful. Try it for prototyping KAN-based models, but validate the benchmark results on your specific use case before committing to production. The foundation is sound; track its maturity before betting critical workloads on it.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.