Giter VIP home page Giter VIP logo

actor-web-automation-agent's Introduction

This Actor is a work in progress. Got feedback? Head to the Issues tab in Console.

😎 How does AI Web Agent work?

The AI Web Agent is a tool that allows you to browse the web and extract data from websites using simple, natural language instructions. It combines the powers of the Apify platform and large language models from OpenAI API to generate actions that should be performed.

You can use AI Web Agent to automate any action on the web:

🌐 Go to URL

🖱️ Click on element

📝 Fill and submit forms

📦 Extract data from the page

💾 Save data to output

📊 Save data to dataset

📸 Take and save a screenshot💸

📚 How to use AI Web Agent?

AI Web Agent was designed for an easy start even if you've never tried automating tasks on the web before. To get started, you need to:

  1. Add page URL that you want the Web Agent to start with.
  2. Provide Instructions on what the Web Agent should do while on that page. Use simple and straightforward language.
  3. Set up OpenAI API key. You can get it from OpenAI platform.
  4. Choose GPT Model that decyphers your prompt to the Web Agent: GPT-3.5 Turbo 16k, GPT-4, GPT-4 32k.
  5. Click Start.

For example, to browse a website such as https://apify.com/ and get the cheapest pricing plan, you can use the following instructions:

⬇️ Input

AI Web Agent accepts the following configuration settings:

Start URL

The Start URL (startUrl) field represents the initial page URL that the Agent will visit.

Instructions

This field instructs the Web Agent how to browse the web.

OpenAI API key

The API key for accessing OpenAI. You can get it from OpenAI platform.

GPT Model

The GPT Model (model) option specifies which GPT model to use. You can find more information about the models on the OpenAI API documentation. Keep in mind that each GPT model has different pricing and features.

Proxy configuration

The Proxy configuration (proxyConfiguration) option enables you to set proxies. The Web Agent will use these to prevent getting blocked by target websites. You can use both Apify Proxy and custom HTTP or SOCKS5 proxy servers.

You can enter these either directly in Apify Console or programmatically in a JSON object using the Apify API. Watch this video to learn how get your data via the cURL command and with both Apify's API clients (Python and Node.js).

AI Web Agent API

⬇️ Output

You can find the results of the run in the Storage tab → Key-value store under the OUTPUT key. You can also view the recorded Web Agent's browsing session underrecording.mp4.

💸 How much does it cost to use AI Web Agent?

Your total cost will be calculated based on combined costs for running OpenAI’s LLMs and browser runtime.

Cost of the OpenAI API

The cost depends on the model you are using and the action browser process. The cost is calculated based on the number of tokens used. You can see the cost in the log of the Actor run. You can find the cost of the OpenAI API on the OpenAI pricing page.

Cost of the running browser

The Web Agent uses a headless browser. The cost of the browser is based on the amount of time it takes to run the Agent. You can find information about the cost on the pricing page.

actor-web-automation-agent's People

Contributors

drobnikj avatar natashalekh avatar jirimoravcik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.