brewen couaran

# project

WebWisp

A GPT-4o agent that runs website tests written in plain language

Completed Research May 2024 - Jul 2024
orchestrator rabbitmq workers playwright 1 2 3 set-of-marks

Built during my LaBRI internship: describe a website task in plain language and a GPT-4o agent carries it out in a real browser, reading screenshots annotated with Set-of-Marks. An orchestrator dispatches tasks over RabbitMQ to a pool of Playwright workers.

Highlights

  • Designed and implemented a distributed orchestrator-worker architecture
  • Built Docker-based deployment and configurable worker pools
  • Integrated RabbitMQ for reliable asynchronous task dispatch
  • Implemented browser automation and WebSOM-guided element targeting
  • Added secure JWT authentication and persistent storage integration

WebWisp is an autonomous web agent developed during my internship at LaBRI. It uses a distributed architecture for scalable web testing and automation:

  1. Orchestrator

    • Dispatches tasks to worker pools

    • Exposes a monitoring interface for runs and outcomes

    • Handles authentication and user session control

  2. Workers

    • Execute browser tasks reliably at scale

    • Support horizontal scaling across multiple containers

    • Use Playwright for deterministic browser automation

    • Integrate WebSOM for precise element grounding

  3. Message broker (RabbitMQ)

    • Guarantees asynchronous communication between services

    • Decouples orchestration from execution for scalability

The system is containerized with Docker and includes JWT-based auth, persistent storage, configurable worker pools, and LLM-assisted testing flows.

This implementation is informed by advances in in-context language modeling and visual grounding for web interfaces .

For how it was built (the worker internals, the grounding and prompting choices, and what was left unfinished), see the internship write-up.

Related Experience

References

  • Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., Agarwal, S., Herbert-Voss, A., Krueger, G., Henighan, T., Child, R., Ramesh, A., Ziegler, D. M., Wu, J., Winter, C., & Amodei, D. (2020). Language models are few-shot learners (arXiv:2005.14165). arXiv. https://doi.org/10.48550/arXiv.2005.14165
  • Koh, J. Y., Lo, R., Jang, L., Duvvur, V., Lim, M. C., Huang, P.-Y., Neubig, G., Zhou, S., Salakhutdinov, R., & Fried, D. (2024). VisualWebArena: Evaluating multimodal agents on realistic visual web tasks (arXiv:2401.13649). arXiv. https://doi.org/10.48550/arXiv.2401.13649
  • Yang, J., Zhang, H., Li, F., Zou, X., Li, C., & Gao, J. (2023). Set-of-mark prompting unleashes extraordinary visual grounding in GPT-4V (arXiv:2310.11441). arXiv. https://doi.org/10.48550/arXiv.2310.11441