saiunit
Unit-aware computations for AI-driven scientific computing, compatible with NumPy, JAX, PyTorch, CuPy, Dask, ndonnx
What XERJ indexed
Snapshot
Only dev, docs/advanced_tutorials, docs/apis, saiunit at commit 8ce069df25 (2026-10-21). main is 3 commits ahead.
Selected work

“redesign unit display with structured terms”. 18 files, 5,848 lines in saiunit, dev.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-30. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
ai4sciencephysical-quantitiesphysical-unitsscientific-computing
Example questions
- How does saiunit implement ai4science?
- Where does saiunit handle “redesign unit display with structured terms”?
- What does saiunit do in saiunit?
Inside the indexed corpus
- 283 files, 6.8 MB in total, about 24.5 KB per file.
- The selected commit changed 18 of those files (6.4%).
- Languages by size: Python 100%, Shell 0%.
- On GitHub since 2025-02-02, last push 2026-10-27, 273 commits on main.
- The pin is 3 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for chaobrain/saiunit on 2026-10-31, and the LICENSE file at commit 8ce069df25 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Chaoming Wang (@chaoming0625) has 1 selected repository on the hub.
Using XERJ with saiunit
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones chaobrain/saiunit at the pinned commit and indexes it on your machine.
Search the GitHub repository chaobrain/saiunit with XERJ (https://hub.xerj.org/corpus/chaobrain--saiunit). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/chaobrain/saiunit saiunit && git -C saiunit checkout 8ce069df25d5b680d5d72d2ca940368106bcdf92 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./saiunit --url http://127.0.0.1:9200 --prefix saiunit --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Chaoming WangAI, prompts and agents corporaFurox-Art/axiomizeasifverse4/100-days-of-computational-chemistrydavewalker5/MolecularClockSimulation
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.