the config registry is available in preview for hobbyist plans and up. email support@kernel.sh to enable it for your organization.
get a recommended configuration
1. look up an existing recommendation
lookup returns immediately from the registry’s current knowledge. it doesn’t visit the site, start an analysis, or change any data.
recommendation means the registry doesn’t have a usable answer for this url yet. it doesn’t mean the site is unreachable. call resolve to run an analysis.
2. run an analysis when needed
resolve starts an analysis or joins one already running for the same url. analysis usually takes several minutes. the initial response has a null recommendation, so poll the returned analysis id until its status is no longer running.
completed, failed, canceled, and expired. when an analysis finishes without a recommendation, inspect recommendation and analysis.failure for the reason and retry guidance.
3. create a browser with the recommendation
passrecommendation.browser directly into browser creation.
choose between lookup and resolve
a completed analysis is a stable historical record. retrieving its id always returns what that run concluded, even after later analyses produce new knowledge. use
lookup when you want the latest recommendation instead.
evaluate a recommendation
check the success rate, number of trials, and last-tested time to decide whether the evidence is strong and recent enough for your use case. run another analysis when you want fresher evidence. KERNEL first uses evidence for the most specific matching target, then returns its top choice as therecommendation. if several configurations have equally strong evidence, working_configurations lists them in preference order with recommendation first. ties favor your requested proxy country, then the default country.
tailor an analysis to your workload
an analysis tries the url with different browser and proxy settings to find a configuration that can load it reliably.choose proxy countries
by default, KERNEL chooses where the proxy exits, starting with the united states. if your workload must run from specific countries, useallowed_proxy_countries to limit the analysis and its recommendation.
test the workflow you plan to run
loading the first page doesn’t prove that a configuration can support the rest of your workflow. add anintent describing what you plan to do. after finding a configuration, the analysis attempts that workflow and reports whether it finished, needed authentication or payment, was blocked, or stopped early.