Skip to main content

JASON-style AgentSpeak for Python.

Project description

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

Setup

pip install agentspeak

Hello world

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

Release history Release notifications

Download files

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

Files for agentspeak, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size agentspeak-0.1.0-py3-none-any.whl (58.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size agentspeak-0.1.0.tar.gz (54.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page