Agent-friendly Wolfram Alpha CLI with project-local sessions, follow-up actions, and a pi skill.
From the repo root:
uvx --from git+https://github.com/trotsky1997/wolfram-cli wolfram-cli ask "population of france"
uvx --from git+https://github.com/trotsky1997/wolfram-cli wolfram-cli solve "solve x^2=4"
uvx --from git+https://github.com/trotsky1997/wolfram-cli wolfram-cli convert "10 km" --to milesThe CLI is built around saved sessions so follow-up queries do not need raw Wolfram tokens.
uvx --from git+https://github.com/trotsky1997/wolfram-cli wolfram-cli ask "apple" --session demo
uvx --from git+https://github.com/trotsky1997/wolfram-cli wolfram-cli choices --session demo
uvx --from git+https://github.com/trotsky1997/wolfram-cli wolfram-cli apply 3 --session demoask- general Wolfram querysolve- math-oriented query helperconvert- unit conversion helperinspect- fuller normalized response for debuggingsessions- list saved sessionshistory/last- inspect saved runschoices/apply- continue a saved Wolfram workflow
src/wolfram_cli_tool/cli.py- packaged CLI entrypoint.pi/skills/wolfram-cli/SKILL.md- pi project skillwolfram_cli.md- fuller usage guide
- Runtime state is stored in
.pi/wolfram/and is intentionally gitignored. - The CLI returns simplified, agent-friendly output instead of raw Wolfram payloads by default.