# Docs - Libraries - [Browse libraries](/docs/libs) - **Product Libraries** - [SemType Type Editor](/docs/libs/semtype-type-editor) - [SemType Entity Editor](/docs/libs/semtype-entity-editor) - [Brunch TypeScript](/docs/libs/brunch-typescript) - [Petrinaut TypeScript](/docs/libs/petrinaut-typescript) - [Petrinaut Core](/docs/libs/petrinaut-core) - [Block Protocol Graph](/docs/libs/blockprotocol-graph) - [Block Protocol Type System](/docs/libs/blockprotocol-type-system) - **Dev Utilities** - [error-stack](/docs/libs/error-stack) - [darwin-kperf](/docs/libs/darwin-kperf) - [darwin-kperf-criterion](/docs/libs/darwin-kperf-criterion) - [darwin-kperf-events](/docs/libs/darwin-kperf-events) - [darwin-kperf-sys](/docs/libs/darwin-kperf-sys) - **Design Utilities** - [Refractive](/docs/libs/refractive) - [DS Components](/docs/libs/ds-components) - [DS Helpers](/docs/libs/ds-helpers) - [DS Icons](/docs/libs/ds-icons) - [DS Theme](/docs/libs/ds-theme) - HASH - Get Started - [Get Started](/docs) - Setting up HASH - [Setting up HASH](/docs/get-started/setup) - Hosted HASH - [Hosted HASH](/docs/get-started/setup/hosted) - Local HASH - [Local HASH](/docs/get-started/setup/local) - Self-hosted HASH - [Self-hosted HASH](/docs/get-started/setup/self-hosted) - [Using HASH](/docs/get-started/use-cases) - API - [API](/docs/api) - Entities - [Entities](/docs/api/entities) - [Create entities](/docs/api/entities/create-entities): Creates the entities in one transaction: either all of them are created or none. Returns them in the order of the request. - [Get an entity](/docs/api/entities/get-entity): Returns the current edition of the entity: its ID, entity types, provenance and properties, with the data type and provenance of each value. `propertyMetadata` leaves out a value without a stored data type, and any list that contains such a value. - [Query entities](/docs/api/entities/query-entities): Returns the current edition of each entity that the caller may view, that is not archived, and that meets `filter` if the request gives one. The entities come a page at a time, in a stable order. The `Link` header names the next page. - Types - [Types](/docs/api/types) - Files - [Files](/docs/api/files) - Processes - [Processes](/docs/api/processes) - Environments - [Environments](/docs/api/environments) - Organization - [Organization](/docs/api/organization) - Blocks - [Blocks](/docs/blocks) - [Developing Blocks](/docs/blocks/develop) - [Testing Blocks](/docs/blocks/testing) - Flows - [Flows](/docs/flows) - [Process Mining](/docs/flows/process-mining) - [Process Simulation](/docs/flows/process-simulation) - [Process Automation](/docs/flows/process-automation) - Contributing - [Contributing](/docs/contributing) - [Architecture](/docs/contributing/architecture) - hgres - Get Started - [Get Started](/docs/hgres) - [Setting up hgres](/docs/hgres/get-started/setup) - SemType - Get Started - [Get Started](/docs/semtype) - [Adopting SemType](/docs/semtype/get-started/setup) - Usage - [Usage](/docs/semtype/usage) - [The type system](/docs/semtype/usage/type-system) - Libraries - [Libraries](/docs/semtype/libraries): React components and supporting libraries for working with SemType data - **Libraries** - [Type Editor Library](/docs/libs/semtype-type-editor) - [Entity Editor Library](/docs/libs/semtype-entity-editor) - Petrinaut - Get Started - [Get Started](/docs/petrinaut) - [Setting up Petrinaut](/docs/petrinaut/get-started/setup) - User Guide - [User Guide](/docs/petrinaut/user-guide) - [Drawing a Net](/docs/petrinaut/user-guide/drawing-a-net) - [Petri Net Extensions](/docs/petrinaut/user-guide/petri-net-extensions) - [Useful Patterns](/docs/petrinaut/user-guide/useful-patterns) - [Simulation](/docs/petrinaut/user-guide/simulation) - [Scenarios](/docs/petrinaut/user-guide/scenarios) - [Ad-hoc Scenarios](/docs/petrinaut/user-guide/ad-hoc-scenarios) - [Experiments](/docs/petrinaut/user-guide/experiments) - [Simulation panels](/docs/petrinaut/user-guide/simulation-panels) - [Actual Mode](/docs/petrinaut/user-guide/actual-mode) - [Embedded Preview](/docs/petrinaut/user-guide/preview) - [AI Assistant](/docs/petrinaut/user-guide/ai-assistant) - [Code Editor](/docs/petrinaut/user-guide/code-editor) - [User Settings](/docs/petrinaut/user-guide/visual-settings) - [Compilation Output](/docs/petrinaut/user-guide/compilation-output) - [Examples](/docs/petrinaut/user-guide/examples) - Usage - [Usage](/docs/petrinaut/usage) - [Basic Features](/docs/petrinaut/usage/basic-features) - [Creation](/docs/petrinaut/usage/creation) - [Verification](/docs/petrinaut/usage/verification) - [Simulation](/docs/petrinaut/usage/simulation) - Reference - [Reference](/docs/petrinaut/reference) - [Glossary](/docs/petrinaut/reference/glossary) - **Libraries** - [TypeScript Library](/docs/libs/petrinaut-typescript) - [Core Library](/docs/libs/petrinaut-core) - Brunch - Brunch - [Brunch](/docs/brunch) - [Setting up Brunch](/docs/brunch/get-started/setup) - Usage - [Usage](/docs/brunch/usage) - [Run guide](/docs/brunch/usage/run-guide) - [How it works](/docs/brunch/usage/how-it-works) - **Libraries** - [TypeScript Library](/docs/libs/brunch-typescript) - Block Protocol - 0.4 - [Introduction](/docs/block-protocol) - Blocks - [Blocks](/docs/block-protocol/blocks) - [Using Blocks](/docs/block-protocol/blocks/environments) - [Developing Blocks](/docs/block-protocol/blocks/develop) - [Types](/docs/block-protocol/types) - [Services](/docs/block-protocol/services) - Hub - [Hub](/docs/block-protocol/hub) - [API](/docs/block-protocol/hub/api) - [FAQs](/docs/block-protocol/faq) - **Libraries** - [Graph Library](/docs/libs/blockprotocol-graph) - [Type System Library](/docs/libs/blockprotocol-type-system) - 0.3 - [Introduction](/docs/block-protocol/0.3) - Blocks - [Blocks](/docs/block-protocol/0.3/blocks) - [Using Blocks](/docs/block-protocol/0.3/blocks/environments) - [Developing Blocks](/docs/block-protocol/0.3/blocks/develop) - [Types](/docs/block-protocol/0.3/types) - [Services](/docs/block-protocol/0.3/services) - Hub - [Hub](/docs/block-protocol/0.3/hub) - [API](/docs/block-protocol/0.3/hub/api) - [FAQs](/docs/block-protocol/0.3/faq) - hCore - [hCore](/docs/hcore): Getting started with hCore simulations - Creating Simulations - [Creating Simulations](/docs/hcore/create) - [Introduction](/docs/hcore/create/abm): Learn the basic terminology - Agents - [Agents](/docs/hcore/create/agents): The beating hearts of agent-based models - [State](/docs/hcore/create/agents/state) - [Context](/docs/hcore/create/agents/context) - [Initializing Agents](/docs/hcore/create/agents/initial-state): Where simulated life begins - [Programmable Initialization](/docs/hcore/create/agents/programmable-initial-states): Initializing simulations with JavaScript and Python - [Creator Behaviors](/docs/hcore/create/agents/creator-behaviors): Initializing simulations by using creator behaviors - Visualization - [Visualization](/docs/hcore/create/agents/visualization) - [Published Behaviors](/docs/hcore/create/agents/visualization/published-behaviors) - [Shapes](/docs/hcore/create/agents/visualization/shapes) - [Networks](/docs/hcore/create/agents/visualization/networks): Visualizing network connections between agents in the 3D viewer - Behaviors - [Behaviors](/docs/hcore/create/behaviors): Giving agents agency and specifying laws of the universe - [Composable Behaviors](/docs/hcore/create/behaviors/composable-behaviors) - Behavior Keys - [Behavior Keys](/docs/hcore/create/behaviors/behavior-keys) - [Types](/docs/hcore/create/behaviors/behavior-keys/types) - [Advanced Scenarios](/docs/hcore/create/behaviors/behavior-keys/advanced-scenarios) - [Inheriting Behaviors](/docs/hcore/create/behaviors/inheritance): Agent Types in HASH - [Getting the Behavior Index](/docs/hcore/create/behaviors/behavior-index) - Messages - [Messages](/docs/hcore/create/agent-messages) - [Sending Messages](/docs/hcore/create/agent-messages/sending-messages) - [Handling Messages](/docs/hcore/create/agent-messages/handling-messages) - [Built-in message handlers](/docs/hcore/create/agent-messages/built-in-message-handlers): Add and remove agents by interacting with HASH Core - Globals - [Globals](/docs/hcore/create/configuration): Globals are variables which are accessible to all agents in a simulation - [Simulation Parameters](/docs/hcore/create/configuration/basic-properties): Capture truths or assumptions about the state of your world which can easily be varied - Topology - [Topology](/docs/hcore/create/configuration/topology) - [Bounds and Wrapping](/docs/hcore/create/configuration/topology/bounds-and-wrapping) - [Wrapping Presets and Flags](/docs/hcore/create/configuration/topology/wrapping-presets-and-flags): Granular control of how the world is presented to hCore - [Distance Functions](/docs/hcore/create/configuration/topology/distance-functions): How far away is one agent from another? - Datasets - [Datasets](/docs/hcore/create/datasets) - [Publishing Datasets to Index](/docs/hcore/create/datasets/publishing-data-to-index) - Libraries - [Libraries](/docs/hcore/create/libraries) - HASH - [HASH](/docs/hcore/create/libraries/hash) - [Init](/docs/hcore/create/libraries/hash/init) - [Spatial](/docs/hcore/create/libraries/hash/spatial) - [Neighbors](/docs/hcore/create/libraries/hash/neighbors) - [Statistics](/docs/hcore/create/libraries/hash/javascript-libraries): Statistics packages and libraries support in HASH - [Random](/docs/hcore/create/libraries/hash/random): hstd functions for generating pseudo-random numbers. - [Agent](/docs/hcore/create/libraries/hash/agent) - Process Modeling - [Process Modeling](/docs/hcore/create/libraries/process) - [Process Model Concepts](/docs/hcore/create/libraries/process/process-model-concepts) - [Using the Process Model Visual Interface](/docs/hcore/create/libraries/process/using-the-process-model-builder) - [Analyzing Process Models](/docs/hcore/create/libraries/process/analyzing-process-models) - [Experimenting with Process Models](/docs/hcore/create/libraries/process/experimenting-with-process-models) - [Adding Data to a Process Model](/docs/hcore/create/libraries/process/using-data-in-a-process-model) - [Structuring a Process Model](/docs/hcore/create/libraries/process/structuring-a-process-model) - [Process Blocks](/docs/hcore/create/libraries/process/process-blocks) - [Custom Behaviors](/docs/hcore/create/libraries/process/custom-behaviors) - [Theory of Constraints and Simulations: A framework for process optimization](/docs/hcore/create/libraries/process/theory-of-constraints-and-simulations-a-framework-for-process-optimization) - [Material Handling](/docs/hcore/create/libraries/material) - [Physics](/docs/hcore/create/libraries/physics) - [System Dynamics](/docs/hcore/create/libraries/system-dynamics) - [Third-Party Libraries](/docs/hcore/create/libraries/third-party): Python packages and libraries support in HASH - Collaboration - [Collaboration](/docs/hcore/create/collaboration): Speed development and experimentation by working with others - [Forking and Merging](/docs/hcore/create/collaboration/forking-and-merging) - [Sharing Simulations](/docs/hcore/create/collaboration/sharing-releasing) - [Organizations](/docs/hcore/create/collaboration/organizations) - Design Considerations - [Design Considerations](/docs/hcore/create/design-considerations): Important things to keep in mind while designing simulations - [Actor Model](/docs/hcore/create/design-considerations/actor-model): Understanding how agents communicate, influence the world and resolve conflicts - [Managing Resource Access](/docs/hcore/create/design-considerations/resource-access) - [Determinism](/docs/hcore/create/design-considerations/determinism) - [Managing Timescales](/docs/hcore/create/design-considerations/timescales): Building complex multi-timescale simulations - [Probability Distributions](/docs/hcore/create/design-considerations/distributions) - [Verification and Validation](/docs/hcore/create/design-considerations/verify-validate) - Running Simulations - [Running Simulations](/docs/hcore/run) - Single Runs - [Single Runs](/docs/hcore/run/simulation) - Simulation Outputs - [Simulation Outputs](/docs/hcore/run/simulation/outputs): Accessing data and insights from simulation runs - [3D](/docs/hcore/run/simulation/outputs/3d-viewer) - Analysis - [Analysis](/docs/hcore/run/simulation/outputs/analysis) - [Metrics](/docs/hcore/run/simulation/outputs/analysis/metrics) - [Metrics Syntax Reference](/docs/hcore/run/simulation/outputs/analysis/metrics-syntax-reference) - [Plots](/docs/hcore/run/simulation/outputs/analysis/plots) - [Plots Syntax Reference](/docs/hcore/run/simulation/outputs/analysis/plots-syntax-reference) - [Geospatial](/docs/hcore/run/simulation/outputs/geospatial-viewer) - [Raw State](/docs/hcore/run/simulation/outputs/raw-data) - [Activity History](/docs/hcore/run/simulation/outputs/activity-history) - Experiments - [Experiments](/docs/hcore/run/experiment): Sweep parameters, explore a search space, and find optimal configurations - [Standard Experiments](/docs/hcore/run/experiment/experiment-types): Reference for different experiment options - Optimization Experiments - [Optimization Experiments](/docs/hcore/run/experiment/optimization-experiments): How to use HASH to optimize your simulation's parameters - [Complex Metrics](/docs/hcore/run/experiment/optimization-experiments/complex-metrics) - [Performance](/docs/hcore/run/performance) - [Debugging Errors](/docs/hcore/run/errors): Errors you may encounter and how to fix them - [Cloud Execution](/docs/hcore/run/cloud): Run simulations and experiments in the cloud - Tutorials - [Hello, HASH!](/docs/hcore/tutorials/hello-hash): Get started creating agents in our Hello, HASH tutorial! - Building Process Models - [Building Process Models](/docs/hcore/tutorials/building-process-models): Using the HASH process chart interface to build a ticketing queue simulation - [Process Model Concepts](/docs/hcore/tutorials/building-process-models/process-model-concepts) - [Using the Process Model Visual Interface](/docs/hcore/tutorials/building-process-models/using-the-process-model-builder) - [Analyzing Process Models](/docs/hcore/tutorials/building-process-models/analyzing-process-models) - [Experimenting with Process Models](/docs/hcore/tutorials/building-process-models/experimenting-with-process-models) - [Adding Data to a Process Model](/docs/hcore/tutorials/building-process-models/using-data-in-a-process-model) - Financial Toolbox - [Financial Toolbox](/docs/hcore/tutorials/financial-toolbox): Explore financial modeling in HASH - [Modeling a Portfolio](/docs/hcore/tutorials/financial-toolbox/modeling-a-portfolio): Design and build a portfolio - [Making Trades](/docs/hcore/tutorials/financial-toolbox/making-trades): Write trading behaviors - [Economic Analysis](/docs/hcore/tutorials/financial-toolbox/economic-analysis): Analyze the results of your financial simulation - [Create a Simulation Dashboard](/docs/hcore/tutorials/create-a-simulation-dashboard) - Extending An Epidemic Model - [Extending An Epidemic Model](/docs/hcore/tutorials/extending-an-epidemic-model): Adding and extending features in a simulation - [Add Heterogeneity](/docs/hcore/tutorials/extending-an-epidemic-model/add-heterogeneity) - [Create A Hospital](/docs/hcore/tutorials/extending-an-epidemic-model/create-a-hospital) - [Create Testing Behavior](/docs/hcore/tutorials/extending-an-epidemic-model/create-testing-behavior) - [Create An ICU](/docs/hcore/tutorials/extending-an-epidemic-model/create-an-icu) - Building a Simple Hotelling Model in 2D - [Building a Simple Hotelling Model in 2D](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d) - [Environment Setup](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d/set-up-environment) - [Agent Initialization](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d/initialization) - [Query Customers](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d/query-customers) - [Customer Reply](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d/customer-reply) - [Business Collect and Update](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d/business-collect-and-update) - [Final Code](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d/phase-1-final-code) - [Extending the Model](/docs/hcore/tutorials/phase-1-building-a-simple-hotelling-model-in-2d/building-the-local-competition-model): Adding detail to the simulation - Switching to HASH - [Switching to HASH](/docs/hcore/tutorials/migrating) - Migrating from AnyLogic - [Migrating from AnyLogic](/docs/hcore/tutorials/migrating/anylogic) - [Mental Models](/docs/hcore/tutorials/migrating/anylogic/mental-models) - [Planning the Build](/docs/hcore/tutorials/migrating/anylogic/planning-the-build) - [Main Loop](/docs/hcore/tutorials/migrating/anylogic/main-loop) - Building the Simulation - [Building the Simulation](/docs/hcore/tutorials/migrating/anylogic/building-the-simulation) - [Tankers to Port](/docs/hcore/tutorials/migrating/anylogic/building-the-simulation/tankers-to-port) - [Through the Pipeline](/docs/hcore/tutorials/migrating/anylogic/building-the-simulation/through-the-pipeline) - [Trucks on the Move](/docs/hcore/tutorials/migrating/anylogic/building-the-simulation/trucks-on-the-move) - [Full Initialization](/docs/hcore/tutorials/migrating/anylogic/building-the-simulation/full-initialization) - [Improving our Visualization](/docs/hcore/tutorials/migrating/anylogic/building-the-simulation/improving-our-visualization) - IDE Usage - [IDE Usage](/docs/hcore/ide) - [Shortcuts](/docs/hcore/ide/shortcuts) - [Troubleshooting Crashes](/docs/hcore/ide/troubleshooting): Debugging simulation logic and application crashes - [System Requirements](/docs/hcore/ide/system-requirements) - [Memory Management](/docs/hcore/ide/memory) - API - [API](/docs/hcore/ide/api): Application Programming Interface for HASH simulations - [Accessing the API](/docs/hcore/ide/api/access) - hEngine - [hEngine](/docs/hcore/engine)