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:

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.8.9

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.8.9
File Size Uploaded
agentlib-0.8.9.tar.gz 4.9 MB Details

Built distribution (wheel)

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

Total release size: 5.0 MB

Release files / agentlib-0.8.9.tar.gz

Download URL agentlib-0.8.9.tar.gz
Size 4.9 MB
Tags Source
SHA-256 checksum
How to use checksums
c138b7f08d485b5ca2a6043e5e0b5de4fd6d12ad095e4a414b7665c11db82e74
BLAKE2b-256 checksum
How to use checksums
9cfce8e8707044ba04ade8a029a3f96bd1b190b750ca03f4837c7ea9c3fa3fe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

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

Download URL agentlib-0.8.9-py3-none-any.whl
Size 96.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
589b58b9881df26ba6bf31ce4f8347386b494be032ac92c90620df98d1d2d39d
BLAKE2b-256 checksum
How to use checksums
d9d7a75ca83a97505526c7df789394faba9981d4ffd6c417c87184d92e7dfd79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.8.9 This release

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.2

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

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