Skip to main content

Agents Assembly Translator

Table of Contents

About

A target agnostic translator for Agents Assembly. The translator can be tested live on Agents Assembly website. It is a part of the Agents Assembly ecosystem. Other applications are:

Agents Assembly

Documentation of Agents Assembly can be read here.

Getting Started

Prerequisites

Python 3.10

Installation

The translator package can be installed by running:

pip install aasm

Alternatively, you can download this repository. No additional dependencies are required.

Usage

You can run the translator as a package. To translate agent.aasm to SPADE, run:

python -m aasm.translate agent.aasm

For more usage information, run:

python -m aasm.translate --help

Structure

  • generating
    • code.py - generated code
    • python_code.py - Python code base class
    • python_graph.py - Python graph code generation from the intermediate representation
    • python_spade.py - SPADE agent code generation from the intermediate representation
  • intermediate
    • action.py
    • agent.py
    • argument.py - arguments used in instructions
    • behaviour.py
    • block.py - block of code representation
    • declaration.py - declarations used in actions
    • graph.py
    • instruction.py - instructions used in actions
    • message.py
  • parsing
    • parse.py - parsing environment from Agents Assembly file
    • op/ - Agents Assembly operations
    • state.py - state definition used for the parsing process
  • preprocessor
    • constants.py - constants used in the preprocessor
    • macro.py - macro definitions used in the preprocessor
    • preprocessor_item.py - preprocessor base item
    • preprocessor.py
  • utils
    • exception.py
    • validation.py
    • iteration.py
  • translate.py - entrypoint

Contributing

Please follow the contributing guide if you wish to contribute to the project.

Metadata

Release files for aasm 0.1.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 aasm 0.1.9
File Size Uploaded
aasm-0.1.9.tar.gz 84.7 kB Details

Built distribution (wheel)

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

Total release size: 155.2 kB

Release files / aasm-0.1.9.tar.gz

Download URL aasm-0.1.9.tar.gz
Size 84.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a2c981c3f17600849b005f4f8d2dc2a2a94bce404233925643793aadc2f3026c
BLAKE2b-256 checksum
How to use checksums
14166d2063c640b216348e34a624402116e52ab336f2269a30c0669d4a136703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / aasm-0.1.9-py3-none-any.whl

Download URL aasm-0.1.9-py3-none-any.whl
Size 70.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f59b74cdf1daedd816be821f62c652195e09172187664697bd698775dd977fbc
BLAKE2b-256 checksum
How to use checksums
71ca2617bf2493edfb70b0fcb6cca888c661e770dca21653df734a8b8ff66759
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.58

2 release files

0.0.57

2 release files

0.0.56

2 release files

0.0.55

2 release files

0.0.51

2 release files

0.0.50

3 release files

0.0.49

2 release files

0.0.48

2 release files

0.0.47

2 release files

0.0.46

2 release files

0.0.30

2 release files

0.0.29

2 release files

0.0.28

2 release files

0.0.27

2 release files

0.0.26

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.22

2 release files

0.0.21

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

1 release file

0.0.0

1 release file

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