Skip to main content

Jason-style AgentSpeak for Python

https://img.shields.io/pypi/v/agentspeak.svg https://img.shields.io/pypi/pyversions/agentspeak.svg GPL 3 License Downloads https://img.shields.io/pypi/format/agentspeak.svg

A Python-based interpreter for the agent-oriented programming language JASON.

python-agentspeak is a Python-based interpreter for the agent-oriented programming language JASON. This library makes it easy to create and manage intelligent agents, offering syntax and functionalities similar to JASON in a Python environment.

Key Features

  • Jason-style AgentSpeak interpretation

  • Easy integration with existing Python code

  • Support for complex agent constructions

Setup

pip install agentspeak

Requirements

  • Python 3.6 or higher

  • Additional dependencies are automatically installed

Usage example

!hello_world.

+!hello_world <-
  .print("Hello world!").

Usage

Run a standalone agent program:

$ python -m agentspeak examples/hello_world.asl

Run an interactive console:

$ python -m agentspeak

See examples/embedded for an example that interfaces with custom Python code.

Jason compability

python-agentspeak should be mostly equivalent to Jason.

  • Plan annotations are ignored as of yet.

  • Standard library does not yet contain syntactic transformations with {begin ...} and {end}.

  • Standard library does not yet contain introspective and plan-manipulation actions.

  • Jason 2.0 fork join operators not yet supported.

  • Literals are only comparable if they have the same signature.

Metadata

Release files for agentspeak 0.2.2

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

Source distribution (sdist)

Source distribution for agentspeak 0.2.2
File Size Uploaded
agentspeak-0.2.2.tar.gz 59.6 kB Details

Built distribution (wheel)

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

Total release size: 121.3 kB

Release files / agentspeak-0.2.2.tar.gz

Download URL agentspeak-0.2.2.tar.gz
Size 59.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7c7fcf689fd54460597be1798ce11535f42a60c3d79af59381af3e13ef7a41bb
BLAKE2b-256 checksum
How to use checksums
d0a3f8e9292cfd47aa5558f4578c498ca12c068a3a1d60ddfd0af13a87c1e47a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release files / agentspeak-0.2.2-py3-none-any.whl

Download URL agentspeak-0.2.2-py3-none-any.whl
Size 61.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b454bc0adf63cb0d73fb4a3a9a489e7d892d5fbf17f750de532670736c0c4dd
BLAKE2b-256 checksum
How to use checksums
03b5e95cbd9d9e999ac8dc4e0bb7a940112a2751cf98880b4ff0626e53d14249
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

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