fcmaes
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)
- Optimization jobs: durable jobs and an MCP server for AI agents, with fcmaes-rust workers
- AI agent context: how an AI agent chooses, configures and validates fcmaes optimizers (AGENTS.md for coding agents)
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.
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.1.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 | |
|---|---|---|---|---|
| fcmaes-2.1.0.tar.gz | 276.4 kB | With provenance | Details |
Built distributions (wheels)
Total release size: 39.0 MB
Release files / fcmaes-2.1.0.tar.gz
| Download URL | fcmaes-2.1.0.tar.gz |
|---|---|
| Size | 276.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea842fe476796873a1a47661ff1e53b9b7927ad460910c2eb33e2f1ad8c20a88
|
|
BLAKE2b-256 checksum How to use checksums |
6a68b2b8b0467d1a7e2156592f3ff94adb05de13397c638811642e0b9f69cf40
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp313-cp313-win_amd64.whl
| Download URL | fcmaes-2.1.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
716fa86f3c71e38ef185aaa316d0b7cdb4eea3a346022fddaba9803248c24b70
|
|
BLAKE2b-256 checksum How to use checksums |
a737e948762b68b43d6daff15bd3aeafb6f4829395f9642230cd7f101a80c137
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.1.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 |
79e468149515972498ed7b4551b81e4862b8619b5b81fb46356f28e921d19ebc
|
|
BLAKE2b-256 checksum How to use checksums |
8a4b1a03c4c1d01108b95a7d226f1eba420bef8adc7cd4b5b7d5e8f810e7386d
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.1.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 |
303d77d70582bf43f660d01cb7d8c85777f0f248398edfaa3dc3548f24732b12
|
|
BLAKE2b-256 checksum How to use checksums |
b3fbd4b24ab413de051d597120cd6e1d8b82086ffee012e58bb19a8cfa5d92c0
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.1.0-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
82887f22b0b266a871f399e13d467b532a76fd5ba045322fe40afc80d1301ff3
|
|
BLAKE2b-256 checksum How to use checksums |
29992752148636bc81089a109f81bf5be349cb9a13bf421c30b67bef449a78d9
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp312-cp312-win_amd64.whl
| Download URL | fcmaes-2.1.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fc5f360fcaaeaae9a7642189630345c1b1d9281d0d8db932cd1f3e0f23f2bf08
|
|
BLAKE2b-256 checksum How to use checksums |
04b9172db54b426e7cc7b6beef00af612bb87e1c27e3b22fd196092f9c408db4
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.1.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 |
f30b91381bcf0fbc55d550afbc61936a93e454c9a7da11ad8f278cebccbe363b
|
|
BLAKE2b-256 checksum How to use checksums |
ce3c5aa5905f1936729025c15f3415d37242b8b0bb97551e8a5451ae31796869
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.1.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 |
2f3fec7c5b380615365398c625c697d636c3ccdaccc39d8bcec41d5bfd68d036
|
|
BLAKE2b-256 checksum How to use checksums |
98e266671d7bcf17ff7ef5041800548fd1fdd77bb6195ead4dbe9318fa36aa73
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.1.0-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
0cb37a3ccd0ac7abf9e9f148dbef93cf26c01b906792b0b74aad07aa06075a0f
|
|
BLAKE2b-256 checksum How to use checksums |
ee2dfbcd71ae92bdce73ec8b6f7c178b5e1cbacc111e00872a93de35e3db3a52
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp311-cp311-win_amd64.whl
| Download URL | fcmaes-2.1.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b26156a221e4b17f7b37bf44fce4c9363f1deda4651d1556000456d2a695fc17
|
|
BLAKE2b-256 checksum How to use checksums |
0a157ceeaaedc5d018472b9c4bb9c3cb53029f773892cab229ec58c0b3123185
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
94161353e41c59a822f0664521a387edba60ba22c6797981e946309c3d63dd74
|
|
BLAKE2b-256 checksum How to use checksums |
427510cbfa845125104ce60cc208cffbf8ffdaa0da1ea697397661bc524b6b13
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.1.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 |
5fc63950f01b639dd283ed9cf083a03a59d6512abecc30cc95756a50cf06467b
|
|
BLAKE2b-256 checksum How to use checksums |
c341a74c5c58e2e5db20f0cf7f7c2187f7e11576ffcc7511b90d6f4cf6b668ef
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp311-cp311-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.1.0-cp311-cp311-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.11 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
e6250bffe795cf58495426557828a6b628753692fa3a97c6dfb19e1d3eed819b
|
|
BLAKE2b-256 checksum How to use checksums |
cbac9dc771db45bee1e40fe6d9287794bda979cc4e5bca92029176e1ac28945c
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp310-cp310-win_amd64.whl
| Download URL | fcmaes-2.1.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
31b54f7b2f8b3e73fb411af2083d96e825f3bd4c1f1efe2d1f387a8a610e6300
|
|
BLAKE2b-256 checksum How to use checksums |
77267ad5919a181d5da2cbb114bd98d6566ec2f17935b6ba32260e4e3026a06d
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | fcmaes-2.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
565f7fa71858daeba7c9437750874785010eeb523f9647381d8a8b91f2447d1d
|
|
BLAKE2b-256 checksum How to use checksums |
237cd96a8568c258ef5c0f0417951213bc9b371a2e7890fb2c17b3f4db51c260
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | fcmaes-2.1.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 |
0224dcced954a7791de8ac1bcf9c8f4c3d3469bfbd02a8c3543d7b1baca106c5
|
|
BLAKE2b-256 checksum How to use checksums |
3a5d2fd168f6b1e729ca9a366b31a0ea121254e7760a72000779b466343938ba
|
| 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 Oct 22, 2026.
Transparency logRelease files / fcmaes-2.1.0-cp310-cp310-macosx_10_13_x86_64.whl
| Download URL | fcmaes-2.1.0-cp310-cp310-macosx_10_13_x86_64.whl |
|---|---|
| Size | 2.4 MB |
| Tags | CPython 3.10 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
fadba544199d86718aaf59e45a3bad22c6c32a947f77271b19f2d11b21860ce8
|
|
BLAKE2b-256 checksum How to use checksums |
2ef3bdc55a17712803a2cd1119424259d0044739ead84f351d168731cb3416f9
|
| 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 Oct 22, 2026.
Transparency logSecurity for fcmaes 2.1.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.1.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 Oct 22, 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.