Loading...
Loading...
Convert existing projects into Apify Actors - serverless cloud programs. Actorize JavaScript/TypeScript (SDK with Actor.init/exit), Python (async context manager), or any language (CLI wrapper). Use when migrating code to Apify, wrapping CLI tools as Actors, or adding Actor SDK to existing projects.
npx skill4agent add apify/agent-skills apify-actorizationapify init.actor/input_schema.jsonapify run --input '{"key": "value"}'apify pushapifyapify --helpcurl -fsSL https://apify.com/install-cli.sh | bash
# Or (Mac): brew install apify-cli
# Or (Windows): irm https://apify.com/install-cli.ps1 | iex
# Or: npm install -g apify-cliapify info # Should return your usernameAPIFY_TOKENapify login -t $APIFY_TOKENapify init.actor/input_schema.json.actor/output_schema.json.actor/actor.jsonapify runapify pushapify init.actor/actor.json.actor/input_schema.jsonDockerfile| Language | Install | Wrap Code |
|---|---|---|
| JS/TS | | |
| Python | | |
| Other | Use CLI in wrapper script | |
.actor/input_schema.json.actor/output_schema.json.actor/actor.json@apify/json_schemasapify run --input '{"startUrl": "https://example.com", "maxItems": 10}'apify run --input-file ./test-input.jsonapify runnpm startpython main.pyapify pushawait Actor.charge('result').actor/actor.json.actor/actor.json@apify/json_schemasactor.schema.json.actor/input_schema.json.actor/input_schema.json@apify/json_schemasinput.schema.json.actor/output_schema.json.actor/output_schema.json@apify/json_schemasoutput.schema.jsonDockerfileActor.init()Actor.exit()async with Actor:Actor.getInput()Actor.get_input()Actor.pushData()apify rungeneratedBysearch-apify-docsfetch-apify-docshttps://mcp.apify.com/?tools=docs