Open-Source Web Testing AI Agent
February 14, 2025 ยท View on GitHub
.
Your Open-Source AI Web Testing Agent โ Auto Inspector is an autonomous AI Agent that will test your website and give you a report of the results based on your user stories.
Auto Inspector is made by the Magic Inspector team to change the way web testing is done.
Focus on planning your tests, we run them for you.
.
๐ Give us some love by starring this repository! ๐
.
Open-Source Web Testing AI Agent
Auto Inspector is fully open-sourced (Apache 2.0) and Magic Inspector offers cloud hosting and dedicated enterprise grade support.
Demo
GUI VERSION
https://github.com/user-attachments/assets/98881b79-eb63-4d10-aedf-f52ad64aecd5
CLI VERSION
User story: I can log in to my account with 'demo@magicinspector.com' and 'demopassword' and create a new test inside the Default Project. Once the test has been created, I can see the test editor.
https://github.com/user-attachments/assets/7873f6a8-89d5-4234-8a17-0d993f5dc5c7
How it works
Getting Started
โน๏ธ Note: Auto Inspector is currently in development and not ready to self-host. If you're looking for an enterprise-grade testing solution, check our Cloud Version.
Auto Inspector is available as a CLI utility and as a web application.
- The GUI web version is the easiest way to get started if you just to play with the agent.
- The CLI is probably more adapted to improve the agent and add new features to the core.
GUI Version
Prerequisites
Before you begin, ensure you have the following installed on your machine:
- Docker
- Docker Compose
You can download Docker from here and Docker Compose from here.
Clone the repository
git clone https://github.com/magic-inspector/auto-inspector.git
cd auto-inspector
Add your OpenAI API key in your .env file
echo OPENAI_API_KEY="<replace-with-your-key>" >> .env
Run the web application
make up
or to run in detached mode
make upd
make logs
This command will start the web application at http://localhost.
CLI Version
Prerequisites
โน๏ธ Note: Auto Inspector requires Node.js version 20 or higher.
Clone the repository and go to the backend folder
git clone https://github.com/magic-inspector/auto-inspector.git
cd auto-inspector/backend
npm install
Add your OpenAI API key
echo OPENAI_API_KEY="<replace-with-your-key>" >> .env
Run an example test case
npm run example:voyager
Run your own test case
npm run scenario -- --url="start-url" --user-story="As a user, I can <replace-with-your-user-story>"
Roadmap for a stable release
We're committed to improving the project, feel free to open an issue if you have any suggestions or feedback.
| Component | Status | Features |
|---|---|---|
| Alpha release | โ ๏ธ๏ธ |
|
| Add support for variables and secrets | โ ๏ธ๏ธ |
|
| Run multiple cases from a test file | โ ๏ธ๏ธ |
|
| Interrupt actions when dom changes | โ ๏ธ |
|
| Wait page stabilized before evaluation | โ ๏ธ |
|
| Manage completion at the action level | โ ๏ธ |
|
| Update UI version to display steps in real-time | ๐๏ธ |
|
| Add unit tests | ๐๏ธ |
|
| Manager multiple tabs | ๐๏ธ |
|
| Persist voyager results in file | ๐๏ธ |
|
| Refine user inputs | ๐๏ธ |
|
| Provide a GUI | ๐๏ธ |
|
| Build a serious benchmark framework | ๐๏ธ |
|
| Add OpenAI YAML spec and generate frontend SDK dynamically | ๐๏ธ |
|
.
๐ Give us some love by starring this repository! ๐
.

