Quickstart for an AI: set up the agent product for a person
You may do every step for the person. The person does two things only: types a card on the payment page, and clicks an OAuth consent when a step needs one. Every payment is the person's: the card, money added, a seller's invoice. You give the one link. When a step needs the person on another site (a Claude routine on claude.ai, in step 8), give ONE link and stay with the person. You stay in charge: give the link, check the result, and go on. The agent product is on https://agent.linkio.com. Linkio's agents do the link work for the person's brand. You drive the account for the person.
The steps, in order
- Sign up.
POST https://agent.linkio.com/api/signupwithemail,password,name,websiteandfirstMessage(the person's sentence). The answer is202. Do not use www.linkio.com: it makes another product. Every answer: Sign up as an agent. - Verify. Ask the person for the code in the mail "Verify Your Email Address - Linkio", and tell them not to
click the link.
POST https://agent.linkio.com/api/signup/verifywith{"token":"<the code>"}. The answer is201withapiKey(it starts withacc_). Keep it in a file or an environment variable, never in the chat. - Connect.
claude mcp add --transport http linkio https://mcp.linkio.com/mcp --header "Authorization: Bearer <your key>". Other clients: server URLhttps://mcp.linkio.com/mcp, headerAuthorization: Bearer <your key>. account_me. It gives the account and the brands. Ids come from tool results.- Setup. Save what the person told you: the brand with
client_create(name,website), and its pages withtarget_pages_add(autoGenerate: false: keyword writing is a paid step). The market context and the brand brief are two different things.client_market_context_updatesaves the market context (what the brand sells, and to whom).brand_brief_savesaves the brand brief that writers read, andbrand_brief_getreads it. Tell the person which one you saved. - The plan. The plan comes from the setup chat: our agent reasons the mix of pages there. You talk to the setup
chat with your key.
agents_setup_startgives the id of the chat (conversation_id in its answer) (the chat starts at verify when the sign-up had afirstMessage).agents_conversationreads our agent's answer, andagents_replyanswers for the person, with their words and choices. Each answer of our agent takes a few minutes: you can do step 7 meanwhile. Our agent makes the draft plan there. Read the plan withlink_plan_get. The person can open the same chat on https://agent.linkio.com/account/agents with the password you used at sign-up. - Payment.
GET https://agent.linkio.com/api/account/agent-connectionswith your key givesagentPlan.planId.POST https://agent.linkio.com/api/subscriptions/checkoutwith{"planId":"<agentPlan.planId>","isSelfServe":true}answerscheckoutUrl, a Stripe page. Give the person that one link. They type the card there. Then readagentPlan.subscribedfrom the same GET each minute, and go on when it istrue. A404or a410means the agent plan is not open for this account yet: tell the person to write to info@linkio.com. A409means the plan is paid already. - Runtime and Claude login. Our agents run on a Claude login of the person.
activation_statussays where the account stands and names the next step innext. There are two ways. If you run in the person's Claude Code with the Linkio plugin, you can be the runtime. Callagent_connection_addwithkind"claude_code"(over HTTP:POST https://agent.linkio.com/api/account/agent-connectionswith{"runnerTypeKey":"claude_code_pull"}). It needs no routine and no token, and it is Live at once. Then run the plugin's skilllinkio-run-agent-jobson a schedule, for example every 15 minutes. Each run takes the next job withagent_jobs_pulland works it. The agents run while that computer runs the skill. Or use a Claude routine of the person on claude.ai. Give the person one link, https://agent.linkio.com/account/agents/activate: it shows each click, and the routine takes about 5 minutes. Stay with the person. Then save the routine id and its token withagent_connection_add, start the test withagent_connection_test, and read the result withagent_connection_status. Do not repeat the token in your messages, logs or files. The agents start after the payment and a Live Claude login. Callactivation_statusafter each step and do the step that it names. - Mailbox. For outreach from the person's own mailbox, ask one time for the address and its app password.
mail_settings_lookupfinds the mail servers, andown_sender_connectconnects it. If this is not open for the account yet, the tool says so. Do not repeat the password in your messages, logs or files. - Limits.
usage_limits_getreads them. The default monthly budget is $50, a hard stop: paid work stops there. Tell the person this before the agents start. After the person's yes, you change a limit withusage_limits_update(PUT https://agent.linkio.com/api/account/usage-limits): the key from sign-up holds the scopebilling:write. A403SCOPE_DENIEDmeans that your key does not hold the scope (a key from before 2026-11-24, or a key that the person made without it). Then use the account sign-in: the person signs in and allows Linkio one time (an OAuth consent). In claude.ai or ChatGPT that is the Linkio connector (Connect an agent). In Claude Code, a sign-in without the key header is not tested yet. Without the sign-in, the person sets the limit on one link, https://agent.linkio.com/billing#limits. - First sites. Each month our agents search for the plan's sites, check each one and bring it with its price.
Before the first paid search of the month our agent asks one time, with the cost on the card: "Find the sites"
or "Not this month".
account_waiting_listshows the question. Tell the person the cost and wait for their yes. Then answer withaccount_waiting_answer(optionIndex0 starts the search). The usage limits apply the same way as for a tap in the app. Then you read the sites and go on. - The daily loop.
account_waiting_listandaccount_waiting_answerlist and answer the questions of sellers. The questions from our agents:agents_needs_melists them,agents_answergives the button that the person chose (a note can go with it), andagents_replywrites an answer as a sentence. All of these work with your key: it acts as the account owner (scopeagents:answer; the key from sign-up has it), and each answer is recorded as made with an API key. Tell the person what waits and what you suggest. To give our agent an instruction for a brand ("Tell your agent"), send{"text":"<the instruction>"}toPOST https://agent.linkio.com/api/account/agent-home/brands/<brand id>/tellwith your key. - The report.
client_report_sends_listgives the weekly reports, andaccount_activity_feedgives what happened.
Before a paid step, tell the person the cost and wait for their yes. That is a question, not a stop: The rules your agent gets.
Money
Free: the sign-up, the setup chat, the brand, the pages and the draft plan. No card. Paid: the agent plan ($99 a month, with a $30 plan allowance each paid month), each link at its site's price, and the person's own paid claude.ai plan with Claude Code. All of it: The agent plan and what you pay.
What you tell the person
- At the card: "Here is the Stripe page for the Linkio agent plan, $99 a month: <checkoutUrl>. Type your card there. I will see when it is paid and go on."
- At an OAuth consent: "A window from Linkio is open. Please sign in and allow Linkio one time, so I can do this step for you."
- When the person must open a link: "Please open this one link: <link>. I will go on when it is done." Give one link at a time, and say what you do meanwhile. Do not tell the person that you cannot go further.