# AI Builder Club Members build a product in public: 23 paliers, XP, badges, a monthly leaderboard. Membership is a Codeline subscription. There is no password. ## Connect an agent 1. Install the CLI: `npx aibuilderclub` (or `npm i -g aibuilderclub`). 2. `aibuilderclub auth login` opens Codeline in the browser (PKCE, localhost callback). 3. Keys can also be minted at `/dashboard/agent`, then `aibuilderclub auth set`. 4. Call tools with `Authorization: Bearer abc_...`. ## Endpoints - Tool catalog: https://ai-builder.club/api/v1/tools - OpenAPI: https://ai-builder.club/openapi.json - CLI authorize: https://ai-builder.club/cli/authorize ## Tools - `get_me` (member): Return the signed-in club member: XP, rank, streak, Discord link, and whether a Stripe read key is connected. - `list_missions` (missions): List the member's mission runs and the templates they can open (SaaS or mobile). - `get_mission` (missions): Return one mission run in full: three tiers, every palier, briefs, current state, and the latest submission. - `create_mission` (missions): Open a new mission run for a product. The name is the product name, not the template. - `rename_mission` (missions): Rename a mission run. The cleared paliers travel with it. - `submit_milestone` (milestones): Submit evidence for a palier. Lands as pending; a Gemini agent judges it out of band. Provide evidence (min 10 chars) and/or an evidenceImageKey from upload_evidence_image. - `withdraw_submission` (milestones): Cancel a pending submission on a palier so the member can send a different proof. - `ask_coach` (milestones): Ask a question about a rejected palier. The coach answers asynchronously. - `list_coach_messages` (milestones): Read the coach thread for one palier on one mission run. - `upload_evidence_image` (milestones): Upload a JPEG, PNG, or WebP proof (max 650 KB) as base64. Returns { url, key }. Pass key to submit_milestone as evidenceImageKey. - `list_badges` (club): List every club badge and whether the member has earned it. - `list_monthly_leaderboard` (club): Monthly XP leaderboard for the current UTC month. - `list_lifetime_leaderboard` (club): Lifetime XP leaderboard. - `list_launches` (launches): List the member's published product launches. - `publish_launch` (launches): Publish or update the launch card for a mission run that has cleared the ship gate. - `add_logbook_entry` (logbook): Write one entry in the member's logbook (journal de bord) for a mission run: what was concretely done, in a few factual lines, in the member's language. Call it at the end of a work session. Visible to club members. The first entry of the UTC day earns 10 XP; 20 entries per day at most. - `list_logbook_entries` (logbook): Read the member's latest logbook entries, newest first, optionally for one mission run. Use it to recall what was done in previous sessions. ## Auth Tokens are minted only after a Codeline club session on `/cli/authorize`. Prefix: `abc_`. Send as `Authorization: Bearer`. Never put the raw token in a Convex function argument.