PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Multi Armed Bandit Python Packages

Python packages with the GitHub topic multi-armed-bandit. Sorted by monthly downloads, with stars and forks.
MLBazaar
baytune

A simple, extensible library for developing AutoML systems

3K 176 40
PlaytikaOSS
pybandits

Python library for Multi-Armed Bandits

2K 55 5
sulgik
orts

Odds-Ratio Thompson Sampling: bandits and A/B tests whose baseline keeps moving. Paper: arXiv 2609.19709

2K 1 0
erdogant
thompson

Thompson is a Python package for multi-armed bandit problems and adaptive decision-making. It supports Thompson Sampling, UCB, and random selection, with applications in A/B testing, recommendations, advertising, experimentation, and resource allocation.

477 3 2
alison-carrera
mabalgs

:bust_in_silhouette: Multi-Armed Bandit Algorithms Library (MAB) :cop:

450 136 26
ariaxhan
armature-ai

AI Optimization Framework powered by evolutionary algorithms, multi-armed bandits, and agent societies

444 0 0
yehudalevy-collab
polis-protocol

Markdown protocol for multi-vendor AI agent teams — capability cards, bandit routing, and lessons that compound.

411 5 4
ShakirFarhan
arcus-cli

Adaptive routing, a quality gate, and correctness-aware caching on top of Virginia Tech ARC's LLM API - local CLI, your own key, nothing leaves your machine.

341 0 0
Antares0982
mab-algorithm

Code template for multi-armed bandit algorithm

308 5 0
SMPyBandits
smpybandits

🔬 Research Framework for Single and Multi-Players 🎰 Multi-Arms Bandits (MAB) Algorithms, implementing all the state-of-the-art algorithms for single-player (UCB, KL-UCB, Thompson...) and multi-player (MusicalChair, MEGA, rhoRand, MCTop/RandTopM etc).. Available on PyPI: https://pypi.org/project/SMPyBandits/ and documentation on

284 425 62
dancrew32
ab

A/B Testing Framework for Python (with optional Multi-armed bandit implementation)

280 2 2
VahanArsenian
banditry

Python library for contextual bandits and Bayesian optimization over mixed design spaces, featuring GP-UCB, Thompson sampling, Gaussian processes, MCMC, and evolutionary acquisition optimization.

272 6 0
roycoding
slots

A multi-armed bandit library for Python

205 81 23
adwantg
kvfleet

KV-cache-aware intelligent routing for self-hosted and hybrid LLM fleets. Route requests using model quality, latency, cost, policy, and live GPU state.

189 0 0
improve-ai
improveai

Contextual Multi-Armed Bandit Platform for Scoring, Ranking & Decisions

132 22 1
tokahuke
koth

King of the Hill: performant A/B/n testing beyond the basics. Allocation for multi-armed bandits with correlated arms, using the top-k contenders.

92 0 0
reconstructive
hydraboost

Gradient boosting that picks its own weak learner type each round. Competitive with tuned XGBoost, LightGBM and CatBoost with zero tuning.

77 1 0
singhsidhukuldeep
contextual-bandits-algos

A comprehensive Python library implementing a variety of contextual and non-contextual multi-armed bandit algorithms—including LinUCB, Epsilon-Greedy, Upper Confidence Bound (UCB), Thompson Sampling, KernelUCB, NeuralLinearBandit, and DecisionTreeBandit—designed for reinforcement learning applications

43 13 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology