teach mode allows you to record yourself performing a useful task on any website so a rabbit AI agent can do a similar task for you later. You can replay your own lessons, and lessons from the community, in rabbithole or using your rabbit r1.
This article provides instructions on how to create, replay, and manage teach mode lessons. You learn how to fix issues with teach mode or find answers to common questions about teach mode in other articles.
How to create lessons with teach mode
Use the following steps to start teaching a new lesson.
- Make sure your r1 is powered on and connected to the internet
- On a desktop browser, log in to your rabbithole account
- Open the teach mode page
- In the teach a new lesson section, type a website URL and then click start teaching
The new lesson page has three tabs—login, teach, and replay. The sections below provide instructions on how to use these tabs.
How to log in with teach mode
You can use either cookie jar or the login tab to log in to your accounts before you start teaching a lesson. If you use the teach mode login tab, your login session will also be saved to your cookie jar.
Review the following tips for using the login tab in teach mode.
- If the lesson requires you to be logged in to an account, use the window on the right to log in and then click i logged in.
- If the lesson does not require you to be logged in, click i don’t need to log in for this lesson.
Tip: You can use the on-screen Clipboard tool, on the right side, to paste passwords into the teach mode virtual browser.
How to teach a lesson with teach mode
Before you starting teaching a lesson, you need to give your lesson a lesson name and task description.
- The lesson name is a title, or label, for your own reference.
- Example: “RunWayML: Short video”
- The task description is a short summary of the actions you will perform.
- Example: “Create a 5-second first person view video of a whitewater raft going through raging rapids”
Use the following steps to start teaching your lesson.
- Click teach to start recording
- Use the browser window to the right to perform your task
- As you perform actions, they will appear in the recording log
- If you make a mistake, click undo last action
- When you are done teaching your lesson, click process
Your recording will start processing and the progress will be shown in the right window. Depending on the length and complexity, your lesson will take about 3 to 6 minutes to finish processing. Your lesson status will change to processed when ready.
Note: You cannot re-record a lesson after you click process. If you get an error, you must create and teach a new lesson. Visit the article on how to fix issues with teach mode for more troubleshooting steps.
How to write a good task description
The task description for your teach mode lesson provides context for the steps you take during a recording. You do not need to write out each step that you are going to perform during the recording—teach mode can figure this out from the recording. From a technical perspective, the task description is used to define parameters that will be linked to elements on the webpage.
Warning: Do not include credentials or other sensitive information in the task description. Learn more about how rabbit keeps your information secure.
Review the following tips for writing a good task description.
- Write a short task description. The task description should be 1-2 sentences.
- Describe the action and the outcome. Start the task description with a verb and then describe the goal of the teach mode lesson.
- Avoid step-by-step instructions. Include the important details, but do not write step-by-step instructions—your recording is the step-by-step instructions.
- Provide the parameters. When you process a teach mode lesson, the actions you record will be paired with the task description. You can specify the variables with brackets, parenthesis, double quotes, or single quotes.
The following are examples of good task descriptions.
- “send a tweet with [text]”
- “save the “90s Bangers” playlist to my Spotify library”
- “remove the (first) video from my YouTube watchlist”
Note: You cannot change the task description after you process a lesson. If you need to write a new task description, you must teach a new lesson.
Tips for recording teach mode lessons
When you teach a lesson, your actions are recorded and then analyzed. The better you perform the actions, the better your lesson will be. Use the following tips to record the best lessons with teach mode.
- Type the right URL. Start a lesson on a root domain—like amazon.com. You do not need to include “www.” in the URL.
- Go to one website. Your lesson must happen all on one website. You cannot switch between multiple websites or open a new tab.
- Be mindful of your cursor location. Click in the center of buttons and be specific with where you click.
- Click on text instead of images. Text links are more valuable than image links for teach mode lessons.
- Select text boxes before typing. Click on a textbox before you begin typing, even if the cursor automatically appears there
- Use supported actions. teach mode only records pressing enter, left-clicking, and typing.
- Mark text to be read by r1. Click the read mode button and then click on an element on the page. Click interaction mode to toggle back to teaching. When you replay the lesson from your r1, the text will be displayed on the screen and read out loud.
- Check the recording log. If an action does not appear in the recording log, then it was not captured by teach mode.
- Avoid scrolling. If possible, use a search bar to find a specific item instead of scrolling through a list.
- Annotate your actions. Use the additional_explanation field, in the recording log, to write a short explanation and give more context for an action. The additional explanation is not required, but can be useful for filling text fields or describing an element that you select on the page. You can also use the additional_explanation field to specify a style for read mode actions.
How to replay lessons with teach mode
After you successfully teach a lesson with teach mode, you can replay the lesson to perform the exact same steps or similar steps with small changes. Your teach mode lesson is limited to the actions that you taught it.
When you replay a lesson, teach mode can:
- Skip or repeat some steps
- Replace the content, like text or menu options, of each action
However, teach mode lesson cannot:
- Perform an action it has not been taught
- React to new pop-ups or extra steps it has not seen
Replay teach mode lessons in rabbithole
Use the following steps to replay a teach mode lesson in rabbithole.
- Make sure your r1 is powered on and connected to the internet
- In rabbithole, open the teach mode page
- Click the my lessons tab
- Click the created by me or saved from community tab
- Find the lesson you want and then click replay
- Type a new task description that is similar to the original lesson
- Click replay and watch the task be performed
Tip: After you replay a lesson, you can rate how well it worked with a thumbs up or thumbs down
Replay lessons from rabbit r1
You can trigger a teach mode lesson from your rabbit r1 with a voice prompt by holding the side button. Start or end your prompt with “teach mode” and an exact word or phrase mentioned in the lesson’s name or task description.
- “Replay teach mode lesson…”
- “Use my teach mode lesson to…”
- “…using teach mode”
How to manage your teach mode lessons
You can manage your teach mode lessons on the teach mode page in your rabbithole account.
How to save community lessons
Use the following steps to save teach mode lessons from the community.
- Click the community lessons tab
- Scroll through the list and find a community lesson
- Click save
- Click the my lessons tab and then click saved from community to find the lesson
Tip: Click replay to try a community lesson before you save it.
How to delete saved lessons
You can delete a saved lesson at any time.
- Click the my lessons tab
- Click the created by me or saved from community tab
- Find the lesson and then click delete or remove
How to control your sessions logins
You can delete and re-log in to saved sessions in cookie jar. When you update a saved session login, this will apply all lessons for that website.
Visit the article with instructions on how to use cookie jar to learn more.