web-agent-protocol

🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support

GitHub Stars

477

User Rating

Not Rated

Favorites

0

Views

58

Forks

84

Issues

7

Installation
Difficulty
Intermediate
Estimated Time
10-20 minutes

Installation

Installation

Prerequisites

Python: 3.11 or higher
pip: Latest version

Installation Steps

1. Create a Conda Environment

bash
conda create -n WAP python=3.11

2. Activate the Conda Environment

bash
conda activate WAP

3. Install Dependencies

bash
pip install -r requirements.txt

4. Set Up Your Repository Source Path


set PYTHONPATH=C:/path/to/webagentprotocol # for Windows
export PYTHONPATH=/path/to/webagentprotocol # for Linux

5. Create a .env File with Your API Keys


OPENAI_API_KEY=sk-proj-...
DEEPSEEK_API_KEY=sk-...

Troubleshooting

Issue: Environment not set up correctly Solution: Check Python and pip versions and reinstall dependencies.