You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the great work on HyperAgent β it's an impressive project for AI-powered browser automation.
Iβd like to suggest adding optional support for 10Captcha, a simple and affordable CAPTCHA-solving API. Many users working with browser automation face CAPTCHA challenges, and having a built-in option to solve them would make HyperAgent even more reliable and user-friendly for real-world automation tasks.
src/agent/captcha/ten-captcha-client.ts β client for 10Captcha's in.php/res.php submit-and-poll API (image CAPTCHAs + reCAPTCHA v2), with per-type timeouts and defensive response parsing.
src/agent/actions/solve-captcha.ts β the solveCaptcha action: screenshots + solves + optionally fills image CAPTCHAs, or solves + injects the token for reCAPTCHA v2.
Registered in DEFAULT_ACTIONS only when TENCAPTCHA_API_KEY is set (same pattern as GEMINI_API_KEY β PDFActionDefinition), so it's fully opt-in with zero behavior change otherwise.
README section documenting the new env var and action.
tsc, eslint, and yarn build (run directly via tsc/tsc-alias) all pass clean on this branch. I also exercised the client against a mocked fetch covering the happy path, CAPCHA_NOT_READY polling, submission/poll errors, timeouts, and reCAPTCHA v2 request params.
I can't open a PR directly β looks like this repo restricts PR creation to collaborators (same thing @RagavRida ran into on #90). Happy to have a maintainer open the PR from the branch above, or add me as a collaborator so I can open it myself. Let me know if you'd like anything changed first.
Activity
Shraman123 commentedon Aug 26, 2026
I put together an implementation of this (10Captcha integration) as a
solveCaptchaagent action:Branch: https://github.com/Shraman123/HyperAgent/tree/feature/10captcha-integration
Diff: main...Shraman123:HyperAgent:feature/10captcha-integration
Summary:
src/agent/captcha/ten-captcha-client.tsβ client for 10Captcha'sin.php/res.phpsubmit-and-poll API (image CAPTCHAs + reCAPTCHA v2), with per-type timeouts and defensive response parsing.src/agent/actions/solve-captcha.tsβ thesolveCaptchaaction: screenshots + solves + optionally fills image CAPTCHAs, or solves + injects the token for reCAPTCHA v2.DEFAULT_ACTIONSonly whenTENCAPTCHA_API_KEYis set (same pattern asGEMINI_API_KEYβPDFActionDefinition), so it's fully opt-in with zero behavior change otherwise.tsc,eslint, andyarn build(run directly viatsc/tsc-alias) all pass clean on this branch. I also exercised the client against a mockedfetchcovering the happy path,CAPCHA_NOT_READYpolling, submission/poll errors, timeouts, and reCAPTCHA v2 request params.I can't open a PR directly β looks like this repo restricts PR creation to collaborators (same thing @RagavRida ran into on #90). Happy to have a maintainer open the PR from the branch above, or add me as a collaborator so I can open it myself. Let me know if you'd like anything changed first.