Skip to content

Teach AI assistants to research domains themselves - #149

Open
p3ob7o wants to merge 3 commits into
mainfrom
agents/domain-research
Open

p3ob7o wants to merge 3 commits into
mainfrom
agents/domain-research

Conversation

@p3ob7o

@p3ob7o p3ob7o commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

An assistant asked to find a domain for a photo blog came up with names but never checked them. It gave the person "Check and price" buttons that opened raw JSON. This PR teaches assistants to do the checking themselves and show the results in the reply.

Changes

  • New page: Domain research for assistants (content/agents/domain-research.mdx, served at /docs/agents/domain-research/), the first page under Agents after the overview. It covers:
    • what an assistant should do, and what it must never do (made-up results, API URLs as buttons, buying without a yes)
    • which requests need no account
    • which tool to use, from MCP with Apps down to no network
    • workflows from a brief, one name, many names, filtering by price, refining, and handing off to buy
    • a field reference, examples of how to present results, and what to do when a check fails
  • Docs homepage: a short "For AI assistants" section. It points to llms.txt, the .md copies of each page, and the new page.
  • llms.txt preamble: the domain section now says what an assistant should do, not only which endpoints exist. The built file is 32,251 bytes, under the 32 KB ceiling.
  • Accuracy fixes:
    • Buy guide and sf domains search page: generated search names come from zone data (availabilityMode: "zone"). Only exact matches and names the person liked or selected get a live check.
    • The single-name availability check is always live.

Tested as an assistant

  • I ran every documented request against production, over REST and through the Spacefast MCP connector. Search's first call came back incomplete 3 times out of 3 and completed on resend; the guide covers this. A vaguely worded refinement got a clarifying question instead of names; the guide says to phrase refinements as instructions.
  • A second assistant, given only the new page and the llms.txt header, walked the brief's 7 prompts in 4 environments: MCP, HTTP, fetch only, and no network. The second commit fixes what it tripped on:
    • MCP needs sign-in, and the page now shows the MCP tool inputs
    • live batches of about 20 names, with JSON paths for retries
    • one consistent example, with .com as the default when no extension is given
    • numbering names so "the second one" stays stable
    • unknown split into "the check didn't finish" and "free but not for sale"
    • never ask the person for an API key

Verified against the implementation and the live API (2026-11-25)

  • The research routes accept requests without a credential (security includes {}, and requireResearchTeamAccess checks only an optional teamId).
  • Per-IP rate limits:
    • 600 availability names a minute, with a batch counting each name
    • 2 searches running at once
    • live batches capped at 80 names and stopped after 15 seconds, after which unchecked names come back unknown
  • The status values and when each applies come from domainAvailabilityStatus. For example, available: true with purchasable: false gives unknown.
  • The example responses are real answers from api.spacefast.com, and the page labels them as examples.
  • my.spacefast.com/domains/buy?domains=a.com,b.com sends the person to sign in and keeps the cart. my.spacefast.com/domains/search?q= opens search with the brief filled in.

Checks

  • verify:prose passes clean.
  • verify:public-safety passes.
  • test:docs: 40 passed (with Vale on PATH).
  • blume check passes.
  • build passes, including route verification. The one exception is verify-built-seo's font-preload check, which failed because this sandbox can't reach api.fontsource.org. CI will run it.

Generated by Claude Code

Add Domain research for assistants: what an assistant should do when
asked for domain names, which requests need no account, which tool to
use in each environment, the workflows from a brief to a purchase
handoff, how to read the fields, how to present results, and what to
do when a check fails.

Point the docs homepage and llms.txt at it, and correct the zone versus
live availability wording in the buy guide and the CLI search page.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 62d71ec0-a029-4e53-b4eb-96e30df70cd6
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

Say that MCP needs sign-in while REST research doesn't, show the MCP
tool inputs, cap live batches at about 20 names, explain search's
clarifying questions and how to number names, separate unfinished
checks from unsellable names, use one coherent example, and keep the
display table to the brief's extension.
@indent

indent Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Issues

All clear! No issues remaining. 🎉

1 issue already resolved
  • The page says anonymous lookups are limited to 600 availability checks a minute per IP, but every anonymous /v1 request also counts against the general 300 requests/minute per-IP cap. Single-name GETs hit a 429 with code rate_limited at 300, and the "send fewer names at once" advice doesn't fix it. (fixed by commit 556865e)
    Found by Indent Review Agent

CI Checks

All required CI checks passed on 556865e.

Review agents

Select any unchecked box below to run or rerun that agent.

Passed (1)
  • Indent Review Agent · No issues found
Full results

Indent Review Agent

  • Summary: No issues found
  • Last ran on commit: 556865e1
  • Latest result
    {
      "summary": "No issues found",
      "findings": []
    }

Comment thread content/agents/domain-research.mdx Resolved

This branch was successfully deployed

1 active deployment
preview/agents/domain-research — 556865e1 Deployed Nov 25, 2026 by spacefast[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants