1# Apify Actors Development Guide
2
3Important: Before you begin, fill in the `generatedBy` property in the meta section of `.actor/actor.json`. Replace it with the tool and model you're currently using, such as "Claude Code with Claude Sonnet 4.5". This helps Apify monitor and improve AGENTS.md for specific AI tools and models.
4
5## What are Apify Actors?
6
7- Actors are serverless programs that run in the cloud. They're inspired by the UNIX philosophy - programs that do one thing well and can be easily combined to build complex systems.
8- Actors are programs packaged as Docker images that run in isolated containers
9
10## Core Concepts
11
12- Accept well-defined JSON input
13- Perform isolated tasks (web scraping, automation, data processing)
14- Produce structured JSON output to datasets and/or store data in key-value stores
15- Can run from seconds to hours or even indefinitely
16- Persist state and can be restarted
17
18## Do
19
20- accept well-defined JSON input and produce structured JSON output
21- use Apify SDK (`apify`) for code running ON Apify platform
22- validate input early with proper error handling and fail gracefully
23- use CheerioCrawler for static HTML content (10x faster than browsers)
24- use PlaywrightCrawler only for JavaScript-heavy sites and dynamic content
25- use router pattern (createCheerioRouter/createPlaywrightRouter) for complex crawls
26- implement retry strategies with exponential backoff for failed requests
27- use proper concurrency settings (HTTP: 10-50, Browser: 1-5)
28- set sensible defaults in `.actor/input_schema.json` for all optional fields
29- set up output schema in `.actor/output_schema.json`
30- clean and validate data before pushing to dataset
31- use semantic CSS selectors and fallback strategies for missing elements
32- respect robots.txt, ToS, and implement rate limiting with delays
33- check which tools (cheerio/playwright/crawlee) are installed before applying guidance
34- use `Actor.log` for logging (censors sensitive data)
35- implement readiness probe handler for standby Actors
36- handle the `aborting` event to gracefully shut down when Actor is stopped
37
38## Don't
39
40- do not rely on `Dataset.getInfo()` for final counts on Cloud platform
41- do not use browser crawlers when HTTP/Cheerio works (massive performance gains with HTTP)
42- do not hard code values that should be in input schema or environment variables
43- do not skip input validation or error handling
44- do not overload servers - use appropriate concurrency and delays
45- do not scrape prohibited content or ignore Terms of Service
46- do not store personal/sensitive data unless explicitly permitted
47- do not use deprecated options like `requestHandlerTimeoutMillis` on CheerioCrawler (v3.x)
48- do not use `additionalHttpHeaders` - use `preNavigationHooks` instead
49- do not assume that local storage is persistent or automatically synced to Apify Console - when running locally with `apify run`, the `storage/` directory is local-only and is NOT pushed to the Cloud
50- do not disable standby mode (`usesStandbyMode: false`) without explicit permission
51
52## Logging
53
54- **ALWAYS use `Actor.log` for logging** - This logger contains critical security logic including censoring sensitive data (Apify tokens, API keys, credentials) to prevent accidental exposure in logs
55
56### Available Log Levels
57
58The Apify Actor logger provides the following methods for logging:
59
60- `Actor.log.debug()` - Debug level logs (detailed diagnostic information)
61- `Actor.log.info()` - Info level logs (general informational messages)
62- `Actor.log.warning()` - Warning level logs (warning messages for potentially problematic situations)
63- `Actor.log.error()` - Error level logs (error messages for failures)
64- `Actor.log.exception()` - Exception level logs (for exceptions with stack traces)
65
66**Best practices:**
67
68- Use `Actor.log.debug()` for detailed operation-level diagnostics (inside functions)
69- Use `Actor.log.info()` for general informational messages (API requests, successful operations)
70- Use `Actor.log.warning()` for potentially problematic situations (validation failures, unexpected states)
71- Use `Actor.log.error()` for actual errors and failures
72- Use `Actor.log.exception()` for caught exceptions with stack traces
73
74## Graceful Abort Handling
75
76Handle the `aborting` event to terminate the Actor quickly when stopped by user or platform, minimizing costs especially for PPU/PPE+U billing.
77
78```python
79import asyncio
80
81async def on_aborting() -> None:
82 # Persist any state, do any cleanup you need, and terminate the Actor using `await Actor.exit()` explicitly as soon as possible
83 # This will help ensure that the Actor is doing best effort to honor any potential limits on costs of a single run set by the user
84 # Wait 1 second to allow Crawlee/SDK state persistence operations to complete
85 # This is a temporary workaround until SDK implements proper state persistence in the aborting event
86 await asyncio.sleep(1)
87 await Actor.exit()
88
89Actor.on('aborting', on_aborting)
90```
91
92## Standby Mode
93
94- **NEVER disable standby mode (`usesStandbyMode: false`) in `.actor/actor.json` without explicit permission** - Actor Standby mode solves this problem by letting you have the Actor ready in the background, waiting for the incoming HTTP requests. In a sense, the Actor behaves like a real-time web server or standard API server instead of running the logic once to process everything in batch. Always keep `usesStandbyMode: true` unless there is a specific documented reason to disable it
95- **ALWAYS implement readiness probe handler for standby Actors** - Handle the `x-apify-container-server-readiness-probe` header at GET / endpoint to ensure proper Actor lifecycle management
96
97You can recognize a standby Actor by checking the `usesStandbyMode` property in `.actor/actor.json`. Only implement the readiness probe if this property is set to `true`.
98
99### Readiness Probe Implementation Example
100
101```python
102# Apify standby readiness probe
103from http.server import SimpleHTTPRequestHandler
104
105class GetHandler(SimpleHTTPRequestHandler):
106 def do_GET(self):
107 # Handle Apify standby readiness probe
108 if 'x-apify-container-server-readiness-probe' in self.headers:
109 self.send_response(200)
110 self.end_headers()
111 self.wfile.write(b'Readiness probe OK')
112 return
113
114 self.send_response(200)
115 self.end_headers()
116 self.wfile.write(b'Actor is ready')
117```
118
119Key points:
120
121- Detect the `x-apify-container-server-readiness-probe` header in incoming requests
122- Respond with HTTP 200 status code for both readiness probe and normal requests
123- This enables proper Actor lifecycle management in standby mode
124
125## Commands
126
127```bash
128# Bootstrap & local development
129apify create [name] # Create new Actor project from a template
130apify init # Initialize Actor in current directory
131apify run # Run Actor locally with simulated platform env
132apify run --purge # Run after clearing previous local storage
133apify validate-schema # Validate .actor/input_schema.json
134
135# Authentication & account
136apify login # Authenticate account (token stored in ~/.apify)
137apify logout # Remove stored credentials
138apify info # Print currently authenticated account info
139
140# Deployment & remote execution
141apify push # Deploy Actor to platform per .actor/actor.json
142apify pull <actor> # Download Actor code from the platform
143apify call <actor> # Execute Actor remotely on the platform
144apify actors build <actor> # Create a new build of an Actor
145apify runs ls # List recent runs
146
147# Discovery (search Apify Store for community Actors)
148apify actors search "<query>" --user-agent <your-agent-name>
149apify actors info <actor> # Get details about a specific Actor
150
151# Secrets (referenced from actor.json via "@mySecret")
152apify secrets add <name> <value> # Store a secret locally; uploaded on push
153apify secrets ls # List stored secret keys
154
155# Direct API access
156apify api <endpoint> # Send an authenticated HTTP request to Apify API
157
158# Help
159apify help # List all commands
160apify <command> --help # Get help for a specific command
161```
162
163Note: If no dedicated Actor exists for your target, search Apify Store for community options with `apify actors search "<query>" --user-agent <your-agent-name>` before building from scratch.
164
165Tip: Inside a running Actor, prefer the SDK (`Actor.get_input()`, `Actor.push_data()`, `Actor.set_value()`) over the equivalent `apify actor` runtime subcommands.
166
167## Apify Platform Environment
168
169When the Actor runs on the Apify platform, the API token is automatically available via the `APIFY_TOKEN` environment variable (note: the variable is `APIFY_TOKEN`, not `APIFY_API_TOKEN`). The Apify SDK reads it automatically, so you do not need to pass it explicitly. Locally, run `apify login` once and the SDK will use your stored credentials.
170
171## Safety and Permissions
172
173Allowed without prompt:
174
175- read files with `Actor.get_value()`
176- push data with `Actor.push_data()`
177- set values with `Actor.set_value()`
178- enqueue requests to RequestQueue
179- run locally with `apify run`
180
181Ask first:
182
183- npm/pip package installations
184- apify push (deployment to cloud)
185- proxy configuration changes (requires paid plan)
186- Dockerfile changes affecting builds
187- deleting datasets or key-value stores
188
189## Project Structure
190
191.actor/
192├── actor.json # Actor config: name, version, env vars, runtime settings
193├── input_schema.json # Input validation & Console form definition
194└── output_schema.json # Specifies where an Actor stores its output
195src/
196└── main.js # Actor entry point and orchestrator
197storage/ # Local-only storage for development (NOT synced to Cloud)
198├── datasets/ # Output items (JSON objects)
199├── key_value_stores/ # Files, config, INPUT
200└── request_queues/ # Pending crawl requests
201Dockerfile # Container image definition
202AGENTS.md # AI agent instructions (this file)
203
204## Local vs Cloud Storage
205
206When running locally with `apify run`, the Apify SDK emulates Cloud storage APIs using the local `storage/` directory. This local storage behaves differently from Cloud storage:
207
208- **Local storage is NOT persistent** - The `storage/` directory is meant for local development and testing only. Data stored there (datasets, key-value stores, request queues) exists only on your local disk.
209- **Local storage is NOT automatically pushed to Apify Console** - Running `apify run` does not upload any storage data to the Apify platform. The data stays local.
210- **Each local run may overwrite previous data** - The local `storage/` directory is reused between runs, but this is local-only behavior, not Cloud persistence.
211- **Cloud storage only works when running on Apify platform** - After deploying with `apify push` and running the Actor in the Cloud, storage calls (`Actor.push_data()`, `Actor.set_value()`, etc.) interact with real Apify Cloud storage, which is then visible in the Apify Console.
212- **To verify Actor output, deploy and run in Cloud** - Do not rely on local `storage/` contents as proof that data will appear in the Apify Console. Always test by deploying (`apify push`) and running the Actor on the platform.
213
214## Actor Input Schema
215
216The input schema defines the input parameters for an Actor. It's a JSON object comprising various field types supported by the Apify platform.
217
218### Structure
219
220```json
221{
222 "title": "<INPUT-SCHEMA-TITLE>",
223 "type": "object",
224 "schemaVersion": 1,
225 "properties": {
226 /* define input fields here */
227 },
228 "required": []
229}
230```
231
232### Example
233
234```json
235{
236 "title": "E-commerce Product Scraper Input",
237 "type": "object",
238 "schemaVersion": 1,
239 "properties": {
240 "startUrls": {
241 "title": "Start URLs",
242 "type": "array",
243 "description": "URLs to start scraping from (category pages or product pages)",
244 "editor": "requestListSources",
245 "default": [{ "url": "https://example.com/category" }],
246 "prefill": [{ "url": "https://example.com/category" }]
247 },
248 "followVariants": {
249 "title": "Follow Product Variants",
250 "type": "boolean",
251 "description": "Whether to scrape product variants (different colors, sizes)",
252 "default": true
253 },
254 "maxRequestsPerCrawl": {
255 "title": "Max Requests per Crawl",
256 "type": "integer",
257 "description": "Maximum number of pages to scrape (0 = unlimited)",
258 "default": 1000,
259 "minimum": 0
260 },
261 "proxyConfiguration": {
262 "title": "Proxy Configuration",
263 "type": "object",
264 "description": "Proxy settings for anti-bot protection",
265 "editor": "proxy",
266 "default": { "useApifyProxy": false }
267 },
268 "locale": {
269 "title": "Locale",
270 "type": "string",
271 "description": "Language/country code for localized content",
272 "default": "cs",
273 "enum": ["cs", "en", "de", "sk"],
274 "enumTitles": ["Czech", "English", "German", "Slovak"]
275 }
276 },
277 "required": ["startUrls"]
278}
279```
280
281## Actor Output Schema
282
283The Actor output schema builds upon the schemas for the dataset and key-value store. It specifies where an Actor stores its output and defines templates for accessing that output. Apify Console uses these output definitions to display run results.
284
285### Structure
286
287```json
288{
289 "actorOutputSchemaVersion": 1,
290 "title": "<OUTPUT-SCHEMA-TITLE>",
291 "properties": {
292 /* define your outputs here */
293 }
294}
295```
296
297### Example
298
299```json
300{
301 "actorOutputSchemaVersion": 1,
302 "title": "Output schema of the files scraper",
303 "properties": {
304 "files": {
305 "type": "string",
306 "title": "Files",
307 "template": "{{links.apiDefaultKeyValueStoreUrl}}/keys"
308 },
309 "dataset": {
310 "type": "string",
311 "title": "Dataset",
312 "template": "{{links.apiDefaultDatasetUrl}}/items"
313 }
314 }
315}
316```
317
318### Output Schema Template Variables
319
320- `links` (object) - Contains quick links to most commonly used URLs
321- `links.publicRunUrl` (string) - Public run url in format `https://console.apify.com/view/runs/:runId`
322- `links.consoleRunUrl` (string) - Console run url in format `https://console.apify.com/actors/runs/:runId`
323- `links.apiRunUrl` (string) - API run url in format `https://api.apify.com/v2/actor-runs/:runId`
324- `links.apiDefaultDatasetUrl` (string) - API url of default dataset in format `https://api.apify.com/v2/datasets/:defaultDatasetId`
325- `links.apiDefaultKeyValueStoreUrl` (string) - API url of default key-value store in format `https://api.apify.com/v2/key-value-stores/:defaultKeyValueStoreId`
326- `links.containerRunUrl` (string) - URL of a webserver running inside the run in format `https://<containerId>.runs.apify.net/`
327- `run` (object) - Contains information about the run same as it is returned from the `GET Run` API endpoint
328- `run.defaultDatasetId` (string) - ID of the default dataset
329- `run.defaultKeyValueStoreId` (string) - ID of the default key-value store
330
331## Dataset Schema Specification
332
333The dataset schema defines how your Actor's output data is structured, transformed, and displayed in the Output tab in the Apify Console.
334
335### Example
336
337Consider an example Actor that calls `Actor.pushData()` to store data into dataset:
338
339```python
340# Dataset push example (Python)
341import asyncio
342from datetime import datetime
343from apify import Actor
344
345async def main():
346 await Actor.init()
347
348 # Actor code
349 await Actor.push_data({
350 'numericField': 10,
351 'pictureUrl': 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png',
352 'linkUrl': 'https://google.com',
353 'textField': 'Google',
354 'booleanField': True,
355 'dateField': datetime.now().isoformat(),
356 'arrayField': ['#hello', '#world'],
357 'objectField': {},
358 })
359
360 # Exit successfully
361 await Actor.exit()
362
363if __name__ == '__main__':
364 asyncio.run(main())
365```
366
367To set up the Actor's output tab UI, reference a dataset schema file in `.actor/actor.json`:
368
369```json
370{
371 "actorSpecification": 1,
372 "name": "book-library-scraper",
373 "title": "Book Library Scraper",
374 "version": "1.0.0",
375 "storages": {
376 "dataset": "./dataset_schema.json"
377 }
378}
379```
380
381Then create the dataset schema in `.actor/dataset_schema.json`:
382
383```json
384{
385 "actorSpecification": 1,
386 "fields": {},
387 "views": {
388 "overview": {
389 "title": "Overview",
390 "transformation": {
391 "fields": [
392 "pictureUrl",
393 "linkUrl",
394 "textField",
395 "booleanField",
396 "arrayField",
397 "objectField",
398 "dateField",
399 "numericField"
400 ]
401 },
402 "display": {
403 "component": "table",
404 "properties": {
405 "pictureUrl": {
406 "label": "Image",
407 "format": "image"
408 },
409 "linkUrl": {
410 "label": "Link",
411 "format": "link"
412 },
413 "textField": {
414 "label": "Text",
415 "format": "text"
416 },
417 "booleanField": {
418 "label": "Boolean",
419 "format": "boolean"
420 },
421 "arrayField": {
422 "label": "Array",
423 "format": "array"
424 },
425 "objectField": {
426 "label": "Object",
427 "format": "object"
428 },
429 "dateField": {
430 "label": "Date",
431 "format": "date"
432 },
433 "numericField": {
434 "label": "Number",
435 "format": "number"
436 }
437 }
438 }
439 }
440 }
441}
442```
443
444### Structure
445
446```json
447{
448 "actorSpecification": 1,
449 "fields": {},
450 "views": {
451 "<VIEW_NAME>": {
452 "title": "string (required)",
453 "description": "string (optional)",
454 "transformation": {
455 "fields": ["string (required)"],
456 "unwind": ["string (optional)"],
457 "flatten": ["string (optional)"],
458 "omit": ["string (optional)"],
459 "limit": "integer (optional)",
460 "desc": "boolean (optional)"
461 },
462 "display": {
463 "component": "table (required)",
464 "properties": {
465 "<FIELD_NAME>": {
466 "label": "string (optional)",
467 "format": "text|number|date|link|boolean|image|array|object (optional)"
468 }
469 }
470 }
471 }
472 }
473}
474```
475
476**Dataset Schema Properties:**
477
478- `actorSpecification` (integer, required) - Specifies the version of dataset schema structure document (currently only version 1)
479- `fields` (JSONSchema object, required) - Schema of one dataset object (use JsonSchema Draft 2020-12 or compatible)
480- `views` (DatasetView object, required) - Object with API and UI views description
481
482**DatasetView Properties:**
483
484- `title` (string, required) - Visible in UI Output tab and API
485- `description` (string, optional) - Only available in API response
486- `transformation` (ViewTransformation object, required) - Data transformation applied when loading from Dataset API
487- `display` (ViewDisplay object, required) - Output tab UI visualization definition
488
489**ViewTransformation Properties:**
490
491- `fields` (string[], required) - Fields to present in output (order matches column order)
492- `unwind` (string[], optional) - Deconstructs nested children into parent object
493- `flatten` (string[], optional) - Transforms nested object into flat structure
494- `omit` (string[], optional) - Removes specified fields from output
495- `limit` (integer, optional) - Maximum number of results (default: all)
496- `desc` (boolean, optional) - Sort order (true = newest first)
497
498**ViewDisplay Properties:**
499
500- `component` (string, required) - Only `table` is available
501- `properties` (Object, optional) - Keys matching `transformation.fields` with ViewDisplayProperty values
502
503**ViewDisplayProperty Properties:**
504
505- `label` (string, optional) - Table column header
506- `format` (string, optional) - One of: `text`, `number`, `date`, `link`, `boolean`, `image`, `array`, `object`
507
508## Key-Value Store Schema Specification
509
510The key-value store schema organizes keys into logical groups called collections for easier data management.
511
512### Example
513
514Consider an example Actor that calls `Actor.setValue()` to save records into the key-value store:
515
516```python
517# Key-Value Store set example (Python)
518import asyncio
519from apify import Actor
520
521async def main():
522 await Actor.init()
523
524 # Actor code
525 await Actor.set_value('document-1', 'my text data', content_type='text/plain')
526
527 image_id = '123' # example placeholder
528 image_buffer = b'...' # bytes buffer with image data
529 await Actor.set_value(f'image-{image_id}', image_buffer, content_type='image/jpeg')
530
531 # Exit successfully
532 await Actor.exit()
533
534if __name__ == '__main__':
535 asyncio.run(main())
536```
537
538To configure the key-value store schema, reference a schema file in `.actor/actor.json`:
539
540```json
541{
542 "actorSpecification": 1,
543 "name": "data-collector",
544 "title": "Data Collector",
545 "version": "1.0.0",
546 "storages": {
547 "keyValueStore": "./key_value_store_schema.json"
548 }
549}
550```
551
552Then create the key-value store schema in `.actor/key_value_store_schema.json`:
553
554```json
555{
556 "actorKeyValueStoreSchemaVersion": 1,
557 "title": "Key-Value Store Schema",
558 "collections": {
559 "documents": {
560 "title": "Documents",
561 "description": "Text documents stored by the Actor",
562 "keyPrefix": "document-"
563 },
564 "images": {
565 "title": "Images",
566 "description": "Images stored by the Actor",
567 "keyPrefix": "image-",
568 "contentTypes": ["image/jpeg"]
569 }
570 }
571}
572```
573
574### Structure
575
576```json
577{
578 "actorKeyValueStoreSchemaVersion": 1,
579 "title": "string (required)",
580 "description": "string (optional)",
581 "collections": {
582 "<COLLECTION_NAME>": {
583 "title": "string (required)",
584 "description": "string (optional)",
585 "key": "string (conditional - use key OR keyPrefix)",
586 "keyPrefix": "string (conditional - use key OR keyPrefix)",
587 "contentTypes": ["string (optional)"],
588 "jsonSchema": "object (optional)"
589 }
590 }
591}
592```
593
594**Key-Value Store Schema Properties:**
595
596- `actorKeyValueStoreSchemaVersion` (integer, required) - Version of key-value store schema structure document (currently only version 1)
597- `title` (string, required) - Title of the schema
598- `description` (string, optional) - Description of the schema
599- `collections` (Object, required) - Object where each key is a collection ID and value is a Collection object
600
601**Collection Properties:**
602
603- `title` (string, required) - Collection title shown in UI tabs
604- `description` (string, optional) - Description appearing in UI tooltips
605- `key` (string, conditional\*) - Single specific key for this collection
606- `keyPrefix` (string, conditional\*) - Prefix for keys included in this collection
607- `contentTypes` (string[], optional) - Allowed content types for validation
608- `jsonSchema` (object, optional) - JSON Schema Draft 07 format for `application/json` content type validation
609
610\*Either `key` or `keyPrefix` must be specified for each collection, but not both.
611
612## Actor README
613
614**Always generate a README.md file as part of Actor development.** The README is the Actor's public landing page on Apify Store - it serves as SEO, first impression, documentation, and support page combined.
615
616### Required: Generate README automatically
617
618When building an Actor, always create a `README.md` in the project root. Do not wait for the user to ask for it. The README is a critical part of a complete Actor.
619
620### README structure
621
622Write in Markdown. Use H2 (`##`) for main sections (these become the table of contents) and H3 (`###`) for subsections. Do not use H1 - the Actor name is automatically the H1. Aim for at least 300 words.
623
624Include these sections in order:
625
6261. **What does [Actor name] do?** - 2-3 sentences explaining what it does, what data it extracts, and how to try it. Link to the target website. Mention Apify platform advantages (API access, scheduling, integrations, proxy rotation, monitoring).
6272. **Why use [Actor name]?** - Business use cases and benefits.
6283. **How to use [Actor name]** - Numbered step-by-step tutorial. Keep it simple and reassuring.
6294. **Input** - Describe input fields. Reference the Input tab. Optionally include a screenshot or JSON example of the input schema.
6305. **Output** - Show a simplified JSON output example. Mention "You can download the dataset in various formats such as JSON, HTML, CSV, or Excel."
6316. **Data table** - If the Actor extracts data, include a table of the main data fields it outputs.
6327. **Pricing / Cost estimation** - Set expectations on cost. Mention free tier limits if applicable. Frame as "How much does it cost to scrape [target site]?"
6338. **Tips or Advanced options** - How to optimize runs, limit compute units, improve speed or accuracy.
6349. **FAQ, disclaimers, and support** - Legality disclaimer for scrapers, known limitations, link to Issues tab for feedback, mention custom solution availability.
635
636### README best practices
637
638- Write SEO-friendly headings with relevant keywords (e.g., "How to scrape [site] data" not just "Tutorial")
639- Bold the most important words in the intro
640- The first 25% of the README matters most - front-load the value proposition
641- Match the tone to the target audience: simple language for no-code users, technical details for developers
642- Include a JSON output example showing 1-2 representative items
643- Reference these top Actors for README best practices: https://apify.com/apify/instagram-scraper and https://apify.com/compass/crawler-google-places
644- Embed YouTube video URLs on their own line (Apify Console auto-renders them)
645- Use HTML for image sizing if needed; CSS is not supported
646
647## MCP Tools
648
649### Apify MCP
650
651If the Apify MCP server is configured, use these tools for documentation:
652
653- `search-apify-docs` - Search documentation
654- `fetch-apify-docs` - Get full doc pages
655
656Otherwise, reference: `@https://mcp.apify.com/`
657
658### Playwright MCP (debugging)
659
660The Playwright MCP server is a useful tool for debugging Actors that interact with the web - it lets the agent drive a real browser to inspect pages, capture selectors, and reproduce issues.
661
662Install with the Claude Code CLI:
663
664```bash
665claude mcp add playwright npx @playwright/mcp@latest
666```
667
668Or add it manually to your MCP config:
669
670```json
671{
672 "mcpServers": {
673 "playwright": {
674 "command": "npx",
675 "args": ["@playwright/mcp@latest"]
676 }
677 }
678}
679```
680
681## Resources
682
683- [docs.apify.com/llms.txt](https://docs.apify.com/llms.txt) - Quick reference
684- [docs.apify.com/llms-full.txt](https://docs.apify.com/llms-full.txt) - Complete docs
685- [crawlee.dev](https://crawlee.dev) - Crawlee documentation
686- [whitepaper.actor](https://raw.githubusercontent.com/apify/actor-whitepaper/refs/heads/master/README.md) - Complete Actor specification