Skip to main content

Smart Python Agent Development Environment

Project description

SPADE

https://img.shields.io/pypi/v/spade.svg https://img.shields.io/pypi/pyversions/spade.svg Continuous Integration Status Code Coverage Status Documentation Status https://img.shields.io/pypi/format/spade.svg

Smart Python Agent Development Environment

A multi-agent systems platform written in Python and based on instant messaging (XMPP).

Develop agents that can chat both with other agents and humans.

Features

  • Multi-agent platform based on XMPP

  • Presence notification allows the system to know the current state of the agents in real-time

  • Python >=3.6

  • Asyncio-based

  • Agent model based on behaviours

  • Supports FIPA metadata using XMPP Data Forms (XEP-0004: Data Forms)

  • Web-based interface

  • Use any XMPP server

Plugins

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

3.1.0 (2019-03-22)

  • Agents now run in a single event loop managed by the container.

  • Behaviors can be waited for using the “join” method.

  • To check if a behaviours is done you can now use the “is_done” method.

  • The “setup” method is now a coroutine.

  • New “quit_spade” helper to stop the whole process.

  • The “start” and “stop” methods change depending on the context, since it is the container who will properly start or stop the agent. They return a coroutine or a future depending on whether they are called from a coroutine or a synchronous method.

3.0.9 (2018-10-24)

  • Added raw parameter to allow raw web responses.

  • Changed default agent urls to the “/spade” namespace to avoid conflicts.

3.0.8 (2018-10-02)

  • Added a container mechanism to speedup local sends.

  • Added performance example.

  • Improved API doc.

  • Added container tests.

3.0.7 (2018-09-27)

  • Fixed bug when running FSM states.

  • Improved Message __str__.

  • Fixed bug when thread is not defined in a message.

  • aioxmpp send method is now in client instead of stream.

3.0.6 (2018-09-27)

  • Added statement to relinquish the cpu at each behaviour loop.

  • Message Thread is now stored as metadata for simplicity.

3.0.5 (2018-09-21)

  • Added JSON responses in web module.

  • Some improvements in aiothread management.

3.0.4 (2018-09-20)

  • Added coroutines to start agents from within other agents.

  • Improved API doc format.

3.0.3 (2018-09-12)

  • Rename internal templates to avoid conflicts.

  • Added API doc.

  • Minor bug fixes.

3.0.2 (2018-09-12)

  • Fixed presence notification updates.

  • Fixed FSM graphviz visualization.

  • Raise AuthenticationFailure Exception when user is not registered or user or password is wrong.

  • Import init improvements.

  • Attribute auto_register is now default True.

  • Improved documentation.

  • Other minor fixes.

3.0.1 (2018-09-07)

  • Minor doc fixings and improvements.

3.0.0 (2017-10-06)

  • Started writting 3.0 version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spade-3.1.0.tar.gz (870.9 kB view details)

Uploaded Source

Built Distribution

spade-3.1.0-py2.py3-none-any.whl (33.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file spade-3.1.0.tar.gz.

File metadata

  • Download URL: spade-3.1.0.tar.gz
  • Upload date:
  • Size: 870.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.2

File hashes

Hashes for spade-3.1.0.tar.gz
Algorithm Hash digest
SHA256 eac4db15aa6b5c598f4a242662dab984428f50201518b2f4484330914aa0dc6a
MD5 2668ef06995652a9edbf713eb8539063
BLAKE2b-256 afdf616397b51ccc65d89a52a499c729cd6a31c883ebbf6b91cc40ee28a04f7a

See more details on using hashes here.

File details

Details for the file spade-3.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: spade-3.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.2

File hashes

Hashes for spade-3.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 491feafba43fd65f32cb1d0245d88c68a4bf0ad8a6b9128ca1d3019f28155194
MD5 54f35022bfad43e455849e1dd6a8f30f
BLAKE2b-256 b127b6faa4e46ea7778285fd2ef535a4cb57af7488d4687b5b34433523711807

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page