PI-Desktop

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

A new way for AI to search for data
View on GitHub
7,556GitHub stars
5,790commits on main
737forks
v0.21.0latest release, 2026-10-24

TypeScript 54.8%, JavaScript 26.8%, Rust 15.1%, CSS 2.9% · created 2023-03-22 · last push 2026-10-31

What XERJ indexed

Snapshot

2,171 files · 45.9 MB

Only apps/desktop, docs/spec/04-ux, docs/spec/06-delivery, docs/spec/08-meta, docs/zh-CN/spec/04-ux, docs/zh-CN/spec/06-delivery, docs/zh-CN/spec/08-meta, scripts at commit 5a74d3a858 (2026-09-22). main is 2,165 commits ahead.

Selected work

Yuc
@KtzeAbyss

“copy rendered formulas as round-trippable TeX”. 13 files, 2,129 lines in apps/desktop, scripts, the project root.

Licence

The repository

LGPL-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-17. 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

pi-desktopai-agentcoding-agentdesktop-appelectronglobali18nlocal-first

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported LGPL-3.0 for vastsa/PI-Desktop on 2026-10-31, and the LICENSE file at commit 5a74d3a858 was reviewed as LGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Yuc (@KtzeAbyss) has 1 selected repository on the hub.

Using XERJ with PI-Desktop

The prompt

Paste it into your AI agent. It clones vastsa/PI-Desktop at the pinned commit and indexes it on your machine.

Search the GitHub repository vastsa/PI-Desktop with XERJ (https://hub.xerj.org/corpus/vastsa--pi-desktop).
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/vastsa/PI-Desktop PI-Desktop && git -C PI-Desktop checkout 5a74d3a8588ee939f9dd257a5d2b1447a8ea6852
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./PI-Desktop --url http://127.0.0.1:9200 --prefix pi-desktop --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: LGPL-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.