ASTRA examples

Start with Hello World, then choose an example for the language feature or design problem you want to explore. Programming with ASTRA explains the concepts used throughout these projects.

Example

What to explore

Hello World

Startup, output and ending a program

Thermostat

Reactive behaviour and a control loop

Parcel Delivery

Goals, plans and delivery decisions

Shared Charging Station

Coordinating access to a shared resource

String Assembler

Cooperating agents and ordered assembly

Bully Election Algorithm

Electing a coordinator through messages

Token Ring Election Benchmark

Election and measurement across a ring of agents

Coordination without LLMs

Nine distributed coordination patterns with ANP, A2A and MAMS variants

Java Module: Calculator

Connecting Java functionality to an agent

Java GUI

Linking agent behaviour to a Java interface