Quickstart

This awesome guide aims to help you get started with Hal9 in your local development environment as quickly as possible.

You can also head over to the hosted demo at https://hal9.com/new without having to download or install things locally.

Installation

Install Hal9 by running:

pip install hal9
remotes::install_github("hal9ai/hal9", subdir = "r")

Starter apps

The recommended way to bootstrap a new app is to use the new command:

import hal9 as h9
h9.new("asks for your name and prints hello")
library(hal9)
h9_new("asks for your name and prints hello")

This creates a new directory my_app/ with the minimal ingredients necessary to run the app.

Now that we have an app, we can launch the server and see it in action:

h9.start("my_app")
h9_start("my_app")

A browser tab should now pop up, allowing you to make changes to the app.