
Axiomize
io.github.Furox-Artv1.12.4更新於 Oct 2, 2026
Versioned scientific models with units and SBML, CellML, Modelica export.
概覽
讓助理建立、驗證、模擬並匯出帶強制單位與 SBML、CellML 或 Modelica 輸出的版本化科學模型。
- 功能
- Axiomize 是建模層,而不是數值方法函式庫。它把模糊想法轉成明確、帶版本的 Model IR,強制標註單位,執行具名且有依據的科學限制檢查,區分數值誤差與隨機變異,並比較候選模型族。它驗證量綱一致性、進行數值驗證、從 CSV 擬合模型,並匯出為 JSON、Python、YAML、notebook、SBML、CellML、Modelica、GraphML 與 LaTeX,同時維護具完整性檢查的執行帳冊。
- 適用情境
- 當科學或工程模型必須在審查中站得住腳、能在另一台機器重現,或多年後仍可稽核時使用。適合進行容量、可靠性或庫存估算的工程師,以及應以數字而非感覺推理的代理。不適合無可檢視假設的黑箱預測。
- 執行需求
- 以 PyPI 套件 axiomize 透過 stdio 在本機執行,用 uvx 啟動;CLI 與函式庫需要 Python。未宣告驗證、環境變數或標頭。選用擴充提供貝氏取樣(PyMC/JAX)與 Gradio 練習場;有限元素需要 FEniCS/DOLFINx。僅支援桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Axiomize,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Axiomize
Reproducible scientific modeling that survives contact with reality. Axiomize turns a vague idea into an explicit, versioned mathematical model, validates it dimensionally and numerically, and exports an artifact someone else can re-run years from now.
This is not the numerical-methods library. That door is scientific-computing-system. Axiomize is the modeling layer: mandatory units, a versioned Model IR, and export to SBML, CellML, and Modelica. The MCP server is axiomize mcp.
mcp-name: io.github.Furox-Art/axiomize
[CI] [Pages] [PyPI] [PyPI downloads] [Python] [License: MIT]
Current package line: 1.12.4 (PyPI is the supported install path; see npm)
Documentation: furox-art.github.io/axiomize · Changelog: CHANGELOG.md · Roadmap: ROADMAP.md · Security: SECURITY.md · Contributing: CONTRIBUTING.md · Code of conduct: CODE_OF_CONDUCT.md · Cite: CITATION.cff
There is deliberately still no npm version badge: the fix for the npm entry point has landed in this repository but has not been published yet, so the registry and this README disagree on the version (see npm).
Why
I got tired of scientific models that live in Jupyter notebooks and die there.
Someone writes a beautiful simulation, it works on their machine, they graduate or change jobs, and six months later nobody can run it. The dependencies are broken, the data is missing, and the "documentation" is a 47-cell notebook with no explanation.
Axiomize forces models to be explicit, versioned, testable code instead of exploratory spaghetti. Every assumption is written down. Every parameter carries a unit. Every result carries enough provenance that another person, on another machine, can reproduce it.
Who it is for
Not a fit: if you want a black-box predictor with no inspectable assumptions, or if you need the engine to make scientific claims for you without a human in the loop.
Install
Optional extras: pip install "axiomize[full]" (PyMC/JAX Bayesian sampling),
pip install "axiomize[playground]" (the Gradio playground).
Python in five minutes
Declare the model, then let Axiomize check it. Units are mandatory, so dimensional mistakes fail loudly instead of producing a meaningless number.
Real output, reproducible by running python examples/quickstart_sir.py:
CLI in five minutes
No Python required. Every command prints JSON you can pipe.
axiomize-validate output on those inputs:
Other surfaces: axiomize solve (reference SIR), axiomize fit (calibrate from CSV),
axiomize model --action {plan,validate,simulate,fit,export,numerical-verify},
axiomize serve (REST, loopback by default), axiomize mcp (MCP over stdio).
See docs/integrations.md.
Adoption path
- Try it on something you already believe. Recreate a model you trust with
axiomize-validateor oneaxiomize modelrun. If the engine disagrees with a result you can defend, stop here and open an issue. - Move one real question onto Model IR. Declare units and constraints explicitly. The dimensional checks are where the value shows up first.
- Gate the expensive steps. Numerical refinement, mesh refinement, and heavy fitting
return
APPROVAL_REQUIREDuntil you pass--approve-heavy. Approval authorizes compute; it never disables a resource ceiling. - Export something portable.
axiomize model --action exportemits canonical Model IR JSON plus SBML, CellML, and Modelica for supported models, so the artifact outlives this library. - Wire it into review. Ship the exported IR and the validation record alongside the result, not just a figure.
What it actually does
- Validates dimensional consistency, so you cannot add meters to seconds
- Enforces scientific constraints as named, justified checks rather than prose
- Separates numerical error from stochastic variability before claiming convergence
- Compares candidate model families and records why one was chosen
- Exports to JSON, Python, YAML, notebooks, SBML, CellML, Modelica, GraphML, and LaTeX
- Keeps an integrity-checked run ledger, so a stored result can be verified before use
Honest limits
- It does not make a bad model good. It makes a bad model fail loudly.
- Bayesian sampling needs the
fullextra (PyMC/JAX); FEM needs FEniCS/DOLFINx. Both are reported as unavailable rather than silently substituted. - Benchmark results grade report structure in blind runs, not modeling correctness. Only the table carrying script, case-set and commit hashes is reproducible; the older waves are kept as history and cannot be rerun.
- Worked examples use illustrative parameter ranges labelled
lit./data/est.. No example cites an external source, so treat the numbers as reading material rather than literature-backed results. - Generated-code execution and theorem elaboration are not an OS sandbox. See SECURITY.md.
Documentation
- Quickstart and workflow: furox-art.github.io/axiomize
- Worked examples: example gallery, or the 18 example files
- Domain packs (which lenses matter per field): packs/domain-packs.md
- Agent integration (MCP, REST, CLI): docs/integrations.md
- Portable export formats: docs/portable-export.md
- Trust boundaries and reporting: SECURITY.md, docs/security.md
- Agent skill pack: skills/axiomize/SKILL.md, plus the 15 perspective lenses
npm
pip install axiomize is the supported install path. Use npm only if you already depend on it.
The npm index.js syntax error is fixed on main, and package.json is at 1.12.3 in lockstep
with the Python package. That fix is not published yet. The npm registry still serves 1.12.2,
whose tarball carries the broken entry point, so npx axiomize still fails to load today.
The fix ships with the next release, which publishes the npm shim from the same commit as the Python distributions. Until that release lands, check registry.npmjs.org/axiomize before using npm: if the reported version is lower than the PyPI version, the registry copy is still the old one. Tracked in CHANGELOG.md.
License
MIT. Use it, break it, fix it.
來源:README.md,提交 0e093a6
工具
0版本歷史
1- v1.12.4最新Oct 2, 2026


