Skip to main content

sim

sim reads existing CAE files and turns them into structured text an agent can use — without launching the solver.

Python 3.10+ · Apache-2.0 · alpha


Scan existing simulation assets

Point sim scan at a folder of .mph / .inp / .cas.h5 / .aedt files and get back structured JSON an agent can reason over — model inventory, materials, boundary conditions, mesh counts, solve settings. No solver, no license, and nothing else to install:

uv init                  # only if this is not already a uv project
uv add sim-cli-core
uv run sim --json scan ./historical-cases
$ uv run sim --json scan ./cases/beam.inp --full
{
  "schema_version": "sim.scan/v1",
  "assets": [{
    "file_name": "beam.inp",
    "format": "abaqus-inp",
    "summary": {"data": {
      "title": "Cantilever beam thermal-stress",
      "node_count": 3,
      "element_count": 1,
      "materials": ["STEEL"],
      "sections": ["SOLID SECTION:STEEL"],
      "steps": ["STATIC"],
      "boundary_keywords": ["BOUNDARY"],
      "load_keywords": ["CLOAD"],
      "output_keywords": ["NODE PRINT"]
    }}
  }]
}

(abridged — the real envelope also carries ok, engine, request, and a roll-up summary block.)

Solver Files --format id
COMSOL .mph comsol-mph
Abaqus .inp, .inc abaqus-inp
Fluent .cas.h5, .msh.h5 fluent-hdf5
Ansys Electronics Desktop (HFSS / Icepak) .aedt, .aedtz hfss-aedt
Ansys Mechanical .mechdb, .mechdat ansys-mechanical
Icepak Classic .tzr icepak-tzr
Simcenter FloTHERM .pack, .xml, .floxml flotherm-pack, flotherm-floxml
Simulink .slx, .mdl simulink-slx, simulink-mdl
MATLAB data .mat matlab-mat

The default view is bounded — lists come back as {total, sample, truncated} so a large scan cannot blow up an agent's context — and absolute paths are redacted unless --include-paths is set. Use --full for the complete parser result on a small input set, --limit and --no-recursive to bound a directory walk, and --format to force a format for an explicitly named file. What each format reports: docs/simparse.md.

Every command takes --json and returns a stable envelope with a closed error-code enum — see docs/agent-readability.md. Run uv run sim --json describe for a machine-readable command manifest.

Example: what's in this folder?

Scan ./legacy-cases and tell me which models are package-level thermal
studies, which already have solved results, and what total power each one
assumes. Use `uv run sim --json scan`.

Optional: working with a local solver

Scanning never needs a solver. If an agent also has to detect solver installs, lint a script before running it, or keep a solver session open, add that solver's package (for example sim-plugin-comsol) and its agent skill:

uv add sim-plugin-comsol
uv run sim plugin sync-skills --target .agents/skills --copy   # .claude/skills for Claude Code
uv run sim check comsol

The supported solvers, install commands, live-session commands, and the sim.toml manifest are covered in docs/plugin-install.md. Running the solver on another host is covered in docs/remote-solvers.md.

Solver ownership

sim-cli does not bundle or redistribute simulation solvers or vendor SDKs. Install and operate each underlying solver according to its vendor terms. See NOTICE for optional SDK dependency notes.

sim-cli is an independent open-source project and is not affiliated with, endorsed by, or sponsored by any solver vendor. Product, solver, and company names remain the property of their respective owners.

Docs

License

Apache-2.0 — see LICENSE.

Metadata

Release files for sim-cli-core 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sim-cli-core 0.4.2
File Size Uploaded Provenance Actions
sim_cli_core-0.4.2.tar.gz 96.6 kB Without provenance Details for sim_cli_core-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sim-cli-core 0.4.2
File Interpreter ABI Platform Actions
sim_cli_core-0.4.2-py3-none-any.whl Python 3 none any Details for sim_cli_core-0.4.2-py3-none-any.whl

Total release size: 207.9 kB

Release files / sim_cli_core-0.4.2.tar.gz

Download URL sim_cli_core-0.4.2.tar.gz
Size 96.6 kB
Tags Source
SHA-256 checksum
How to use checksums
29d4a925379904f3b8ed7497a08340d8886c92e15b90982be25567d33ba0a569
BLAKE2b-256 checksum
How to use checksums
073a37e966e7deeb363319fff0e690338ba8ce352162c96eabd640002c30a3fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / sim_cli_core-0.4.2-py3-none-any.whl

Download URL sim_cli_core-0.4.2-py3-none-any.whl
Size 111.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e7dcad9d1257d38d60a2a05f4600ab8ee487919d099efd917ff430c9cf39fe4
BLAKE2b-256 checksum
How to use checksums
2a690c32d39907cbbf474e837cd7c7ac4630d864481ddb8537221c745aaf00ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Security for sim-cli-core 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page