Algorithm Operating System (AlgOS) is an unopinionated, extensible, modular framework for algorithmic implementations. AlgOS offers numerous features: integration with Optuna for automated hyperparameter tuning; automated argument parsing for generic command-line interfaces; automated registration of new classes; and a centralised database for logging experiments and studies. These features are designed to reduce the overhead of implementing new algorithms and to standardise the comparison of algorithms. The standardisation of algorithmic implementations is crucial for reproducibility and reliability in research. AlgOS combines Abstract Syntax Trees with a novel implementation of the Observer pattern to control the logical flow of algorithmic segments.
Install via pip:
pip install algosInstall from cloned repository:
pip install -e .Use in python via
import algosAlgOS is designed to be extensible for any algorithm that can be constructed as a cyclic or acyclic graph.
Currently the available modules are:
- Reinforcement Learning: AlgOSRL
The intention is to expand this in the future. If you use this library and would like to include a module please let us know.
The tests contain some examples of how to construct basic algorithms using AlgOS. AlgOSRL contains concrete examples of how to construct reinforcement learning algorithms using AlgOS.
TBA
To cite this repository in publications:
@misc{algos,
title={AlgOS: Algorithm Operating System},
author={Llewyn Salt and Marcus Gallagher},
year={2025},
eprint={2504.04909},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2504.04909},
}