Getting Started¶
This page covers the different ways to load a Rhylthyme program into the web app for visualization.
Loading an Example¶
The left sidebar includes a set of built-in examples that span different environment types. Click any example to load it instantly.
| Example | Environment | Description |
|---|---|---|
| Breakfast Schedule | Kitchen | Coordinating eggs, bacon, and toast |
| Academy Awards | Events | Multi-track ceremony production |
| Lab Experiment | Laboratory | Sequential lab protocol |
| Bakery | Bakery | Bread and pastry production |
| Airport | Airport | Runway, gate, and taxiway coordination |
| Cell Culture | Laboratory | Cell culture experimental protocol |
| Sunny Side Up Eggs | Kitchen | Step-by-step cooking with video |

Sunny Side Up Eggs includes video
The Sunny Side Up Eggs example includes embedded video tooltips for each step. Hover over a step node in the DAG view to see the associated video clip.
Uploading a Program¶
You can upload your own program files directly from your computer.
Drag and Drop¶
- Scroll to the Upload Program section in the left sidebar.
- Drag a
.json,.yaml, or.ymlfile onto the drop zone. - The program will be validated and visualized automatically.
File Browser¶
- Click the drop zone area labeled "Drop file here or click to browse."
- Select a file from your file system.
- The program loads into the main visualization area.
File Size Limit
Uploaded files are limited to 16 MB.
Loading from URL¶
If your program JSON is hosted online (for example, in a GitHub repository), you can load it directly by URL.
- Scroll to the Load from URL section in the left sidebar.
- Paste the URL into the text field. For GitHub files, use the raw URL (e.g.,
https://raw.githubusercontent.com/rhylthyme/rhylthyme-examples/main/programs/breakfast_schedule.json). - Click the download button to fetch and visualize the program.
GitHub Raw URLs
For files on GitHub, click the "Raw" button on the file page to get the direct URL, or construct it manually by replacing github.com with raw.githubusercontent.com and removing /blob/.
Using Prompts (AI Import)¶
The Prompts section in the sidebar provides pre-built queries that use the AI chat assistant to import and generate programs from external sources.
| Prompt | Source | What It Does |
|---|---|---|
| Nutty Chicken Curry | TheMealDB | Imports a chicken curry recipe and creates a cooking schedule |
| Beef Stew | Spoonacular | Searches Spoonacular for a beef stew recipe and creates a cooking schedule |
| RNA Extraction with Trizol | protocols.io | Imports a lab protocol and creates a laboratory schedule |
Clicking a prompt automatically sends it to the AI chat panel. The assistant will call the appropriate importer, convert the external data into a Rhylthyme program, and visualize it.
Chat Required
Prompts use the AI chat feature, which requires the Anthropic API to be available. On the hosted version at www.rhylthyme.com, this works out of the box.
Browsing Public Programs¶
The Public Programs section in the sidebar lets you search for and load programs shared by other users.
- Type a search term into the search field (e.g., "breakfast" or "lab").
- Click the search icon or press Enter.
- Click on a result to load and visualize it.
Alternatively, click "browse recent" to see the most recently shared programs.
Loading a Shared Program¶
When someone shares a program, they get a URL with a ?share= parameter. Opening that URL in your browser will automatically load and visualize the shared program.
What Happens After Loading¶
Once a program is loaded (by any method), the web app:
- Validates the program against the Rhylthyme schema.
- Generates the visualization HTML with all five views.
- Displays the program in the main content area with:
- A program info bar showing total time, schema version, environment type, and resource constraints.
- Execution controls for running the program in real time.
- A view toggle bar at the bottom for switching between DAG, Timeline, Resources, Itinerary, and Editor.
- Shows Save, Share, and Download buttons in the top-right corner of the main area.
The program is now stored in memory (as currentProgram) and remains available for download, saving to your account, or sharing until you load a different program.