$npx skillfedfor your agent

pyAgrum-nightly

Bayesian networks and other Probabilistic Graphical Models.

With conditionsPyPI LibrariesReleased Aug 2026310.0K downloads / moLGPL-3.0-only OR MITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-macosx_10_15_x86_64.whl · pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-macosx_11_0_arm64.whl · pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-manylinux2014_aarch64.whl
v3.0.0.9.dev202608141786444173 · released 2026-08-14 · Python >=3.10 · 4 runtime deps: numpy, matplotlib, pydot, scikit-learn

Yes, if you need Bayesian Networks or probabilistic graphical models in Python. Active maintenance, no known vulnerabilities, dual licensing (LGPL/MIT) gives flexibility, and broad platform support. Caveat: this is a nightly build (released today), so verify stability for your use case; production users may prefer the stable release track.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • This is a nightly build; consider testing before production deployment.
  • Medium install friction due to compiled wheels; nightly build released today (0 days since release).

License · maintenance · safety

LGPL-3.0-only OR MIT (unclear) — Dual-licensed under LGPLv3 and MIT at your choice. License treatment marked unclear in metadata, but description states you can integrate into your software under either license or both. No GPL contamination if you use only the pyAgrum interface, not native third-party interfaces.

last release 2026-08-14 (0 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 310,025 downloads/mo, #7,749 on PyPI

Verify before relying

pip install pyagrum-nightly

import pyagrum as gum
bn = gum.fastBN("w<-r<-c{Yes|No}->s->w")
bn.cpt("c").fillWith([0.5, 0.5])
ie = gum.LazyPropagation(bn)
ie.makeInference()
print(ie.posterior("w"))
  • Whether the nightly build is suitable for production use or intended for testing only
  • Specific performance characteristics or scalability limits for large graphical models
  • Whether all four runtime dependencies (numpy, matplotlib, pydot, scikit-learn) are required or optional
Same gist for agents: .md · .json

What it is and what it does

pyAgrum wraps a C++ probabilistic graphical model library and exposes it through a Python API for Bayesian Networks and related models. It lets you construct networks by adding nodes and arcs, populate conditional probability tables, save and load models in standard formats (BIF), and run inference algorithms to compute posterior probabilities given evidence.

The library is designed for researchers and practitioners in AI, statistics, and decision analysis who need to model uncertainty and reason under incomplete information. It depends on numpy for numerical operations, matplotlib for visualization, pydot for graph layout, and scikit-learn for machine learning integration. The package supports modern Python versions (3.10–3.14) and runs on macOS, Linux, and Windows.

Use it for

  • Build and query Bayesian networks to model causal relationships and perform probabilistic inference with hard or soft evidence
  • Learn network structure and parameters from data using the library's training capabilities
  • Diagnose faults or predict outcomes in systems where uncertainty and conditional dependencies matter
  • Visualize probabilistic graphical models and export them to standard formats for sharing or downstream analysis
  • Integrate probabilistic reasoning into financial, insurance, or risk-assessment applications

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need Bayesian Networks or probabilistic graphical models in Python.

Active maintenance, no known vulnerabilities, dual licensing (LGPL/MIT) gives flexibility, and broad platform support. Caveat: this is a nightly build (released today), so verify stability for your use case; production users may prefer the stable release track.

Install

pyagrum-nightly on PyPI

Before you install

Medium install friction due to compiled wheels; nightly build released today (0 days since release). Active maintenance status. Requires Python 3.10 or later. Pre-built wheels available for macOS (x86_64, arm64), Linux (x86_64, aarch64), and Windows.

Requires Python 3.10 or later. This is a nightly build; consider testing before production deployment.

License in practice

Dual-licensed under LGPLv3 and MIT at your choice. License treatment marked unclear in metadata, but description states you can integrate into your software under either license or both. No GPL contamination if you use only the pyAgrum interface, not native third-party interfaces.

Quickstart

pip install pyagrum-nightly

import pyagrum as gum
bn = gum.fastBN("w<-r<-c{Yes|No}->s->w")
bn.cpt("c").fillWith([0.5, 0.5])
ie = gum.LazyPropagation(bn)
ie.makeInference()
print(ie.posterior("w"))

Verify before relying

  • Whether the nightly build is suitable for production use or intended for testing only
  • Specific performance characteristics or scalability limits for large graphical models
  • Whether all four runtime dependencies (numpy, matplotlib, pydot, scikit-learn) are required or optional

Package facts

LicenseLGPL-3.0-only OR MIT unclear
Python supportSupports the current Python release >=3.10
Install frictionMedium. Platform-specific wheel
Runtime dependencies
4 packages
numpymatplotlibpydotscikit-learn
MaintenanceActively maintained 0 days since the last release
First released
Downloads310,025 / month, #7,749 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)License :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Information AnalysisTopic :: Scientific/Engineering :: MathematicsTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-macosx_10_15_x86_64.whl; pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-macosx_11_0_arm64.whl; pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-manylinux2014_aarch64.whl; pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-manylinux2014_x86_64.whl; pyagrum_nightly-3.0.0.9.dev202608141786444173-cp310-abi3-win_amd64.whl

Tags

Capabilities
bayesian networks pythonprobabilistic graphical modelsbayesian inference librarygraphical model learningprobabilistic reasoningbelief network toolsgraphical model inference
Topics
bayesian-networksprobabilistic-inferencegraphical-models
PyPI keywords
probabilitiesprobabilistic-graphical-modelsinferencediagnosis

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “bayesian networks python”

  • pyAgrum-nightlypyAgrum is a Python library for creating, learning, and performing…
  • pgmpypgmpy provides data structures and algorithms for causal discovery,…
  • tensorflow-probabilityTensorFlow Probability provides probabilistic modeling, statistical…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also pgmpy · problog · pymc3 · pymc · tfp-nightly · pyro-ppl · pyjpt · botorch · tensorflow-probability