Skip to content

Describe how agents discover connectors on both Sprite generations - #288

Draft
aezell wants to merge 2 commits into
mainfrom
alex/connectors-agent-discovery
Draft

aezell wants to merge 2 commits into
mainfrom
alex/connectors-agent-discovery

Conversation

@aezell

@aezell aezell commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

What

Brings concepts/connectors.mdx in line with what Sprites ship and how agents discover connectors once the PRs listed below land.

Two claims on the page were wrong: that every Sprite ships the sprite-api-gateway skill (current-generation Sprites ship a sprite skill plus /.fly/AGENTS.md and reach the gateway at http://sprite.internal, not https://api.sprites.dev), and that GET /v1/gateway/list already returns a setup_url (it does only after superfly/sprites-api#2059).

  • Calling a connector from a Sprite now gives the gateway URL for both generations and says where sprite-env connectors find prints it. The "How it works" bullet no longer hard-codes the api.sprites.dev host.
  • Using connectors with a coding agent is rewritten around sprite-env connectors find <service or host>: the four match outcomes (connected, restricted, available, none) and what the agent does with each, when the shipped guidance tells the agent to run it (before asking for an API key, when a task names a third-party service, on an upstream 401/403, on an egress denial), the rule never to ask the user to paste a credential into the Sprite, the three buckets of GET /v1/gateway/list with the fields a reader cares about (gateway_base_url, manage_url, access_reason, setup_url, auth_kind, upstream_host), and what setup_url pre-fills. It says plainly that the link pre-fills a form a human submits and does not grant access by itself, that the restricted bucket is visible to every Sprite in the organization, and that an agent proposing a Custom API connector gives the base URL and the header the credential belongs in.
  • Policy semantics, allow/block lists, managed providers, the playground, and the API section are unchanged.

docs.json, integrations/agent-plugins.mdx, integrations/platform-integrations.mdx, and concepts/networking.mdx do not mention sprite-api-gateway, gateway/list, or setup_url, so they needed no change. The generated API reference is untouched.

Depends on

This page describes behavior that ships in these PRs, so it should merge after they do:

  • superfly/sprites-api#2059 (restricted bucket, setup_url, auth_kind, upstream_host, dashboard links)
  • superfly/s2_host#286 (sprite-env connectors for current Sprites, AGENTS.md and sprite skill guidance)
  • superfly/sprite-env#1086 (sprite-env connectors for classic Sprites)
  • Rewrite the sprite-api-gateway skill around sprite-env connectors find sprites-images#34 (rewritten sprite-api-gateway skill for classic Sprites)
  • superfly/ui-ex#7030 (dashboard honors ?type=<provider>&sprite=<name> on Add connector)

Verification

  • Vale (jdkato/vale via Docker, repo .vale.ini): 0 errors, 0 warnings, 0 suggestions on the page.
  • mint broken-links: no broken links in this page. The three it reports (api/index.mdx, integrations/claude-managed-agents.mdx, src/content/docs/api/index.mdx) are pre-existing on main.
  • Rendered with mint dev and checked the page in a browser: headings, the match table, the Tip, and the in-page anchors all render.

🤖 Generated with Claude Code

The connectors page claimed every Sprite ships the sprite-api-gateway
skill and that the gateway list already returns setup_url. Neither
holds for the current generation, and setup_url only lands with
sprites-api#2059.

Rewrite the coding-agent section around `sprite-env connectors find`,
the three buckets of GET /v1/gateway/list (connections, restricted,
available) and what setup_url pre-fills, and give the gateway URL for
both generations (http://sprite.internal from current Sprites,
https://api.sprites.dev from classic ones).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@aezell
aezell requested a review from a team as a code owner November 20, 2026 18:23
@mintlify

mintlify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
fly-io 🟢 Ready View Preview Nov 20, 2026, 6:53 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

`GET /v1/gateway/list` lists every provider the organization may add under
`available`, whether or not a connection to it already exists; only
`sprite-env connectors find`'s ranking makes an `available` match mean that
nothing usable or visible was found first. The page said the bucket held
providers nobody had connected, which the classic-image skill already
corrected.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
staging — e640c637 Deployed Nov 20, 2026 by mintlify[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.

1 participant