Behavioural Types for Local-First Software (Artifact)

Authors Roland Kuhn , Hernán Melgratti , Emilio Tuosto

Thumbnail PDF

Artifact Description

  • Filesize: 0.58 MB
  • 5 pages

Document Identifiers

Author Details

Roland Kuhn
  • Actyx AG, Kassel, Germany
Hernán Melgratti
  • University of Buenos Aires, Argentina
  • Conicet, Buenos Aires, Argentina
Emilio Tuosto
  • Gran Sasso Science Institute, L'Aquila, Italy


The authors also thank Daniela Marottoli for her help in the initial development of this artifact.

Cite AsGet BibTex

Roland Kuhn, Hernán Melgratti, and Emilio Tuosto. Behavioural Types for Local-First Software (Artifact). In Special Issue of the 37th European Conference on Object-Oriented Programming (ECOOP 2023). Dagstuhl Artifacts Series (DARTS), Volume 9, Issue 2, pp. 14:1-14:5, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2023)


Artifact Evaluation Policy

The artifact has been evaluated as described in the ECOOP 2023 Call for Artifacts and the ACM Artifact Review and Badging Policy


This artifact supports the theory of swarm protocols presented in the related article. Specifically, following the top-down development typical of choreographic approaches, our artifact enables the specification of systems of peers communicating through an event notification mechanism from a global viewpoint which can then be projected to local specifications of peers, rendered as machines. To the best of our knowledge, ours is the first implementation of a behavioural type framework supporting the application of the principles of local-first software for network devices which collaborate on a common task while retaining full autonomy. The artifact can be integrated in the Actyx industrial platform; this proves this work a viable step towards reasoning about local-first and peer-to-peer software systems.

Subject Classification

ACM Subject Classification
  • Theory of computation → Distributed computing models
  • Software and its engineering → Distributed systems organizing principles
  • Software and its engineering → Distributed programming languages
  • Distributed coordination
  • local-first software
  • behavioural types
  • publish-subscribe
  • asynchronous communication


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Roland Kuhn, Hernán Melgratti, and Emilio Tuosto. Behavioural types for local-first software, 2023. To appear in ECOOP. URL:
  2. YousefED. typescript-json-schema library, 2015-2023. URL:
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail