I'm considering a pattern and would like
# 💻creators-and-apify
t
I'm considering a pattern and would like your opinion on whether it makes sense. I have 100+ public Actors, and most of them don't need a browser, so each image is under 25 MB. If I built one Actor containing the logic of all of them, the image would only grow by a few tens of MB. I'd add an
actor_ref
input that says which of my original Actors to run, and use that Actor's own input and output schema. That way I'd keep one Server Actor running and cover all my Actors with it, instead of running many Server Actors. I could follow the same pattern with one master Actor for the headless-browser Actors and one for the headed-browser Actors. That would keep the browser images separate from the lightweight one. To make this work, I'd need: * a different input form for each
actor_ref
value * a different output schema for each
actor_ref
value * separate pricing events for each option Is any of this supported or planned? Would a single listing hurt Store search or MCP discovery compared with separate Actors?
Some of my Actors in the same category already work this way: one Actor covers several sources, and they share the same
input
and
output
schema, so it works fine. For broader coverage across different categories, I'd need support for different input and output schemas per option.
Pricing
already works: I can define separate events for each option in the same Actor. e.g. https://apify.com/tacps126/exhibition-scraper or https://apify.com/tacps126/europe-jobs-scraper, etc (besides their individual actors)
l
Think of Actors more as a product for users. The way you split Actors should follow business demand, not your internal infrastructure. There are devs who isolate the repos, some have single monorepo. Our internal Actors are a mix, we have 1 repo per website which can host 10 Actors. Having fewer Actors would potentially reduce the need to rebuild but would make it more confusing to users. Rebuilding lot of Actors is generally not a problem
t
That makes sense, and I agree that rebuilding many Actors isn't the problem. My concern is how Server Actors are used, especially by AI agents. Agents increasingly find and run Actors through MCP and the Store API, and they pick by description and input schema rather than by browsing. One Actor with a clear
mode
or
actor_ref
input and a matching input and output schema per mode could work well for them. It would also mean one Server Actor kept running instead of dozens. What I don't know is how Store search and MCP discovery treat an Actor like that, and whether a different schema per mode is supported. Do you see any downside to this, such as an agent picking the wrong mode, or the Actor ranking lower in search than separate Actors would? I'd be glad to hear your view.
l
There are already generic Actors that either scrape any site (like Web Fetch) or you can choose multiple (E-commerce scraping tool). I don't think there is right or wrong approach here, both have pros n cons. But vast majority of current successful Actors are targetted and differentiated. Users will choose Instagram Profile Scraper rather than Web Scraper. Regarding MCP and agents. They use our search engine which is also AI driven. It tries to find a best match for the query. Often, that means being as closely targeted to user needs as possible.
You are right that there is optimization for server Actors to bulk them together but you can also optimize by having low memory until you get a lot more users.