All user-authored behaviors, regardless of language, are composable. This means they can be combined in any fashion with any number of others behaviors.
All user-authored behaviors can be shared on hIndex. Behaviors published in this way can be mapped to schemas for easy discovery during the agent creation process, and used in a simulation by anybody with a HASH account.
You can share by right-clicking on a behavior you've created in the Simulation Files sidebar and selecting Release Behavior to Index. This will create a fork (copy) of the current project, and convert that fork into a Behavior project.
When you want to edit this behavior, create new releases, or add more behaviors to each release, you can do so in the forked project. You can find it by searching on your Profile page, or by clicking in the banner when you're looking at the shared behavior's file in any simulation.
You can import a behavior by searching in the Add to Project sidebar, clicking on it and pressing the Add to Project button.
Files you import into projects (whether they be datasets, behaviors, or other snippets of code) will not be automatically updated without action on your part. This ensures that breaking changes are not introduced to your simulation. You can update a behavior at any time by clicking the "update" file banner shown on any behavior or dataset which is outdated.
Whether you're exploring auction dynamics, supply chain risk, or simply hoping to make your agent self-destruct, there are a broad range of pre-built behaviors readily accessible on hIndex, and we'd love you to contribute your own.
When publishing components such as behaviors and datasets we encourage you to match these to the types of Things to which they might relate. This type of "schema-mapping" enables you in the future (or other modelers unfamiliar with your work) to quickly identify components as relevant to particular types of actions or agents, dramatically speeding up the process of future model creation.