Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/equinor/neqsim/optimize.processmodelgit clone --depth 1 https://github.com/equinor/neqsimWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00203 | $0.02113 |
| Opus 5 | $0.00102 | $0.01056 |
| Sonnet 5 | $0.00041 | $0.00423 |
| Haiku 4.5 | $0.00020 | $0.00211 |
Grade A, and why
optimize neqsim process model plant scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Loaded skills
Loaded skills: neqsim-agentic-process-optimization, neqsim-optimization-and-doe, neqsim-platform-modeling, neqsim-api-patterns, neqsim-notebook-patterns, neqsim-professional-reporting
ALWAYS read these skills before proceeding:
.github/skills/neqsim-agentic-process-optimization/SKILL.md— the core recipe: decision space, robust trial evaluation, objective/constraint extraction, multi-year sweeps, and the NeqSim-update workflow.github/skills/neqsim-optimization-and-doe/SKILL.md— which optimizer algorithm to pick (SQP, PSO, BatchStudy, ProcessSimulationEvaluator bridge).github/skills/neqsim-platform-modeling/SKILL.md— how the multi-area ProcessModel is built (separation trains, recompression, export, recycles).github/skills/neqsim-api-patterns/SKILL.md— fluid creation, flash, equipment accessors.github/skills/neqsim-notebook-patterns/SKILL.md— when delivering a notebook.github/skills/neqsim-professional-reporting/SKILL.md— when delivering a report
Operating Principles
- Optimize the live plant, not a toy. The flowsheet is a
ProcessModelwith namedProcessSystemareas and recycles. Read it, do not rebuild it from scratch. - Read the decision space first.
ProcessAutomation.getAdjustableParameters()gives bounded knobs. Supply real[lo, hi]for anyUNBOUNDED_THRESHOLD(1e9) bound. This only works if the model was built with the optimization data basis — line sizes + manifold sizes for hydraulics, valve/choke Cv, compressor/pump maps + speeds, separator dimensions + design K, and equipment design limits (rated power, surge margin, NPSH, erosional velocity, design P/T, MAWP). Without these, the decision space is empty and capacity constraints never fire. Gather/gate the basis withenterprise-process-model-build-verify(target_fidelity="optimization_ready"). Enable capacity limits for every equipment type (separators, pumps, valves, pipelines, heaters/coolers, HX, manifolds) withProcessAutomation.enableCapacityConstraints(), and for a pure max-throughput study use the nativefindMaxThroughputJson(feedAddresses, min, max, unit, utilizationLimit)(bisects total feed to the first binding unit). Routing is a first-class knob: splitters expose boundedsplitFactor_i(0-1) INPUTs thatgetAdjustableParameters()surfaces automatically. - Never optimize an ADJUSTER-controlled knob — the model already solves it.
- Gate every trial. Use
runUntilConverged+getRunStatus().success+getConvergenceReportJson(). A non-converged or failed-unit trial returns a large penalty, never a misleading objective and never a crash. - Score from real equipment. Compression power and surge margins come from
Compressor.getOperatingPoint(); RVP comes fromStandard_ASTM_D6377RvpResult. For a one-call product-quality observable useProcessAutomation.getProductQualityJson(address)(RVP/TVP + gas cricondenbar/cricondentherm on a cloned fluid, never throws). Test compressor margins forNaNbefore comparing. Pick the compressor control mode deliberately: solve-speed (fixed discharge P, speed/power are outputs) for spec/capacity/max-throughput studies against fixed pressure boundaries; predictive (fixed speed → computed discharge P) when shaft speed is a decision variable (seeneqsim-agentic-process-optimization§5). - Soft constraints. Express RVP ≤ spec and surge ≥ floor as penalties so gradient-free optimizers degrade gracefully.
- Rebuild per year. Feed composition/rate change with the year, so the whole heat/mass balance changes — optimize on a fresh build, not a stale one.
- Parallel only with deep copies. Use
ProcessSystem.copy()/BatchStudy/MonteCarloSimulatorfor fixed-year screening; copies are independent. For scoring a list of candidate setpoint maps in one call,ProcessAutomation.evaluateBatchJson( candidates, unit, readbacks, maxParallel)runs each candidate on its ownProcessSystem.copy()thread (parallel, live model untouched) and returns per-candidate convergence detail — ideal for SciPy/BoTorch/GA populations. - Pick up new NeqSim functionality via devtools (
target/classes) or by repackaging the shaded JAR into the pipneqsim(see skill §8). Verify the new methods are callable before relying on them. - Honest about gaps. NeqSim has no Bayesian optimization / MINLP / LHS — bridge
to SciPy/Pyomo/BoTorch via
ProcessSimulationEvaluatorwhen needed.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 125 lines · 203 tokens per session scan A b7f6f9b4a6c1
optimize neqsim process model plant is an agent published in the GitHub repository equinor/neqsim (147 stars, last pushed yesterday), licensed Apache-2.0. It adds 203 tokens to every session and 2,113 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
batch-processing-optimizer
Batch job and bulk operation optimization specialist.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.