/rabbitt

A Small Action Model; named after Rabbit's Large Action Model that can take actions on websites on your behalf.

Primary LanguageJavaScript

🐰 rabbitt

An AI. But not just any AI - an "agent" that can do tasks on your behalf. Fun weekend side project I made 😄
You can use your R1 to send Discord messages and control Rabbitt - here. If you like this project, leave it a ⭐!


🛠️ How does it work?

+-------------------------------+
|  User inputs website &        |
|  instructions to do on        |
|  website                      |
+-------------+-----------------+
              |
              v
+-------------+-----------------+
| Axios retrieves website's     |
| HTML                          |
+-------------+-----------------+
              |
              v
+-------------+-----------------+
| Sends website's HTML to       |
| first Gemini AI               |
+-------------+-----------------+
              |
              v
+-------------+-----------------+
| First Gemini AI makes         |
| description of all IDs and    |
| attributes                    |
+-------------+-----------------+
              |
              v
+-------------+-----------------+
| Sends attributes and IDs to   |
| second Gemini AI              |
+-------------+-----------------+
              |
              v
+-------------+-----------------+
| Second Gemini AI makes        |
| playwright script along with  |
| user's instructions           |
+-------------+-----------------+
              |
              v
+-------------+-----------------+
| child_process executes        |
| playwright script             |
+-------------+-----------------+

In reality, it really just uses Gemini 1.5 Pro to make a Playwright script

🚀 How to set it up?

Easy peasy lemon squeezy! Just copy and paste these commands into your terminal, or run install.bat:

git clone https://github.com/GikitSRC/rabbitt
cd rabbitt
npm init -y
npm install
npx playwright install
node server.js

After that, open up the .env files and put 2 API keys in. You can get them for free at AI Studio.
Go to this website on any web browser connected to the same WiFi to see the results! 😎

🎥 Video Demos

Sending Prompt to ChatGPT (silly AI)
Logging in to Discord (... fake passw ofc + no captcha support)
ThriveOS (ITS MY WEBSITE!!!!)

By the way... you can control all of this + sending message on Discord with your R1.
More information here

Advertisement for custom a web based operating system I didn't finish yet :)