A powerful AI-driven web automation agent that lets users control browser actions using natural language commands. Built with Streamlit, OpenAI, and Puppeteer.
- Parse and execute web automation instructions using LLMs
- Dynamic command interpretation (e.g., "Search for flights to New York")
- Interface built with Streamlit for easy interaction
- Headless browser automation powered by Puppeteer
- Python 3.9+ – Application logic and LLM integration
- Streamlit – Frontend UI for user interaction
- OpenAI API – Natural language understanding and command generation
- Node.js + Puppeteer – Browser automation layer
- YAML – Configuration management
- Logging – Local logging for troubleshooting and audit
- User Input: A natural language instruction is provided through the Streamlit interface.
- LLM Parsing: The input is processed using OpenAI's API to generate a structured response.
- Browser Automation: The agent sends this structured command to a Puppeteer-powered backend to simulate browser activity.
MCP--WebAutomation-Agent/
│
├── main.py # Core logic and Streamlit interface
├── requirements.txt # Required Python packages
├── mcp_agent.config.yaml # Configurations for the agent
└── logs/ # Runtime logs
-
Clone the repo:
git clone https://github.com/rijul21/MCP--WebAutomation-Agent.git cd MCP--WebAutomation-Agent -
Install dependencies:
pip install -r requirements.txt
-
Run the app:
streamlit run main.py
- Python 3.9+
- Node.js (for Puppeteer)
- OpenAI API Key
- Puppeteer should be configured separately to interact with the automation commands.
- All outputs and errors are logged under the
logs/directory.
This project is licensed under the MIT License.