Lex-Machina

Analityka polskiego prawa, przygotowanie pism procesowych, weryfikacja przepisów prawa polskiego i orzecznictwa z oficjalnych źródeł z zakazem cytowania z pamięci, przygotowanie umów i ich weryfikacja wraz z analizą ryzyk

A new way for AI to search for data
View on GitHub
290GitHub stars
718commits on main
56forks
v0.1.0latest release, 2026-09-17

Python 52.7%, JavaScript 32.4%, HTML 14.1%, Shell 0.5% · created 2026-06-05 · last push 2026-10-31

What XERJ indexed

Snapshot

3,027 files · 97.9 MB

The whole repository at commit f77be079d9 (2026-10-08). main is 34 commits ahead.

Selected work

Michał
@michaleiatrak-star

“dr-02 3.89, shared 3.99.22: akty pomocnicze PrUp/PrRestr bez PDF (lis…”. 8 files, 818 lines in Wersja rozwojowa rozpakowana.

Licence

The repository

GPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-10. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

analizab2bkancelarialegalpolskieprawotechumowy

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported GPL-3.0 for michaleiatrak-star/Lex-Machina on 2026-10-31, and the LICENSE file at commit f77be079d9 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Michał (@michaleiatrak-star) has 1 selected repository on the hub.

Using XERJ with Lex-Machina

The prompt

Paste it into your AI agent. It clones michaleiatrak-star/Lex-Machina at the pinned commit and indexes it on your machine.

Search the GitHub repository michaleiatrak-star/Lex-Machina with XERJ (https://hub.xerj.org/corpus/michaleiatrak-star--lex-machina).
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/michaleiatrak-star/Lex-Machina Lex-Machina && git -C Lex-Machina checkout f77be079d937e571c6a68d6740d3f9493e9b89fc
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./Lex-Machina --url http://127.0.0.1:9200 --prefix lex-machina --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: GPL-3.0. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.