hcaptcha-challenger
AI agent that solves hCaptcha challenges using local and multimodal models
Overview
hcaptcha-challenger is an agent that uses multimodal large language models to work through hCaptcha challenges inside a Playwright-controlled browser page. It initializes with the Page object you pass in and then takes over interaction with that page through two operations, clicking the checkbox and waiting for the challenge to appear.
The project is aimed at developers and automation teams who encounter hCaptcha in browser workflows and want an approach that does not rely on Tampermonkey scripts or third-party anti-captcha services. Its documentation frames it as a way to make AI versus AI possible by defining a set of interfaces so an agent, rather than a hand-trained model, handles spatial-visual tasks.
What sets it apart is its reliance on spatial chain-of-thought reasoning to adapt to new challenge types without task-specific fine-tuning. The documentation argues that retraining convolutional models can take up to half a week while challenge types change frequently, and it presents the agent as a more general solution that can adjust as verification types shift. Pluggable resources such as ResNet, YOLOv8, ViT, and CLIP-ViT are documented for specific challenge types.
Best for
- Automation engineers
- Browser automation developers
- QA engineers
- AI/ML engineers
How to use
- Install the package with the documented uv pip command.
- Create and set your Gemini API key for the example workflow.
- Launch a Playwright browser and create a new page in its context.
- Navigate the page to a site key URL when encountering hCaptcha.
- Initialize the agent with the Page object and an agent configuration.
- Call click_checkbox, then wait_for_challenge to hand control to the agent.
What it can do
How it works
You install the package, create and set a Gemini API key as shown in the quickstart, and give the agent a Playwright Page object. The agent then takes over interaction with that page through the robotic arm interface, clicking the checkbox and waiting for the challenge before continuing. Because the agent interacts only through the Page object, it is documented as usable on any platform or patcher built on Playwright, and on any browser Playwright can launch.
Pluggable resources back different tasks: ResNet ONNX for binary labeling, YOLOv8 ONNX for point selection, CLIP-ViT for self-supervised challenges, and a nested model zoo for rank strategy. The documentation describes the agent as adapting through dynamic problem-solving rather than task-specific fine-tuning, while the workflow still depends on a human-prepared browser session and API configuration.
The agent acts on a Page object you supply and is driven through the documented click and wait calls, so it assists a user-directed browser workflow rather than operating on its own.
Where it fits
- Handling image label binary challenges during a Playwright automation run.
- Pointing at areas of an image for area-select challenges.
- Completing drag and drop challenges that require spatial reasoning.
- Collecting image datasets when you already have a solver of your own.
Good fit
- Automating hCaptcha challenges in Playwright-based browser workflows
- Collecting image datasets for CAPTCHA solver development
- Building AI agents that interact with web pages via Playwright
Not a fit
- Applications not using Playwright for browser control
- Users unable or unwilling to provide a Gemini API key
How to evaluate
- Check that your browser automation stack uses Playwright, as the Agent interacts exclusively through a Playwright Page object.
- Verify you can create and configure a Gemini API key, required in the quickstart example.
- Assess whether the documented challenge types (image label binary, area select, drag drop, multiple choice) cover your needs.
- Consider whether your use case requires handling frequent hCaptcha updates, as the project aims for zero-shot adaptation via multimodal LLM reasoning.
- Review allowed usage for CAPTCHA solving in your jurisdiction and target sites.
Our take
hCaptcha Challenger is an agentic workflow framework that uses multimodal large language models to tackle hCaptcha challenges in Playwright-driven browsers. It emphasizes zero-shot spatial reasoning over training custom CNN models, which the documentation notes can become outdated quickly as hCaptcha updates challenge types. The approach requires a Gemini API key and is limited to Playwright-based pages, but supports common challenge types including image label binary, area select, drag and drop, and multiple choice. Datasets can also be collected for use with your own solver.
Alternatives
| Agent | Pricing | Autonomy | Best for |
|---|---|---|---|
| hermes-agent | — | Supervised | AI researchers, Developers, System administrators, DevOps engineers, Technical founders |
| deer-flow | — | Supervised | Software developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders |
| OpenMausBot | — | Supervised | Developers and engineers, Technical founders and small product teams, DevOps and IT administrators, Operations specialists who coordinate recurring tasks, AI power users comfortable with command-line tools |
| Toonflow-app | — | Supervised | Short drama creators, Comic video producers, Storyboard artists, Previsualization artists, Video editors, Independent animators, Content studio operators |
| rowboat | — | Supervised | Software engineers, Engineering managers, Product managers, Support teams, Operations leads, Founders, Research and knowledge workers |
| artemis | — | Supervised | Mobile QA engineers, Test automation engineers, AI coding assistant users, Android developers, CI and DevOps engineers |
FAQ
- What is the required setup to use hCaptcha Challenger?
- You install the package via uv, set up a Gemini API key, and use the provided AgentV class with a Playwright Page object. The quickstart example shows initializing the agent, clicking the checkbox, and waiting for the challenge.
- Do I need to train my own CNN models?
- No, the framework uses multimodal large language models for zero-shot adaptation to spatial visual tasks, eliminating the need for task-specific fine-tuning or extra training parameters.
- Which hCaptcha challenge types are supported?
- Documentation lists support for image label binary, image label area select (point), image drag drop, and image label multiple choice, with some limitations for bounding box segmentation.
- Can I use it with browsers other than Chromium?
- Yes, any browser supported and launched by Playwright can be used, as the Agent operates exclusively through a Playwright Page object.
- What integrations does it offer?
- It integrates with Playwright for browser control and Google Gemini models via API, and references other projects like Dislock, undetected-playwright, and epic-awesome-gamer as related tools.
- How do I check pricing?
- The supplied documentation does not describe a pricing model; consult the project repository or distribution channel for any commercial terms.
- Can I use hCaptcha Challenger to manage datasets?
- Yes, the documentation provides a command to collect image datasets: hc dataset collect.
- How does it handle frequent hCaptcha updates?
- The agent uses spatial chain-of-thought reasoning from multimodal LLMs to adapt dynamically, which the project presents as an alternative to retraining CNN models that can become obsolete quickly.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/agents/hcaptcha-challenger"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.