Sacred
by Community
Sacred is a tool to help you configure, organize, log and reproduce experiments developed at IDSIA.
OSS
Sacred
Added 1 June 2026
Overview
Sacred is a Python library for configuring, organizing, logging, and reproducing machine learning experiments. It tracks hyperparameters, source code state, dependencies, and results, storing run details in a MongoDB database for later analysis. Developed at IDSIA, it is designed to help researchers ensure experiment reproducibility.
Best for
Best for
Researchers and engineers who want a lightweight, code-centric experiment tracking system
Use cases
- Track hyperparameters and metrics across training runs
- Reproduce past experiments with consistent configuration and source code
- Organize multiple experiment variants into a searchable database
Notes
Sacred is a Python library for configuring, organizing, logging, and reproducing machine learning experiments. It tracks hyperparameters, source code state, dependencies, and results, storing run details in a MongoDB database for later analysis. Developed at IDSIA, it is designed to help researchers ensure experiment reproducibility.
4,365 stars on GitHub. Last updated 2025-10-22. Licensed MIT.
Use cases
- Track hyperparameters and metrics across training runs
- Reproduce past experiments with consistent configuration and source code
- Organize multiple experiment variants into a searchable database
Pros
- Lightweight and integrates easily with existing Python code
- Automatically logs source code state and dependencies for reproducibility
- Active open source community with ongoing development
Cons
- Requires MongoDB for full functionality, adding infrastructure complexity
- Limited built-in visualization compared to dedicated experiment tracking platforms
- Configuration changes can require code refactoring for deeply nested experiments
Indexed from awesome-llmops and enriched against its public facts.
Pros
- Lightweight and integrates easily with existing Python code
- Automatically logs source code state and dependencies for reproducibility
- Active open source community with ongoing development
Cons
- Requires MongoDB for full functionality, adding infrastructure complexity
- Limited built-in visualization compared to dedicated experiment tracking platforms
- Configuration changes can require code refactoring for deeply nested experiments
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
PyTorch
Community
Tensors and Dynamic neural networks in Python with strong GPU acceleration
TensorFlow
Community
An Open Source Machine Learning Framework for Everyone
scikit-learn
Community
scikit-learn: machine learning in Python