Mathy

What Mathy is
Mathy is a free, open-source Linux tool for solving algebra and other math problems while showing solution steps. Its computer algebra system parses text into expression trees, then manipulates and evaluates them with user-defined rules that preserve expression value. The interface can display those trees in a compact layout without overlapping branches. You can use built-in learning environments or create your own by specifying actions, problems, rewards, and win conditions. Mathy Envs supplies customizable reinforcement-learning environments with valid-action masks, feedback for individual actions, and easy, normal, or hard difficulty variants. A wrapper registers these environments with Gymnasium. The command-line interface simplifies polynomial expressions, creates randomized problem lists, and uses a swarm-planning algorithm to select intermediate steps. Installation uses `pip install mathy` and requires Python 3.6 or later. Python type hints support IDE autocompletion and linting.
Who it suits
Mathy suits learners working through algebra and developers building agents for algebra environments. It also fits Python users who want customizable learning or reinforcement-learning environments.
What it does well
- Free and open source
- Shows step-by-step solution work
- Custom expression rules preserve values
- Built-in and authorable learning environments
- Gymnasium wrapper for Mathy Envs
What to know first
- Linux is the listed platform
- Requires Python 3.6 or later
- Focused on math and algebra work
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Mathy | Free and open source; Python 3.6+ | Free |
As mathy.ai lists them, read 11 Oct 2026. The maker's own page has the final word.
Verdict
Mathy combines symbolic manipulation, visual expression trees, guided learning environments, and command-line problem generation in one free package. Its Linux and Python requirements make it most relevant to technical users and developers.
Facts from Mathy's own pages
- Audience
- Mathy Envs is presented for developing agents that can complete algebra environments, and its built-in environments aim to simplify algebra problems. · envs.mathy.ai, 5 Oct 2026
- Command line
- The CLI can simplify polynomial expressions and generate randomized problem lists. · mathy.ai, 5 Oct 2026
- Compatibility
- The documented requirement for Mathy is Python 3.6 or later. · mathy.ai, 11 Oct 2026
- Computer algebra
- Its computer algebra system parses text into expression trees for manipulation and evaluation. · mathy.ai, 11 Oct 2026
- Contributor
- The About page credits Justin DuJardin and copyright notices identify him as the copyright holder. · mathy.ai, 5 Oct 2026
- Environment features
- Environments support valid-action masks, per-action reward feedback, and controllable difficulty with easy, normal, and hard variants. · envs.mathy.ai, 11 Oct 2026
- Expression visualization
- Mathy visualizes expression trees in a compact layout with no overlapping branches. · mathy.ai, 5 Oct 2026
- Installation
- The main package is installed with pip install mathy, and Mathy Core and Mathy Envs are separately installable Python packages. · mathy.ai, 11 Oct 2026
- Integration
- Mathy Envs supports Gymnasium through a wrapper that registers its environments. · envs.mathy.ai, 11 Oct 2026
- Learning environments
- Users can use built-in learning environments or create their own with custom actions, problems, rewards, and win conditions. · mathy.ai, 11 Oct 2026
- License
- The Mathy Core and Mathy Envs pages link to project license pages, while the About page identifies MIT licensing for the cited Fragile contribution. · mathy.ai, 5 Oct 2026
- Open source
- The maker describes Mathy as free and open source and says it was created to provide a free tool for working through algebra problems. · mathy.ai, 11 Oct 2026
- Open source and cost
- The site says Mathy is free and open source. · mathy.ai, 5 Oct 2026
- Planning algorithm
- The CLI uses a swarm planning algorithm to choose intermediate steps toward a solution. · mathy.ai, 11 Oct 2026
- Problem generation
- The CLI can generate randomized problem lists, and environment-specific functions determine when a problem is solved. · mathy.ai, 11 Oct 2026
- Purpose
- Mathy is a tool for solving algebra problems step by step and contributing new solution types. · mathy.ai, 11 Oct 2026
- Python support
- Mathy uses Python type hints to support autocompletion and linting in modern IDEs. · mathy.ai, 5 Oct 2026
- Reinforcement learning
- Mathy Envs provides reinforcement learning environments for transforming math expressions using user-defined actions. · envs.mathy.ai, 11 Oct 2026
- Solver
- The site says Mathy uses a swarm-planning algorithm in its CLI to choose intermediate solution steps. · mathy.ai, 5 Oct 2026
- Transformation rules
- Users can transform expression trees with custom rules that preserve the expression’s value. · mathy.ai, 11 Oct 2026
- Visualization
- Mathy visualizes expression trees in a compact layout without overlapping branches. · mathy.ai, 11 Oct 2026
Where Mathy stands on Freedom251
- Math Solver Apps#55 of 68