$npx skillfedfor your agent

lineax

Linear solvers in JAX and Equinox.

With conditionsPyPI Artificial IntelligenceReleased May 2026523.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — lineax-0.1.1-py3-none-any.whl
v0.1.1 · released 2026-05-01 · Python ~=3.11 · 4 runtime deps: equinox, jax, jaxtyping, typing-extensions

Yes, if you work in JAX and need linear solves or least-squares. The library is actively maintained, has low install friction, and integrates seamlessly with JAX's autodiff and GPU/TPU support. The Apache 2.0 license poses no restrictions. Alpha status (Development Status 3) means the API may change, but the package is in active use and well-documented.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11+, JAX 0.4.38+, and Equinox 0.11.10+.
  • Low install friction with a pure-Python wheel.
  • Actively maintained as of August 2026 with recent releases.

License · maintenance · safety

permissive license (permissive) — Apache 2.0 permissive license allows commercial and derivative use with minimal restrictions—attribution and license notice required in distributions.

last release 2026-05-01 (105 days) · last repo commit 2026-08-14 · 572 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 523,152 downloads/mo, #6,197 on PyPI

Verify before relying

pip install lineax

import jax.random as jr
import lineax as lx

matrix_key, vector_key = jr.split(jr.PRNGKey(0))
matrix = jr.normal(matrix_key, (10, 8))
vector = jr.normal(vector_key, (10,))
operator = lx.MatrixLinearOperator(matrix)
solution = lx.linear_solve(operator, vector, solver=lx.QR())
  • Whether structured matrix support (e.g. symmetric) provides measurable performance gains in typical workflows.
  • Stability and numerical accuracy of gradients through least-squares compared to alternative autodiff approaches.
  • Performance characteristics of implicit operators on GPU/TPU relative to explicit matrix solves.
Same gist for agents: .md · .json

What it is and what it does

Lineax is a JAX library for solving linear systems and least-squares problems, with support for both explicit matrices and implicit linear operators (e.g., Jacobians, transposes). It integrates with JAX's autodiff, autoparallelism, and GPU/TPU support, allowing you to differentiate through linear solves with numerically stable gradients. The library works with PyTree-valued matrices and vectors, and supports structured matrix types like symmetric matrices.

Typical use cases include solving Ax=b when A may be ill-posed or rectangular, computing least-squares solutions via QR or other solvers, and building implicit operators for problems where materializing the full matrix is infeasible or inefficient. It is part of the broader JAX ecosystem and depends on Equinox for PyTree utilities and jaxtyping for type annotations.

Use it for

  • Solve overdetermined or underdetermined linear systems without materializing the full matrix operator.
  • Compute least-squares solutions with numerically stable gradients for optimization and inverse problems.
  • Build implicit Jacobian and Hessian operators for Newton-like methods in scientific computing.
  • Solve quadratic minimization problems by constructing a Hessian linear operator and solving the normal equations.
  • Integrate linear solves into JAX-based neural network training pipelines with automatic differentiation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work in JAX and need linear solves or least-squares.

The library is actively maintained, has low install friction, and integrates seamlessly with JAX's autodiff and GPU/TPU support. The Apache 2.0 license poses no restrictions. Alpha status (Development Status 3) means the API may change, but the package is in active use and well-documented.

Install

lineax on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained as of August 2026 with recent releases. Requires JAX 0.4.38+ and Equinox 0.11.10+, which are themselves substantial dependencies.

Requires Python 3.11+, JAX 0.4.38+, and Equinox 0.11.10+.

License in practice

Apache 2.0 permissive license allows commercial and derivative use with minimal restrictions—attribution and license notice required in distributions.

Quickstart

pip install lineax

import jax.random as jr
import lineax as lx

matrix_key, vector_key = jr.split(jr.PRNGKey(0))
matrix = jr.normal(matrix_key, (10, 8))
vector = jr.normal(vector_key, (10,))
operator = lx.MatrixLinearOperator(matrix)
solution = lx.linear_solve(operator, vector, solver=lx.QR())

Verify before relying

  • Whether structured matrix support (e.g. symmetric) provides measurable performance gains in typical workflows.
  • Stability and numerical accuracy of gradients through least-squares compared to alternative autodiff approaches.
  • Performance characteristics of implicit operators on GPU/TPU relative to explicit matrix solves.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release ~=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
equinoxjaxjaxtypingtyping-extensions
MaintenanceActively maintained 105 days since the last release
Last repo commit
First released
Downloads523,152 / month, #6,197 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Information AnalysisTopic :: Scientific/Engineering :: Mathematics

Evidence: lineax-0.1.1-py3-none-any.whl

Tags

Capabilities
jax linear solverleast squares solver jaxlinear algebra jaxmatrix equation solverjax numerical linear algebraimplicit linear operatorsqr solver jax
Topics
jax-ecosystemnumerical-methodsautodiff
PyPI keywords
deep-learningequinoxjaxleast-squareslinear-solversneural-networksnumerical-methods

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “jax linear solver”

  • lineaxLineax solves linear systems and least-squares problems in JAX,…
  • klujaxSolves sparse linear systems in JAX using the KLU algorithm from…
  • diffraxDiffrax provides numerical solvers for ordinary, stochastic, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also klujax · optimistix · trianglesolver · diffrax · linear-operator · equinox · optax · jaxtyping · ott-jax · qpsolvers