Skip to content

Particula Helper installation reference

For a first installation, choose your assistant. Use this reference to check a download, diagnose a setup problem, or run the condensation example directly.

From a checkout or an extracted Codex/Claude plugin, locate its scripts directory. These commands assume a repository checkout and an existing project environment. Substitute your actual interpreter path:

Terminal window
.venv/bin/python plugins/particula-helper/scripts/doctor.py
.venv/bin/python plugins/particula-helper/scripts/run_example.py \
--process condensation --output runs/condensation-001

On Windows, use .venv\Scripts\python.exe. If starting a new project, create a virtual environment and install Particula plus Matplotlib there; the bundled requirements.txt is an optional pinned starter, not an upgrade instruction for an existing research environment.

The default illustrative CPU study runs 100 steps over one second, with 40 size bins, a 100 nm mode radius, 1e8 particles/m³, 298.15 K, and 101325 Pa. It writes:

  • time_series.csv and distribution.csv: numerical results.
  • result.png: size distribution and bulk evolution.
  • run.json: parameters, versions, source path/hash, and scientific checks.

Existing output directories are rejected. Finite-state and conservation failures raise an error; do not interpret a failed run as a completed simulation. These are illustrative parameters, not measured or calibrated research results.

Evidence Status / boundary
Codex CLI 0.167.0; Claude Code 2.1.319 Local marketplace/package installation tested in isolated configurations; see the PR for recorded commands
OpenCode 2.1.3 / SDK 2.1.3 Original six-skill inventory discovered in a live isolated host from an extracted npm package; installed-package tests cover paths, reload, duplicate preservation, and cleanup
Python 3.12 / Particula 0.2.14 Condensation numerical smoke and time-step comparison passed for the documented bounded case
Current repository Python package CI tests the installed checkout with explicit numerical dependency versions
Desktop import / Cowork execution Not verified by CLI/package tests; verify in the target app
Model-driven end-to-end conversations Separate from installation tests; not claimed by the automated checks
GPU Not qualified by CPU smoke tests

The six repository skills include example authoring; the historical host checks above do not establish live discovery or model-driven execution of the expanded catalog. Validate the updated package in the target host after installation.

These CLI versions are tested targets, not inferred minimum supported versions. If an install command is absent, consult your host’s --help and update it or use its documented local-package flow.

A coagulation trial on Particula 0.2.14 with 1e12 particles/m³ over 600 seconds and 600 steps failed mass conservation by approximately 1.3%. The cause is not established. Condensation is therefore the introductory example. Do not loosen the checks to make other workloads pass. See the compatibility record.

Particula releases carry particula-helper-codex.zip, particula-helper-claude.zip, particula-helper-opencode.zip, and SHA256SUMS starting with releases that include this distribution workflow. Earlier releases will not have these files. The OpenCode ZIP includes both a native package and manual-install skills.

Plugin versions are independent of Python library versions. Archives include BUILD.json with the source commit, dirty-tree indicator, resource hashes, and a pointer to compatibility evidence. Verify downloads with sha256sum -c SHA256SUMS after downloading all ZIPs listed in that file. Branch-based installs can change when refreshed. Use a published release tag or full commit for a fixed revision; examples in the host guides use RELEASE_TAG as a placeholder for an actual release containing these files.

GitHub is the primary distribution route. The Assistant plugins workflow validates every pull request targeting main, merge-queue build, and push to main, with no changed-path filter. This also checks plugin compatibility when only the Python library changes. A failed check prevents package upload and release publication. Maintainers can require the workflow’s validate check in branch protection; this source change does not modify repository rules.

After each successful merge build, open the latest successful main push in Python CI and releases and follow Download tested plugin packages in the run summary. The artifact contains the Codex, Claude and OpenCode ZIPs, checksums, and GITHUB-RELEASE.md with installation instructions. Artifacts are named by version and source commit and retained for 30 days. GitHub requires sign-in to download workflow artifacts. Manual workflow runs also build packages.

After a successful upstream main push that increases the plugin version, the workflow publishes a GitHub release tagged particula-helper-vVERSION, targeting the exact tested commit. Reruns preserve existing releases, including historical drafts, and their assets; same-version merges still produce fresh workflow artifacts. Forks do not publish these releases. Plugin releases do not replace the library release as GitHub Latest, and their tags do not trigger Python package publication. No OpenAI credentials or public-directory access are required for GitHub distribution.

Existing installations need a marketplace refresh/reinstall and a new session; merging a change does not update installed plugin caches automatically. See the Codex update commands or choose the guide for your assistant.

To prepare an update, increase the root, Codex, Claude and OpenCode package versions together, including both version entries in npm-shrinkwrap.json. Update the portable manifest’s release notes, then run:

Terminal window
.venv/bin/python scripts/build_particula_plugins.py --sync
.venv/bin/python scripts/build_particula_plugins.py --check \
--output /tmp/particula-plugin-candidate

Use a fresh output directory. Inspect GITHUB-RELEASE.md and verify the ZIP checksums before sharing a local build.

  • Import fails: run the doctor with the same interpreter the simulation uses. Activating a terminal environment does not necessarily change an assistant’s selected interpreter.
  • Skill missing: check the host’s plugin inventory and start a new session. In OpenCode, a project skill with the same ID takes precedence over the adapter.
  • Wrong version: compare installed metadata with the source path/version reported by the doctor, especially for editable checkouts.
  • No local execution: the assistant can explain or produce code, but must not claim it ran your local simulation. Desktop installation alone does not grant access to a local .venv.
  • Numerical check fails: retain logs and parameters, and use particula-debug. Successful import or plotting does not establish scientific validity.