Skip to content

ahmadrosid/selenium-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Agent

Let's have a fun with LLM agent using selenium as a tool to scrape web content.

Description

Selenium Agent is a research assistant that can search the web and extract information from various sources, including Google and Reddit. It utilizes web scraping techniques to gather data and present it in a user-friendly markdown format.

Installation Instructions

  1. Clone the repository:
    git clone https://github.com/ahmadrosid/selenium-agent.git
    cd selenium-agent
  2. Install dependencies:
    npm install

Usage

Please set the OPENAI_API_KEY environment variable with your OpenAI API key.

export OPENAI_API_KEY="YOUR_OPENAI_API_KEY"

To run the Selenium Agent, execute:

node src/index.js

You can then interact with the assistant by providing tasks or questions.

Dependencies

  • selenium-webdriver
  • turndown
  • @mozilla/readability
  • jsdom

Contributing Guidelines

Contributions are welcome! Please submit a pull request or open an issue for discussion.

License

This project is licensed under the MIT License.

About

LLM agent using selenium as a tool. Have fun!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published