Need help with sarl?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

114 Stars 36 Forks Apache License 2.0 3.0K Commits 63 Opened issues


SARL Agent-Oriented Programming Language

Services available


Need anything else?

Contributors list

= SARL Agent Programming Language :toc: right :toc-placement!: :hide-uri-scheme:


SARL is a general-purpose agent-oriented language,

SARL aims at providing the fundamental abstractions for dealing with concurrency, distribution, interaction, decentralization, reactivity, autonomy and dynamic reconfiguration. These high-level features are now considered as the major requirements for an easy and practical implementation of modern complex software applications. We are convinced that the agent-oriented paradigm holds the keys to effectively meet this challenge.

Considering the variety of existing approaches and meta-models in the field of agent-oriented engineering and more generally multi-agent systems, our approach remains as generic as possible and highly extensible to easily integrate new concepts and features. The language is platform- and architecture-independent.

However, we provide a first set of tools to support its execution based on the new version 2.0 of the Janus (see platform, but it can be linked with other existing agent platforms and frameworks.


image:[link=] image:[link=] image:[link=]

image:[link=] image:[link=] image:[link=] image:[link=]


image:[link=] image:[link=]

[align="center",width="40%",frame="topbot",cols="2^",options="header"] |========================== 2+| Build Status | *Linux footnote:[Linux 4.15.0-102, OpenJDK 1.8, Maven 3.6.2]** | image:[link=] | Windows footnote:[Windows Server 2019, version 10.0, OpenJDK 1.8, Maven 3.6.2] | image:[link=] | OSX footnote:[OSX 10.12, Xcode 8.3, OracleJDK 1.8.0_112, Maven 3.6.3] | image:[link=] |==========================


== 1. Requirements

  • Java Development Toolkit (JDK) between 1.8 and 11.
  • You may encountering issues if your are using Java 12 or higher with SARL.

== 2. Using SARL

=== 2.1. Recommendations

For making your experience with SARL the best, we recommend you:

  • to enable the assertions at development time (with the
    command line option).

=== 2.2. Use the stable version with Maven

The lastest stable version of SARL is available on link:[Maven Central]. Consequently, you could directly include the SARL module into the Maven dependencies of your project:


Please, replace Version

in the previous snipset by the number of the version you want to use.

=== 2.3. Use of the development version with Maven

New features, enhancements and bug fixes are available in the SNAPSHOT (development) version of SARL. For using this version, you must add the Maven Repository Server of SARL in your pom file:

        SARL Snapshots
        SARL Snapshots

=== 2.4. Compile SARL code with Maven

For compiling SARL source files with Maven, you should use the provided plugin:

. It invokes the SARL and Java compilers with a simpler interface than the standard Xtext maven plugin. For using the
, you should add in your pom file:


Please, replace Version

in the previous snipset by the number of the version you want to use.

CAUTION: Do not forget to set the

flag to

=== 2.5. Syntax highlighting with other tools

Several style specifications are provided for syntax highlighting in third party tools. Style specifications are provided for:

  • link:./formatting-styles/textmate/sarl.tmLanguageAtom
  • link:./formatting-styles/source-highlight/sarl.lang[GNU source-highlight]
  • link:./formatting-styles/prettify/lang-sarl.js[Google Prettify]
  • link:./formatting-styles/gtk/sarl.langGtk source view
  • LaTeX: ** LaTeX listing: link:./formatting-styles/latex/sarl-listing.sty[monochrom], link:./formatting-styles/latex/sarl-colorized-listing.sty[color] ** link:./formatting-styles/latex/sarl-beamer-listing.sty[LaTeX Beamer]
  • link:./formatting-styles/pygments/sarlexer/[Pygments]
  • link:./formatting-styles/textmate/sarl.tmLanguageSublime Text
  • link:./formatting-styles/textmate/sarl.tmLanguageTextMate
  • link:./formatting-styles/vim/sarl.vim[Vim]

== 3. P2 Repository

A P2 repository is set up and accesible at the address:

== 4. Issues

Issues related to SARL are tracked on link:[GitHub] You must use this issue tracker to report and follow your issues.

Additionally, you could have a look on the SARL developers' working plan on link:[Huboard].

== 5. Contributions

Any contribution to the SARL is welcome. Please read the link:./CONTRIBUTING.adoc[guidelines for contributors].

== 6. Authors and Contributors

  • image:[width="50px",link=] Antoine Bartuccio, fireworks and Sierpinski fractal examples.
  • image:[width="50px",link=] Greg Bowering, fixes for localization support within the fireworks example.
  • image:[width="50px",link=] Mohamed Ezzat, code cleaning and optimization.
  • image:[width="50px",link=] Thomas Farrenkopf, documentation contributor.
  • image:[width="50px",link=] James Foster, documentation contributor.
  • image:[width="50px",link=] link:[Stéphane GALLAND], founder, original and active author.
  • image:[width="50px",link=] link:[Nicolas GAUD], founder, original and active author.
  • image:[width="50px",link=] Jeremie JOST, documentation contributor.
  • image:[width="50px",link=] Ludovico de NITTIS, documentation contributor.
  • image:[width="50px",link=] Thomas PIOTROWSKI, maven configuration.
  • image:[width="50px",link=] link:[Sebastian RODRIGUEZ], founder, original and active author.

== 7. License of SARL

SARL is distributed under the link:./LICENSE[Apache v2 license], and is copyrigthed to the original authors and the other authors, as expressed in the link:./NOTICE[NOTICE].

== 8. Success Stories

The following projects have sucessfully used SARL:

  • link:[Jaak Simulation Library]
  • link:[SARL Elevator Simulator Controller]

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.