The Advanced Editor enables you to build more complex workflows than the visual builder. Here, you can use the Adept Workflow Language to do things like ask the model questions about the screen and store the answer as variables, use conditionals like ‘if’ statements, and much more. See below for more info and examples!
Adept Workflow Language (AWL) is a scripting language designed at Adept that aims to combine powerful multimodal models with the expressivity of a full-fledged programming language. AWL can be seen as a programming language for the web, providing abstractions that hide the complexity of webpage DOMs which can then be used to write powerful workflows.
Here is an illustrative case to show what you can do with AWL using Adept Experiments:
**Workflow code:**
print(answerQuestionAboutScreen**(**"What is the latest market cap?"));
click("The topmost 10-Q");
**Adept output:**
Adept says "$3.754 billion" and clicks the link shown below

AWL is a strict syntactic subset of Javascript. It is also much like Javascript semantically, with only a few minor differences we detail later. The key design goals behind AWL are three-fold:
Adept Experiments ships with an interpreter for AWL so all the code executes in your browser.
Before we dive into details, what better than a few examples to give a glimpse of AWL! Here are some workflows that you can write in AWL.