Cli
docs_check_command(root=Path())
¶
Run lightweight documentation consistency checks.
Source code in src/cspilot/cli.py
execute_command(plan_path, workdir=Path('runs/test'), profile='chem')
¶
Execute an existing JSON plan through allowlisted local tools.
Source code in src/cspilot/cli.py
graph_run_command(request, workdir=Path('runs/graph_test'), profile='chem', agent_mode='single', html=False, pretty=True, quiet=False, max_retries=1)
¶
Run the LangGraph planner/executor/verifier/reporter loop.
Source code in src/cspilot/cli.py
greencatai_design_mbh_command(output_dir=Path('runs/mbh_api'), search_space=Path('configs/search_space.json'), scoring=Path('configs/scoring.json'), library=None, max_candidates=100, generations=3, population_size=30, top_n_xtb=0, top_n_orca=0)
¶
Run the stable GreenCatAI MBH design API.
Source code in src/cspilot/cli.py
inspect(input_path)
¶
Inspect a structure file with ASE.
Source code in src/cspilot/cli.py
mace_opt(input_path, model, fmax=0.05, steps=200)
¶
Run a MACE geometry optimization.
Source code in src/cspilot/cli.py
nwpesse_search_command(formula=None, fragment=None, workdir=Path('runs/nwpesse'), result_name='nwpesse_result', max_calculations=10, box_size=3.0, box_mode='per_fragment_type', optimizer='xtb_gxtb', fragment_dir=None, timeout=86400)
¶
Run an NWPESSe global-minimum search for a fragment cluster.
Source code in src/cspilot/cli.py
orca_sp(input_path, method='r2scan-3c', basis='def2-SVP', charge=0, mult=1)
¶
Run an ORCA single point calculation.
Source code in src/cspilot/cli.py
plan_command(request, workdir=Path('runs/test'), profile='chem')
¶
Create a JSON execution plan using the configured AGAPI planner.
Source code in src/cspilot/cli.py
run_agent(request, workdir=Path('runs/agent_test'), model=None, base_url=None, agent_profile='chem')
¶
Run a tool-using computational chemistry agent through AGAPI.
Source code in src/cspilot/cli.py
run_command(request, workdir=Path('runs/test'), profile='chem', html=False, pretty=True, quiet=False)
¶
Plan, execute, verify, and report an allowlisted workflow.
Source code in src/cspilot/cli.py
search_command(request, workdir=Path('runs/search'), model=None, base_url=None)
¶
Answer a general question through the AGAPI-backed general agent.
Source code in src/cspilot/cli.py
stk_build_smiles_command(smiles, workdir=Path('runs/stk_benzene'))
¶
Build a simple stk molecule from SMILES.
Source code in src/cspilot/cli.py
stk_building_block_file_command(input_path, output_path=None)
¶
Load an stk building block from a molecule file.
Source code in src/cspilot/cli.py
stk_building_block_smiles_command(smiles, output_path)
¶
Create an stk building block from SMILES.
Source code in src/cspilot/cli.py
stk_export_xyz_command(input_path, output_path)
¶
Export a molecule file to XYZ using stk/RDKit fallback.
Source code in src/cspilot/cli.py
stk_linear_polymer_command(monomer_smiles, repeating_unit, num_repeating_units, output_path)
¶
Construct a linear polymer with stk.polymer.Linear.
Source code in src/cspilot/cli.py
stk_polymer_command(monomer_smiles, repeating_unit='A', num_repeating_units=4, workdir=Path('runs/stk_polymer'))
¶
Construct a linear polymer using stk.polymer.Linear.
Source code in src/cspilot/cli.py
stk_replace_smiles_command(parent_smiles, old_smarts, new_smiles, output_path)
¶
Replace a SMILES substructure and export the edited molecule.
Source code in src/cspilot/cli.py
stk_xtb_command(smiles, workdir=Path('runs/stk_xtb'), charge=0, uhf=0)
¶
Build a molecule from SMILES, export XYZ, and run xTB optimization.
Source code in src/cspilot/cli.py
workflow_mace_orca(input_path, charge=0, mult=1, method='r2scan-3c', basis='def2-SVP', model=None, fmax=0.05, steps=200, nprocs=1)
¶
Run MACE optimization followed by an ORCA single point.
Source code in src/cspilot/cli.py
workflow_xtb_orca_freq(input_path, charge=0, mult=1, method='r2scan-3c', basis='def2-SVP', uhf=0, nprocs=1)
¶
Run xTB optimization followed by an ORCA frequency calculation.
Source code in src/cspilot/cli.py
workflow_xtb_orca_sp(input_path, charge=0, mult=1, method='r2scan-3c', basis='def2-SVP', uhf=0, nprocs=1)
¶
Run xTB optimization followed by an ORCA single point.
Source code in src/cspilot/cli.py
xtb_opt(input_path, charge=0, uhf=0)
¶
Run an xTB geometry optimization.