CSPilot Documentation¶
Computational chemistry agentic workflow package.
Created by Sandip Giri.
CSPilot is a command-line package for reproducible molecular structure workflows. It combines deterministic local tools, AGAPI/OpenAI-compatible planning, LangGraph orchestration, JSON verification, and polished terminal reports.
Quick Install¶
For documentation builds:
For stk support:
First Command¶
This reads an XYZ file with ASE and writes a timestamped result.json.
Agentic Start¶
Single-agent graph:
cspilot graph-run "inspect tests/examples/input.xyz" \
--workdir runs/water --profile chem --agent-mode single
Routed multi-agent graph:
cspilot graph-run "Find all Al2O3 materials" \
--profile auto --agent-mode multi --html --workdir runs/al2o3
Documentation Map¶
- Installation: install with
uvorpip. - Configuration:
.env.cspilot, ORCA, xTB, AGAPI, MACE. - CLI Usage: every implemented command and output file.
- Agent Usage: direct agent, planner/executor, LangGraph.
- Workflows: xTB, ORCA, stk, NWPESSe, and result extraction.
- Tools: Python and agent tools grouped by domain.
- AGAPI Integration: model backend and materials wrapper.
- Examples: copy-paste workflows.
- Safety: execution boundaries and scientific integrity.
- Code Documentation: mkdocstrings reference pages.
Current Status¶
Implemented:
- ASE inspection.
- xTB optimization.
- ORCA calcultions.
- xTB to ORCA workflows.
- MACE to ORCA workflow.
- stk build/edit/export and stk to xTB.
- NWPESSe fragment-cluster search.
- AGAPI direct agent and JSON planner/executor.
- LangGraph single mode and routed multi mode.
- Rich terminal reports and Markdown/HTML final reports.
Planned:
- LangGraph repair/retry node integration.
- Multiwfn post-processing.
- Expanded stk topology presets.
- torch-sim MLIP molecular dynamics.
- MongoDB job database.
- MCP server.
- Streamlit UI.
Build Notes¶
The documentation site uses MkDocs and mkdocstrings. Reference pages document
the real import package, cspilot, not chemagent.