fcmaes
One of 18 related repositories. The repository overview shows what each one does and how they connect.
A Python 3 gradient-free optimization library.
Choosing an optimization tool? Start with the
shared solver-selection and agent guide or the
optimization ecosystem overview.
Use fcmaes for Python black-box objectives, parallel retry, Pareto search
and quality diversity. Durable MCP jobs use the separate Rust workers;
this Python package does not include an MCP server.
- Documentation book
- Full README
- Tutorials
- Python API
- C++ API
- Examples API
- Native Rust implementation (with PyO3 API for Python users)
- The algorithm portfolio of fcmaes-rust: which gradient-free algorithms were selected, which were benchmarked and left out, and the measurements behind each decision
- Optimization jobs: durable jobs and an MCP server for AI agents, with fcmaes-rust workers
- experiment-craft: reproducible campaigns of those jobs (parameter sweeps, dependent steps, budgets and reports); it drives the Rust workers, not this package, and is in early development
- AI agent context: how an AI agent chooses, configures and validates fcmaes optimizers (AGENTS.md for coding agents)
Prompt-driven optimization tutorials demonstrate the shared agent workflow with native Rust application workers. Python objectives continue to use this package in process; these tutorials do not add a worker to fast-cma-es.
The eight CRN/CFD simulator lessons connect stochastic calibration, sensitivities, oscillator searches, source-allocation LP, sensor MIP and coupled-flow validation to complete campaigns. Their runnable examples use native Rust bindings and existing command/scalar-worker routes; they do not add a worker to this package.
Installation
python -m pip install fcmaes
To build from source you need a C++17 compiler and Python 3.10 or newer;
pip fetches the build tools, and Eigen is fetched if it is not installed:
git clone https://github.com/dietmarwo/fast-cma-es
cd fast-cma-es
python -m pip install . --config-settings=cmake.define.FCMAES_FETCH_EIGEN=ON
See the full README for the requirements, the changelog for what changed, and RELEASING.md for the release process.
jSO and jSO→CMA-ES
Use fcmaes.jso for the Python implementation or fcmaes.jsocpp for the
C++ backend. Both support bounded continuous optimization with a hard jSO
evaluation cap, variable-length ask/tell batches, and parallel objective
evaluation through Python processes. fcmaes.optimizer.jso_cma uses jSO
to start CMA-ES. See jSO usage and parameters.
Exact 2D Pareto archive
fcmaes.pareto.ParetoArchive2D keeps all nondominated evaluations of a
two-objective problem and updates their hypervolume with every insertion.
Its native code is derived from bitehv2.h in Aleksey Vaneev's
BiteOpt repository. See
usage and a MODE example.
Third-party integration
OptunaHub's FastCmaesSampler, by Jacob Pfeil, connects fcmaes CMA-ES to Optuna. See its example and supported Optuna version there. This is an external integration, not a comparative benchmark of the five-project ecosystem.
Metadata
Release files for fcmaes 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fcmaes-2.2.0.tar.gz | 298.3 kB | With provenance | Details for fcmaes-2.2.0.tar.gz |
Built distributions (wheels)
Total release size: 39.6 MB
Release files / fcmaes-2.2.0.tar.gz
| Download URL | fcmaes-2.2.0.tar.gz |
|---|---|
| Size | 298.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4cf11154a1ec9ea726dbc89fcff1bb0c18040d52c3f14be3c8c733854c29a87
|
|
BLAKE2b-256 checksum How to use checksums |
4d934f8bb6a16390495b7575823ea217228c3268d4f061ff34d8cdf579a671c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp313-cp313-win_amd64.whl
| Download URL | fcmaes-2.2.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e3c5c6614efb45fb6372eac818260cbd7603a0ab4e2dc206daa0abeacdb64a24
|
|
BLAKE2b-256 checksum How to use checksums |
0835bdc612f6a630c1fa073fb3ddd5e2a9ebb946b89bef170d77f3e8e1b05d90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.2.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
3e6334d225f755ab7d7bb2b399c24fbcfcc1ac430e47a62a87fef9298e4c0caa
|
|
BLAKE2b-256 checksum How to use checksums |
db853668226895dc3c2f222f0c075ca3c99fc149ab70e693904df16e71a704f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.2.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bb8b54c6d627fa5c9749e7531d83928df51e11588e8ffd5e409068df27814512
|
|
BLAKE2b-256 checksum How to use checksums |
f682ec3eefcad9f3a1f050e6535a7cdd5f0a5d6404fd602a0174fe8bd0743d55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.2.0-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
2076a08c862f899a3891af46177bd4397482a56443fab214157e2d590ef87611
|
|
BLAKE2b-256 checksum How to use checksums |
b42b99468262035a770dbc7b07462fa9a3ef1bd2da2fc3da31a3ca9bb96656dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp312-cp312-win_amd64.whl
| Download URL | fcmaes-2.2.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4fb35339269c7a8dfb2859e9673f2beee005b4576e9a5a5370394c55e816678a
|
|
BLAKE2b-256 checksum How to use checksums |
508f91bd52926dabdf3b1ce2d66ddd5c80faca010f6eede7a1143275362495db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e350b4b4c8226e7f011ca62441b0632a7ebb338eb5b680240aa927e67a91f0cc
|
|
BLAKE2b-256 checksum How to use checksums |
73d1265896cf5a44d10a16623f4cab1e421b84b12d5c69b23175d753f4d6f83a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.2.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7b0cd7f3376f10412e385fcbfe0ece401a55a4c6faf77bc004e2d97d95c97d39
|
|
BLAKE2b-256 checksum How to use checksums |
1771877b8b6728f18f3066065575de2f0314ff5fcf2557736be1a8930c51aab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.2.0-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
d0d87877b08efbd8d669c33d5d343703c548bebd9908fa5ef9d1400e153a18e6
|
|
BLAKE2b-256 checksum How to use checksums |
4656f400e0d73c68ec8cfe84d2f50d6c02a1b44110eb0b9309724ed3a8bb7a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp311-cp311-win_amd64.whl
| Download URL | fcmaes-2.2.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
712e7e16b51a245c68c049f60585a4f8eb3f59588d4f85ab61a78d325debea0b
|
|
BLAKE2b-256 checksum How to use checksums |
ecee71677aa2fadba97a060aaf4fc5bd2e0f5e407f30a9b0e1505494c264ecfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.2.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
cd3f336af9ba2c967da08796b14bf983472e6d2ecc2bb31d6ddb01d4fa69dcf6
|
|
BLAKE2b-256 checksum How to use checksums |
789c3feaab576fc766165535ea7d1ba413a3fdded5e545e69809f563baab1454
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.2.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
51a9853e2454d05cb853cecd25cabe1e6f9dc1e1541ca65a13c21f1f3256a369
|
|
BLAKE2b-256 checksum How to use checksums |
275988161c19cf133d5052c866d24b16b9882b58f8fc2314f530e7affb128d33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp311-cp311-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.2.0-cp311-cp311-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.11 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
14b6c69b32bb634582c7ce122339a992d3be55be23a5266f52d612d1cb7e3963
|
|
BLAKE2b-256 checksum How to use checksums |
fc8b62d630c7812372a93a40aed7d0a1804dcbc5c0a593662c81ee819792991b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp310-cp310-win_amd64.whl
| Download URL | fcmaes-2.2.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
74dc428af2642e11843a0f74310506a13c68635f7d1f43bae08cdbfd20cececf
|
|
BLAKE2b-256 checksum How to use checksums |
17b03c9e1638e00d4ac702c5167b6a7e578c92f80c8300fb26dfb57708670fb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.2.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6507b674dfd03b35d64514951f5b7e2c04c284c267720de05ff5408f585d44a5
|
|
BLAKE2b-256 checksum How to use checksums |
ab9149402b06a5d75d6ff38061e809c96a836c81f82b50b554db0f87a95a2ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.2.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a57c83a27bf3973564fc85b5818edd2b6a4eb5ab0370efd50daf556b75386530
|
|
BLAKE2b-256 checksum How to use checksums |
16c73f2a946cab99898d74f1d8dbf496f4fe039fc89aaf9b3f909ed10468b554
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / fcmaes-2.2.0-cp310-cp310-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.2.0-cp310-cp310-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
38a35965a8d22223b7a7702a2bbd6e2e277f06a7c2a0f11c48f0a6eb8536eaa6
|
|
BLAKE2b-256 checksum How to use checksums |
bab8561a52579c4a56138246cd49222fc22a20f451c789d0b3b9dc5765d92f0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for fcmaes 2.2.0
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.
Full provenance
All 17 files in this release have been uploaded with provenance metadata.
Attestation for fcmaes-2.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA 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.