Nevergrad is a Python library for derivative-free optimization, offering robust implementations of many algorithms suited for black-box functions (i.e. functions where gradients are unavailable or unreliable). It targets hyperparameter search, architecture search, control problems, and experimental tuning—domains in which gradient-based methods may fail or be inapplicable. The library provides an easy interface to define an optimization problem (parameter space, loss function, budget) and then experiment with multiple strategies—evolutionary algorithms, Bayesian optimization, bandit methods, genetic algorithms, etc. Nevergrad supports parallelization, budget scheduling, and multiple cost/resource constraints, allowing it to scale to nontrivial optimization problems. It includes visualization tools and diagnostic metrics to compare strategy performance, track parameter evolution, and detect stagnation.

Features

  • Multiple derivative-free optimization algorithms (evolution, Bayesian, bandits, genetic)
  • Support for parallel execution and distributed evaluation of candidate solutions
  • Budget and constraint management (e.g. total evaluations, cost limits)
  • Visualization and diagnostic tools for optimization trajectories and performance
  • Easy problem definition API (parameter spaces, loss functions, budgets)
  • Strategy comparison framework to test and compare optimizers systematically

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Nevergrad

Nevergrad Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Nevergrad!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Libraries

Registered

6 days ago