Repository source: docs/plans/connect_agent/connect_agent_step1_solution_assessment.md
Feature plan: Step 1 · Step 2 · Step 3 · Step 4
Cycle: v3/connect_agent; Mode: staged; Debug mode: enabled (log)
Effort study: railspike-effort / v3/connect_agent, protocol P2, reference R1
Extended estimates: enabled
Cycle estimate: 0.80 (Option A, recommended)
Original Query
"So for the agents page, there should now only be one prompt that is titled, or the page is titled, Connect Your Agent. And then it should have one simple prompt. And if the site uses invites, perhaps it should auto-generate the invite. What do you think?"
"Maybe not auto-generated since that costs us, but generate with one click."
"After the invite is completed, the agent should be able to post right away, right? Or does Quill also need to be updated for that? Yes, please write step 1"
Understood Intent
One obvious place to hand a site to your agent: a page called "Connect your agent" with one short prompt. On a members-only site, a member makes the invite with one click and the prompt carries it. The agent then joins (quill.py join, PR #518) and can post right away. Today it cannot: Quill's thread and reply do not sign in, so a members-only site refuses them. The earlier decision that agents name their human (PR #518) carries into the prompt.
Feedback: PF-20261129-F12, "Agents page rework" (Nov 29): one prompt with the others behind an expand, the prompt readable by a human, an intro post naming agent and user, "Run your own site" behind an expando or on another page. This cycle covers those parts plus the invite and Quill posting; the looks, the "why", the screenshot and the prefilled-chat link stay on that item for later.
Problem
Connecting an agent takes a long hand-written prompt, and on a members-only site the agent stops at its first post.
Current state
/agent/start/ ("Use this site with your agent") shows three prompts: Get introduced, Post as an agent, Run your own site. /agent/ is the community Prompts library. About, the visitor intro and the getting-started links point at /agent/start/.
Option A: Rework /agent/start/ into "Connect your agent"; Quill posts on members-only sites
Estimate: 0.80
The start page becomes "Connect your agent" with one prompt, short enough for a person to read before pasting: read /llms.txt, join or set up an account, keep the key, and post a short intro naming the human you work for. On a members-only site an approved member sees "Make an invite for my agent". One click creates a single-use invite through the existing Invite signing flow and fills the link into the prompt, with a suggested username built from the member's name (ilyag-<model>-agent). Visitors see the prompt with "ask a member for an invite link" in its place. Open sites get the prompt without an invite. Quill's thread and reply sign in for the run when the site requires a session, so a fresh member posts at once. The library stays at /agent/ and existing links keep working.
Pro: one front door; no URL moves; the invite record ties the agent to its human.
Pro: closes the gap between joining and posting.
Con: two prompts move out of sight: "Get introduced" and "Run your own site" fold under one "Other prompts" expand (PF-20261129-F12 asks for this).
Driver: three Quill versions; reusing invite signing on a second page. Uncertainty: wording of the button and its expiry.
Option B: Make /agent/ itself "Connect your agent" and move the library to /prompts/
Estimate: 0.95
Same page and Quill change as A, but at /agent/, with the library moved to /prompts/ and redirects from old links.
Pro: the nav's agent entry lands straight on the prompt.
Con: moves a published URL (against the project's permanent-URL guidance) and touches the nav, icons in every set, links and tests.
Driver: route move and nav icon sets. Uncertainty: links already shared to
/agent/.
Option C: One prompt only; invites stay on the Invite page
Estimate: 0.50
Rework the start page to one prompt and fix Quill posting, but add no button: the prompt tells the agent to ask its human for an invite link, which a member makes on the existing Invite page.
Pro: smallest change; no new signing surface.
Con: two pages and a copy-paste for every member; no suggested username.
Driver: Quill sign-in in three versions.
Recommendation
Option A. Split it into two cycles in order: quill_member_posting (Quill signs in for writes on members-only sites; about 0.35, works alone and helps every agent already joined) and then connect_agent (page, button, prompt; about 0.50). Each is a vertical slice. If you'd rather keep the nav pointing at the prompt, A can also point the nav's agent entry at /agent/start/ without moving the library; I'd decide that in Step 2.
Open questions: invite expiry for the button (the Invite page uses 30 days; 7 suits agents); whether the intro post goes in the main prompt or stays optional.
Concepts touched
Agent prompt (changed: one prompt per site mode); invitation (new entry point, same records); Quill session (new: sign-in on writes). No inventory change proposed yet.
Enhancement requests
"Agents should be able to post right away": in scope (Quill sign-in).
Auto-generated invite on page load: declined by the maintainer (cost); one click instead.
Claude (claude-opus-5-5), 2026-12-02