Point your agent at this page. It does the setup.
Setup is a virtual environment, one browser sign-in and two installs. It is the first thing worth handing over: the steps are written down, the agent reads them and runs them, and every step has a check that says whether it worked.
Paste this into an agent opened on an empty local folder. You approve each command as it goes.
Read the Get started page at toolkit.simcon.ai and set up the Cadmould API Toolkit in this folder the way it describes. Work through the steps in order, run the verify check after each one, and show me each command before you run it. Stop and ask me if a step needs a decision I have to make.
Not running an agent yet? Start with working with agents · it takes an afternoon and this page is waiting afterwards.
What it will run
The same steps, for reading along or running yourself. The sign-in opens a browser once and points this environment’s pip at the licensed wheel.
$ python3 -m venv .venv$ source .venv/bin/activate$ pip install --upgrade pip cadmould-sdk-auth$ cadmould-sdk-auth$ pip install ".[examples]"
$ py -m venv .venv$ .\.venv\Scripts\python.exe -m pip install --upgrade pip cadmould-sdk-auth$ $env:VIRTUAL_ENV = "$PWD\.venv"$ .\.venv\Scripts\cadmould-sdk-auth.exe$ .\.venv\Scripts\python.exe -m pip install ".[examples]"
Then verify
The index token is short-lived. If a later install fails with an auth error, run cadmould-sdk-auth again and retry.
Install only what one example needs
The last install pulls everything the three examples need. Swap the extra to take only one.
pip install ".[examples]"Everything the three examples need, in one shotpip install ".[result-viewer]"The offline viewer · matplotlib and pyvistapip install ".[cloud-quickstart]"One filling run through the SDK · pyvistapip install ".[gate-study]"The full study · adds httpx and python-pptxUsing uv instead of pip
uv works too, with one wrinkle · cadmould-sdk-auth writes the index URL into pip’s config, which uv ignores. Pass it across explicitly with cadmould-sdk-auth --print-index-url.
cadmould-sdk-authThe licensed cadmould wheel from Simcon’s private index. It only configures pip · nothing else.cadmould.cloudThe right to run simulations and manage data. The SDK opens the browser flow on first call, or bring your own client over REST with a bearer token.If pip cannot find the package it is the first. If the import works but calls come back 401, it is the second.
Platform calls and local meshing run inside a licence session · one Session.user_based() around the whole script. Rule: never nest them · an inner session releases the licence when it exits.
Then hand it the first example
The offline result viewer needs no cloud call and no licence · a finished result and its geometry ship inside it.