Star on GitHubStar3.8k stars

Tool

AALpy

General-purpose Python automata-learning library that infers deterministic, non-deterministic, stochastic and pushdown models of black-box systems from active queries or passive traces. Its README links a separate Bluetooth Low Energy study whose repository reports learned connection and legacy-pairing state machines; message formats are not inferred.

Targets
Protocol
Category
Protocol analysis tools
Relationship
Foundation tool
Sources reviewed
Evidence level
L2 reproduction without a usable environment
Stars
257
Last commit
2026-11-19
Language
Python

GitHub data as of 2026-12-01

Copy as MarkdownView JSONCite

Evidence

Observed
Code, documentation and a download method observed; no demo found.
Checked
2026-11-07

How evidence levels are assigned

Requirements & limits

  • Latest PyPI release: 1.6.2, uploaded 2026-08-03, requiring Python >=3.6. The reviewed master branch identifies itself as unreleased 2.0.0 and requires Python 3.10+; upstream says 1.6.2 is the last release for older Python versions.
  • Active learning needs a user-written system-under-learning adapter, an input alphabet and an equivalence oracle; passive learning needs traces in the documented format. Learned models are bounded by the chosen alphabet, abstraction and oracle.
  • pydot is the only Python dependency; visualizing models needs Graphviz on the PATH. MIT-licensed.
  • The ble-learning study repository is separate: it needs an nRF52840 dongle or development kit flashed with the supplied SweynTooth-derived firmware, Python 3.9 and its listed libraries, and it has no repository license file.

Cite

BibTeX

@misc{aalpy,
  title = {{AALpy}},
  howpublished = {\url{https://github.com/DES-Lab/AALpy}},
  url = {https://github.com/DES-Lab/AALpy},
  urldate = {2026-10-17},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/aalpy/}}
}

Plain text

AALpy. https://github.com/DES-Lab/AALpy (accessed 2026-10-17). Awesome REA entry: https://awesomerea.org/resources/aalpy/

Useful? Star Awesome REA on GitHub3.8k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · DES-Lab/AALpy · Revision 335c50a
  2. pyproject.toml GitHub · DES-Lab/AALpy · Revision 335c50a
  3. LICENCE.txt GitHub · DES-Lab/AALpy · Revision 335c50a
  4. https://github.com/DES-Lab/AALpy/releases/tag/v.1.6.2
  5. https://pypi.org/project/aalpy/1.6.2/
  6. README.md GitHub · apferscher/ble-learning · Revision febd774

More in Protocols

All 737 entries in Protocols

↑↓ move↵ open⌘↵ new tab