AI Web Agent avatar
AI Web Agent
Try for free

No credit card required

View all Actors
AI Web Agent

AI Web Agent

apify/ai-web-agent
Try for free

No credit card required

Use natural language prompts to browse the web, click on elements, fill and submit forms, extract data, and take screenshots using the OpenAI API.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrl": "https://apify.com",
8  "instructions": "Go to the pricing page, extract information about all pricing plans, and save it into dataset.",
9  "model": "gpt-3.5-turbo-16k",
10  "proxyConfiguration": {
11    "useApifyProxy": true
12  }
13}
14EOF
15
16# Run the Actor using an HTTP API
17# See the full API reference at https://docs.apify.com/api/v2
18curl "https://api.apify.com/v2/acts/apify~ai-web-agent/runs?token=$API_TOKEN" \
19  -X POST \
20  -d @input.json \
21  -H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor metrics
  • 51 monthly users
  • 13 stars
  • 40.7% runs succeeded
  • 8.6 days response time
  • Created in Oct 2023
  • Modified about 1 month ago
Categories