What the recipes actually do
The short version for people who would rather read the commands than be walked through them. What the scaffolder writes, how authentication resolves, what the agent context files contain, and where to hook your own code in.
Nothing here is hidden from the other track · it is the same recipes. This page just skips the explanation of what an agent is.
$ python3 -m venv .venv && source .venv/bin/activate$ pip install --upgrade pip cadmould-sdk-auth$ cadmould-sdk-auth$ pip install ".[result-viewer]"$ python examples/result-viewer/scripts/08_result_viewer.py
The index token is short-lived. If a later install fails with an auth error, run cadmould-sdk-auth again and retry.
The last step runs offline against the bundled reference result and its geometry. No cloud call, and nothing to authorise beyond the index login.
What the starter kit contains
One plain repository · the concept docs, three standalone examples of increasing depth, and a pytest suite. There is no scaffolder and no hidden state: you work in the checkout, and the examples are scripts rather than a library to import.
cadmould-api-toolkit-starter-kit/ docs/ PLATFORM.md SOLVERS.md SETUP.md RESULTS_AND_IO.md api/README.md examples/ result-viewer/ cloud-quickstart/ gate-study/ tests/ .claude/skills/cadmould-cloud/ CLAUDE.md AGENTS.md pyproject.toml
Standalone scripts, not a library
The three examples are ordered by depth · result-viewer offline, then cloud-quickstart for one run, then gate-study for a full decision. Nothing imports across them, so you can copy one out and delete the rest.
Two context files and a skill
CLAUDE.md carries the project and dev workflow. AGENTS.md carries the cloud-domain guidance · how to organise a study, which client to pick, how to spend compute. The cadmould-cloud skill under .claude/skills/ stays out of context until the agent needs the API surface.
Tests that skip rather than fail
pytest runs the offline suite on numpy and h5py alone. The licence and cloud suites are opt-in behind CADMOULD_RUN_LICENCE_TESTS and CADMOULD_RUN_CLOUD_TESTS, so a missing dependency skips instead of failing.
Installing into your own project
If you are dropping the SDK into an existing project rather than working in the starter kit. Two things are authorised separately today: resolving the licensed wheel from our index, and running simulations.
$ pip install --upgrade pip cadmould-sdk-auth$ cadmould-sdk-auth$ pip install cadmould
$ uv venv && source .venv/bin/activate$ uv pip install cadmould-sdk-auth$ uv pip install cadmould --index "$(cadmould-sdk-auth --print-index-url)"
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.
SDK or your own client
The platform is a plain REST service · the SDK is a convenience over it, not a gate in front of it.
Stay on cadmould.cloud
Wraps geometry upload, materials and running simulations, and owns the cloud login. Local meshing lives here too, which a REST client cannot do. Right answer for single runs and most automation.
Bring your own client
Needed for the management surface · projects, groups and the decision log are REST-only and not wrapped by the SDK. Any language, bearer token, base URL api.simcon.ai/api/v1. The gate study takes this path and ships the client.
Conventions worth adopting
These are the parts of the recipes we would copy into any pipeline of our own. Each one exists because getting it wrong cost us a re-run.
Next: take a recipe apart
The DOE campaign is the one worth reading if you are building something similar · seven resumable stages, a guardrail lint, and the checks that make its output defensible.