Problem
Building a new Apify Actor today requires the developer to:
- Know how to scrape (CSS selectors, Playwright/Cheerio, pagination patterns)
- Know how to structure an Apify Actor (file layout,
INPUT_SCHEMA.json, apify.json)
- Pick the right template manually
This is a high skill floor. Most users who want to scrape a specific website don't know where to start.
Proposal
Add an AI-powered flag to apify create:
apify create --from-url <website-url>
What it does
- Fetches the target URL (or uses a headless browser for JS-heavy sites)
- Sends the page structure to an LLM with a prompt that asks: "What data is on this page? How would you scrape it?"
- Generates a complete, working Actor scaffold:
src/main.js (or main.py) with working scraper code
INPUT_SCHEMA.json with inferred inputs (startUrl, maxPages, selectors, etc.)
.actor/actor.json with name and description
- Runs
apify run locally to verify it works before handing off to the developer
Example
$ apify create --from-url https://news.ycombinator.com
Analyzing https://news.ycombinator.com...
Detected: News listing page, 30 items per page, paginated
Stack suggestion: Cheerio (static HTML, no JS required)
Generating Actor scaffold...
✓ src/main.js
✓ .actor/INPUT_SCHEMA.json
✓ .actor/actor.json
Running locally to verify...
✓ Scraped 30 items on first page
Actor "hacker-news-scraper" is ready.
Next: apify push
Generated INPUT_SCHEMA.json (example)
{
"title": "Hacker News Scraper",
"description": "Scrapes stories from Hacker News",
"properties": {
"startUrl": { "type": "string", "default": "https://news.ycombinator.com" },
"maxPages": { "type": "integer", "default": 5 }
}
}
Why it matters
- Lowers the skill floor from "know web scraping" to "have a URL"
- Dramatically accelerates the path from idea to published Actor
- Grows the Actor Store catalog: more contributors = more supply = more users
- Positions Apify CLI as an AI-native developer tool, not just a deploy tool
Open questions
- Which LLM / API to use (Apify-hosted vs user brings their own key)?
- Should it be interactive (wizard-style) or fully automatic?
- How to handle JS-heavy sites that require Playwright?
Related
Problem
Building a new Apify Actor today requires the developer to:
INPUT_SCHEMA.json,apify.json)This is a high skill floor. Most users who want to scrape a specific website don't know where to start.
Proposal
Add an AI-powered flag to
apify create:What it does
src/main.js(ormain.py) with working scraper codeINPUT_SCHEMA.jsonwith inferred inputs (startUrl, maxPages, selectors, etc.).actor/actor.jsonwith name and descriptionapify runlocally to verify it works before handing off to the developerExample
$ apify create --from-url https://news.ycombinator.com Analyzing https://news.ycombinator.com... Detected: News listing page, 30 items per page, paginated Stack suggestion: Cheerio (static HTML, no JS required) Generating Actor scaffold... ✓ src/main.js ✓ .actor/INPUT_SCHEMA.json ✓ .actor/actor.json Running locally to verify... ✓ Scraped 30 items on first page Actor "hacker-news-scraper" is ready. Next: apify pushGenerated INPUT_SCHEMA.json (example)
{ "title": "Hacker News Scraper", "description": "Scrapes stories from Hacker News", "properties": { "startUrl": { "type": "string", "default": "https://news.ycombinator.com" }, "maxPages": { "type": "integer", "default": 5 } } }Why it matters
Open questions
Related
apify create(parity with Console wizard) #1153 — Guided Actor creation flow (wizard, no AI)