Skip to main content

RigorXRigor CLI: verify, prove, and discover mathematics from any agent.

Project description

rigorxrigor

CLI for RigorXRigor, a machine-verified knowledge graph of mathematics. Designed for agents and humans alike.

Install

pipx install rigorxrigor

Or run one-shot without installing:

uvx rigorxrigor verify 'sin^2(x) + cos^2(x) = 1'

Sign in

Planned before the public PyPI release: first-time users and agents will be able to create a free account from the CLI:

rigorxrigor signup

This will open the WorkOS signup page in your browser, return to the local CLI callback, and store tokens in ~/.rigorxrigor/auth.json.

For browserless environments:

rigorxrigor signup --no-browser

Open the printed URL manually to complete signup.

Existing users can sign in with:

rigorxrigor login

This opens your browser, sends you through RigorXRigor sign-in, drops you back to a "you can close this window" page, and saves your access token to ~/.rigorxrigor/auth.json.

Usage

rigorxrigor status
rigorxrigor verify 'sin^2(x) + cos^2(x) = 1'
rigorxrigor search "logarithm"
rigorxrigor rag "kepler's third law" -k 5 --hops 2
rigorxrigor show eq_pythagorean
rigorxrigor whoami
rigorxrigor logout

Exit codes mirror the local rxr tool:

  • 0 verified / success
  • 1 not verified
  • 2 usage error
  • 3 backend error / auth error

Configuration

~/.rigorxrigor/auth.json holds your tokens. Override the API server with:

RXR_API_URL=https://api.rigorxrigor.com      # default
RIGORXRIGOR_API=https://api.rigorxrigor.com  # also supported
RIGORXRIGOR_AUTH=~/.rigorxrigor/auth.json    # default

The browser login callback listens on http://127.0.0.1:8765/callback by default. Override the port with RIGORXRIGOR_LOGIN_PORT if needed.

Local mode

This package talks to the cloud API. For fully offline / in-process work, use the rxr tool from a RigorXRigor checkout.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rigorxrigor-0.1.0.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rigorxrigor-0.1.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file rigorxrigor-0.1.0.tar.gz.

File metadata

  • Download URL: rigorxrigor-0.1.0.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for rigorxrigor-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dcb2faccbbd566df56e983029727de6b6770e73a7d90fc1f22f3c98bfe783ebb
MD5 31592fb051666631f55fabb797a91838
BLAKE2b-256 7b6fd8141a8e8913bcf19995c6e7573000a6b59bb5f0725714d4da9693b943ea

See more details on using hashes here.

File details

Details for the file rigorxrigor-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rigorxrigor-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for rigorxrigor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 473b04116ecc5ba1d655d3a92240d03b86d0ec5e22365498f7b3a6e2147c4b72
MD5 b238d327e92f886fc04aef74b991a487
BLAKE2b-256 3ecd113e83b83f76a51ccd2ea55081d1a5f0778755a0449a173b8723f726f595

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page