ChemGraph
Agentic framework for computational chemistry and materials science workflows
What XERJ indexed
Snapshot
Only docs, src/chemgraph/agent, src/chemgraph/cli, src/chemgraph/graphs, src/chemgraph/memory, src/chemgraph/models, src/chemgraph/tools, src/chemgraph/utils, tests at commit 09c62ffb5e (2026-10-01). main is 78 commits ahead.
Selected work

“preserve normalized main-agent execution context across restart”. 21 files, 1,118 lines in src/chemgraph, tests.
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-12. 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
aichemistrymaterials-sciencequantumworkflowagents
Example questions
- How does ChemGraph implement ai?
- Where does ChemGraph handle “preserve normalized main-agent execution context across restart”?
- What does src/chemgraph do in ChemGraph?
Inside the indexed corpus
- 526 files, 6.2 MB in total, about 12.1 KB per file.
- The selected commit changed 21 of those files (4.0%).
- Languages by size: Python 82.2%, Jupyter Notebook 13.4%, JavaScript 3.1%, Shell 0.6%, HTML 0.6%.
- On GitHub since 2024-12-17, last push 2026-10-30, 1,325 commits on main.
- The pin is 78 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 argonne-lcf/ChemGraph on 2026-10-31, and the LICENSE file at commit 09c62ffb5e was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Thang Pham (@tdpham2) has 1 selected repository on the hub.
Using XERJ with ChemGraph
- Search Jupyter notebooks (.ipynb) and the .py beside them Jupyter Notebook is 13.4% of the code by size.
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones argonne-lcf/ChemGraph at the pinned commit and indexes it on your machine.
Search the GitHub repository argonne-lcf/ChemGraph with XERJ (https://hub.xerj.org/corpus/argonne-lcf--chemgraph). 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/argonne-lcf/ChemGraph ChemGraph && git -C ChemGraph checkout 09c62ffb5e54b5b70b8ebefde65c68ed518b5095 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./ChemGraph --url http://127.0.0.1:9200 --prefix chemgraph --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
Thang PhamAI, prompts and agents corporacontrolflowagentopsawesome-llm-appsMorrowChem/RingsStatisticsMatterMODSetter/SurfSenseyasik/agentlane
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.