Skip to main content
drawing

License Coverage pylint documentation

This is a collection of base classes for the implementation of agents in Python. The original purpose of this library is the execution of distributed simulations and controllers for energy systems, however it is not limited to any specific field. You can find the motivation, core principles and several exemplary applications in the associated journal paper and in the documentation.

To get started, please check out our examples.

Installation

To install the agentlib with minimal dependencies, run:

pip install agentlib

To install with full dependencies (recommended), run:

pip install agentlib[full]

If you want to work on the agentlib, first clone it, go its directory and then install it in editable mode:

pip install -e .[full]

Optional Dependencies

AgentLib has a number of optional dependencies, ranging from additional features to performance improvements:

  • fmu: Support simulation of FMU models (https://fmi-standard.org/).
  • scipy: Support simulation of linear state space models, based on scipy.
  • mqtt: Support communication between agents through the mqtt protocol.
  • plot: Installs matplotlib, allows to plot the result of examples.
  • orjson: Faster json library, improves performance when using network communicators.
  • fuzz: Improves error messages when providing wrong configurations.

clonemap: Support the execution of agents and their communication through clonemap. As clonemapy is not available through PYPI, please install it from source, or through the AgentLib's requirements.txt .

Plugins

AgentLib supports extension, especially in the form of additional modules through plugins. Official Plugins available are:

  • AgentLib_MPC: Provides modules for model predictive control.
  • AgentLib_FlexQuant: Provides a flexibility quantification framework for energy systems based on AgentLib_MPC.
  • AgentLib_FIWARE: Provides communicators for the IoT Platform FIWARE.

Referencing the AgentLib

To cite the AgentLib, please use the following paper:

Eser, Steffen and Storek, Thomas and Wüllhorst, Fabian and Dähling, Stefan and Gall, Jan and Stoffel, Phillip and Müller, Dirk, A Modular Python Framework for Rapid Development of Advanced Control Algorithms for Energy Systems. Available at SSRN: https://doi.org/10.1016/j.apenergy.2025.1254969

This project is licensed under the BSD 3 Clause License - see the LICENSE file for details.

Acknowledgments

We gratefully acknowledge the financial support by Federal Ministry \ for Economic Affairs and Climate Action (BMWK), promotional references 03ET1495A and 03EN1006A.

BMWK

Metadata

Release files for agentlib 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentlib 0.9.0
File Size Uploaded Provenance Actions
agentlib-0.9.0.tar.gz 4.9 MB Without provenance Details for agentlib-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentlib 0.9.0
File Interpreter ABI Platform Actions
agentlib-0.9.0-py3-none-any.whl Python 3 none any Details for agentlib-0.9.0-py3-none-any.whl

Total release size: 5.0 MB

Release files / agentlib-0.9.0.tar.gz

Download URL agentlib-0.9.0.tar.gz
Size 4.9 MB
Tags Source
SHA-256 checksum
How to use checksums
ddfcf1ba6140bd7b8ce9dc09c6ce96b96394a2b2050af6643bceb6e05810ea42
BLAKE2b-256 checksum
How to use checksums
64282ec301219bf7123fca267861348f24d4ac021206816c0a17f1d2f122892b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.15

Release files / agentlib-0.9.0-py3-none-any.whl

Download URL agentlib-0.9.0-py3-none-any.whl
Size 102.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28403c4cef952b03c2fe3c2eaa8cdadfc21d6517103197b26b683891bfcca0d1
BLAKE2b-256 checksum
How to use checksums
8418f921fb251393bfd8844046d94d00ab0ec612c2d3a98d199464f15d9abc1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.15

Security for agentlib 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page