nyxpi
v0.1.0
Published
Mathematica energy in the terminal — an exact-first math CLI with symbolic algebra, honest errors, and Braille plotting. No LLM, pure local math.
Maintainers
Readme
nyxpi
Mathematica energy in the terminal — a polished, no-bloat math CLI. Structured after the
piharness; not connected to any LLM. Pure local math.
npm install -g nyxpi$ nyxpi "1/3 + 1/3" 2/3
$ nyxpi "simplify(sqrt(8))" 2*sqrt(2)
$ nyxpi "diff(x^2, x)" 2*x
$ nyxpi "solve(x^2 - 4, x)" [-2, 2]
$ nyxpi "plot(sin(x), x, -2*pi, 2*pi)" ← a real Braille chart, axes and all
$ nyxpi "1/0" ⚠ domain: Division by zero.
hint: The divisor evaluates to 0; division by zero is undefined.Run nyxpi with no arguments for the interactive REPL (:keys shows the keyboard
shortcuts — the full readline set plus maths accelerators). Pipe in expressions one per
line, or use --json for NDJSON output that composes with jq. --paper turns on a
gridded graph-paper skin at interactive terminals. nyxpi mandelbrot is there when
curiosity strikes.
The rule everything here obeys: never a silently-wrong answer. NyxPi computes exactly
(1/3 + 1/3 is 2/3, not 0.6666…), labels the approximate (≈), or refuses with an
error that teaches. What it can't do yet, it says so plainly — exact-first symbolic
algebra (simplify · expand · factor · solve · diff) is in; integrals and limits
say "not yet" instead of guessing.
Early release (0.x): the surface will grow, the honesty contract won't move.
MIT © Aleks — structured after pi by Mario Zechner, in the same open spirit.
