ChemGraph

Agentic framework for computational chemistry and materials science workflows

A new way for AI to search for data
View on GitHub
169GitHub stars
1,325commits on main
50forks
v0.7.0latest release, 2026-09-11

Python 82.2%, Jupyter Notebook 13.4%, JavaScript 3.1%, Shell 0.6% · created 2024-12-17 · last push 2026-10-30

What XERJ indexed

Snapshot

526 files · 6.2 MB

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

Thang Pham
@tdpham2

“preserve normalized main-agent execution context across restart”. 21 files, 1,118 lines in src/chemgraph, tests.

Licence

The repository

Apache-2.0

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

The XERJ corpus

Apache-2.0, with credit

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

Inside the indexed corpus

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

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

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