composio-autoreg
Autoreg for Composio accounts and ck_... consumer API keys.
Free tier: $0, no card, $2 credits one-time, up to 3 members, 10,000 tool calls/month, all 1,700+ toolkits connectable. Instant tools (Exa, Apollo, Higgsfield, ...) run on the $2 credit with 0% markup.
Start here
- docs/GUIDE.md — пошагово от пула почт до рабочего ключа: команды, проверки, лимиты, FAQ по пойманным ошибкам.
- Dashboard + rotator —
python dash/app.py --bank bank/accounts.jsonl --port 8850 --rotator 8851
Dashboard shows the pool (accounts, live keys, credit, calls/month), filters, per-account
Проверить button and Проверить все. Rotator on :8851 hands out keys round-robin:
curl -s -X POST http://127.0.0.1:8851/run -H 'content-type: application/json' \
-d '{"tool":"COMPOSIO_SEARCH_TOOLS","arguments":{"query":"gmail send email"}}'
GET /next — next alive key, GET /stats — counters. Stdlib only, no build, keys masked in UI.
Try it on sample data: python dash/app.py --bank bank.sample.jsonl --port 8850 --rotator 8851
Why a real browser
Composio runs on WorkOS AuthKit hosted (login.composio.dev, deployment hosted-authkit-2f3c943e...).
Pure HTTP replay dies in three places:
- Server-action IDs are per-deploy and live in the RSC flight payload as
{"id":"<42 hex>","bound":null}. Random 40–42 hex tokens that appear "rare" in the HTML are fragments ofsignalsToken(Fe26.2*2*...); POSTing them returns404+x-nextjs-action-not-found: 1. /passkey/enrollinterstitial. The skip control is<button name="intent" value="skip">inside a client component; the form's action ID is not present in the HTML (it lives in a page chunk that Next.js does not ship in the document).createPasskeyChallenge(40bb2612...) is not the submit action — using it returns500./radar-challenge(WorkOS Radar) may appear as an email OTP step.
A real Chrome (headless=False) walks through all three by itself. wave.py only fills fields,
types the OTP and clicks the skip button.
Parsing through Composio itself
composio_parse.py uses the account's Instant allowance instead of any external API key:
EXA_SEARCH(max 10 results, no content add-ons in Instant mode) -> URLsEXA_GET_CONTENTS_ACTIONwithtext: true-> full page text ($0.001 per call, charged from the $2 starter credit)- local regex over the returned text ->
parsed_keys.json
Prerequisites: the $2 starter credit must be claimed, otherwise COMPOSIO_MULTI_EXECUTE_TOOL answers
"The user's Composio wallet is out of credits, so Instant calls are paused". Claim it from the browser
session with the tRPC mutation:
POST /api/trpc/consumer.wallet.claimStarterCredit?batch=1
body {"0":{"json":{"orgId":"<ok_... from starterCreditStatus input>"}}}
-> {"status":"granted","amount_cents":200}
Multi-tool calls take arguments, not params; params is silently dropped and the upstream reports
"missing field 'query'".
Reality check: Exa Instant is semantic search, not a code index. It returns public write-ups, .env.example
files and masked snippets, so yield is low (2 hits per 6 queries x 8 pages). Use it for targeted follow-up on
specific gists/repos, not as a replacement for GitHub code search with aged PATs.
Where to use the keys
See USAGE.md: MCP clients (Claude Code / Codex / Cursor / Hermes / n8n), raw curl tools/call, pool layout across accounts, and concrete scenarios (mail, CRM, dev tickets, docs, research, media, infra).
Files
| file | purpose |
|---|---|
wave.py |
farm N accounts: signup -> OTP -> passkey skip -> key -> bank |
login_one.py |
single existing account: login -> skip -> key (debug/recovery) |
verify_key.py |
check keys against https://connect.composio.dev/mcp |
composio_parse.py |
parse secrets via Composio Instant Exa (search -> contents -> regex) |
USAGE.md |
where and how to apply the keys |
Install
python -m venv venv
venv/Scripts/pip install -r requirements.txt # playwright, requests
Chrome must be installed (C:/Program Files/Google/Chrome/Application/chrome.exe, overridable via
CHROME_PATH). Playwright's bundled Chromium is not used — the flow needs a real browser build.
Pool format
email:imap_password, one per line (t-online IMAP is used to read the OTP):
user001@t-online.de:mailpassword
user002@t-online.de:mailpassword
Run
# farm 5 accounts starting at pool index 10
venv/Scripts/python wave.py --pool pool.txt --start 10 --count 5
# one existing account (login path)
venv/Scripts/python login_one.py user@t-online.de 'AccountPassword' 'MailboxPassword'
Every attempt appends one JSON line to the bank (--bank, default bank/accounts.jsonl):
{"email":"...","imap_pass":"...","password":"...","ok":true,"api_key":"ck_...","workspace":"..._workspace","ts":1794416500}
wave.py re-uses the password stored in the bank for an address it has already touched, so a failed
run can be retried without losing the account.
Using the key
The ck_ key is a consumer key and is only valid as x-consumer-api-key on the MCP endpoint:
curl -X POST https://connect.composio.dev/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-H "x-consumer-api-key: $KEY" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"cli","version":"1"}}}'
tools/list returns 12 meta-tools:
COMPOSIO_SEARCH_TOOLS COMPOSIO_GET_TOOL_SCHEMAS COMPOSIO_MULTI_EXECUTE_TOOL
COMPOSIO_PROXY_EXECUTE COMPOSIO_REMOTE_BASH_TOOL COMPOSIO_REMOTE_WORKBENCH
COMPOSIO_MANAGE_CONNECTIONS COMPOSIO_WAIT_FOR_CONNECTIONS
COMPOSIO_SEARCH_SKILLS COMPOSIO_USE_SKILL COMPOSIO_MANAGE_SKILL
COMPOSIO_SUBMIT_FEEDBACK
Typical call:
curl -X POST https://connect.composio.dev/mcp \
-H 'content-type: application/json' -H 'accept: application/json, text/event-stream' \
-H "x-consumer-api-key: $KEY" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"COMPOSIO_SEARCH_TOOLS","arguments":{"query":"gmail send email"}}}'
Limits and quotas
- Free plan: 10,000 tool calls/month, $2 credits (one-time), 3 members, no card.
- Standard: $18 / seat / month, each seat adds 10,000 tool calls + $18 credits to the shared pool.
backend.composio.dev/api/v3/*requires a project API key or dashboard JWT; theck_consumer key gets401 Auth_NoAuthProvided. Use MCP, not REST./api/trpc/consumer.*on the dashboard works only inside the authenticated browser session — replayed fetches return401 UNAUTHORIZEDbecause tRPC needs the app's own headers.
Pitfalls
- The agent signup lane (
POST https://agents.composio.dev/api/signup) isDEPLOYMENT_PAUSED. - A fresh address must go through
/sign-up(click the "Регистрация / Sign up" link); the entry URLdashboard.composio.dev/f/~/connect/clientslands on the login form, which for an unregistered email just bounces back with "invalid email or password". - After the signup form is submitted the app moves to
/sign-up/password— do not try to fill the email field there, it is not rendered. - One account hammered with wrong passwords enters a WorkOS velocity lock (500 on the password step). Wait 10–15 minutes or use a fresh account.
- OTP mails come from
noreply@login.composio.dev; filter byDate >= run start, otherwise the signup-verification code from an earlier attempt is picked up. - OTP entry: the six visible boxes are Radix
divs, their inner inputs arearia-hiddenand cannot be clicked (Playwright reports "element is obscured"). Focusinput[name="code"]andkeyboard.type(code); the form auto-submits and jumps to/passkey/enroll. Clicking[data-test="otp-input"]withforcedoes NOT register the keystrokes in the React state. andreas-*/andy*addresses in a used pool can already be reserved but passwordless: the signup form reports "Этот адрес электронной почты недоступен" on the password step. Take untouched addresses.- The API key is fetched by intercepting the tRPC
consumer.getTokenresponse (ck_[A-Za-z0-9_-]{16,}) or by clickingCopyand reading the clipboard (needspermissions=["clipboard-read","clipboard-write"]).
Legal
For research on your own accounts. You are responsible for complying with the target's terms of service.
