Skip to content

docs: update Agent Relay docs for GA and v0.17.0 - #32552

Merged
nickvigilante merged 1 commit into
mainfrom
nicholasvigilante/docs-1797-update-agent-relay-documentation
Nov 24, 2026
Merged

nickvigilante merged 1 commit into
mainfrom
nicholasvigilante/docs-1797-update-agent-relay-documentation

Conversation

@nickvigilante

Copy link
Copy Markdown
Collaborator

Updates the Agent Relay docs for general availability and for agent-relay v0.17.0, and adds the version requirements table from RELAY-61.

  • Beta to GA: the sidebar state goes from [premium, beta] to [premium], and every page drops its beta callout.
    The monitoring and SIEM notes now say metric names, log messages, and fields can change between releases, and tell readers to review alerts when they upgrade.
    Anthropic's own "public beta" line for self-hosted environments stays, because Anthropic's docs still say public beta.
  • Version requirements: setup.md gets one table of minimum versions for Coder, Agent Relay, the Terraform provider, both modules, and the Claude Code CLI.
    The "v0.16.0 or later" qualifiers across the pages are removed, because the table sets a single GA baseline.
    Module examples move to 1.0.1, the latest tag. Its only change from 1.0.0 is in the README.
  • v0.17.0, Claude Code poll loop (agent-relay#189): after it handles a session, a pool claims the next one right away and waits 5 seconds only after an empty or failed poll.
    The "one session every 5 seconds" claim and the provisioner sizing formula that depended on it are replaced in claude-code.md.
    siem.md lists the renamed backoff log field, which replaces interval.
  • v0.17.0, redelivery (agent-relay#165): if Anthropic redelivers a session while its previous workspace still has a start build or a delete in progress, Agent Relay fails the session instead of building again.
    This is covered in the build budget, setup failure, and reap delay text, plus a new troubleshooting entry.
  • install_cli: the docs no longer say install_cli = true removes the Claude Code CLI minimum.
    The modules skip the install when a CLI is already on PATH and never upgrade it.

Open questions

  • GA versions (Steven Masley, per RELAY-61): the table uses the latest versions as of today: Coder 2.39, Agent Relay v0.17.0, Terraform provider v2.20.0, and modules 1.0.0.
    If GA ships with newer releases, the table, the early access upgrade steps, and the claude-code.md/cursor.md module notes need the new numbers.
  • Stability at GA: should the monitoring and SIEM pages promise anything about metric and log stability, or does "can change between releases" stay?
  • Backport: the v0.16.0 docs were backported to release/2.39 (docs: backport Agent Relay docs for v0.16.0 to 2.39 #32122). This PR probably needs the same once the GA versions are settled.

Related: #32519 adds a section to claude-code.md in a different part of the page. It shouldn't conflict.

Verification notes and decision log

Verified against agent-relay v0.16.0...v0.17.0:

  • serviceclaudecoderunners/poller.go pollLoop: drain polls again right after each handled hint (maxHintsPerPoll = 1). pollIntervalDefault (5s) is the startup delay and the backoff after ErrEmptyPoll, a retryable poll error, or a license lapse. The relay sets no limit on concurrent builds (README, Claude Code pools).
  • workspacedispatcher/dispatcher.go reconcile: with TerminalOnUnfinishedBuild (set to redelivered(hint.Attempt) in serviceclaudecoderunners/dispatch.go), blocksRedelivery (START or DELETE pending, starting, or canceling, or deleting) sends the non-retryable nack agent-relay: the previous workspace was not ready for this session; send a new message to retry and logs redelivery found a predecessor build or delete in progress, failing current work order. retirePredecessorLocked runs only for a START that isn't deleting. It cancels the build through settleBuild, then deletes the workspace. A running delete is left alone.
  • A new message is a first delivery, and AwaitDeleting: true makes it wait for the delete and then build fresh.
  • poller.go: the poll loop started record's field is now backoff. No other code emits interval.
  • No CLI flags, environment variables, Helm values, or metric names changed between v0.16.0 and v0.17.0.
  • Registry agent-relay-{claude-code,cursor} v1.0.1 main.tf install_cli: "A CLI already in the image is used as is and never upgraded."

Decisions:

Checks: make lint/emdash, make lint/docs-manifest, make lint/docs-html, markdownlint, and Vale (no new alerts compared with main).
A doc-check self-check found 3 blocking accuracy findings: the install_cli wording twice, and the redelivery cleanup wording. All 3 are fixed.

Refs DOCS-1797, RELAY-61

Generated by Coder Agents on behalf of @nickvigilante.

Agent Relay moves from beta to general availability. Drop the beta
state and callouts, and document the agent-relay v0.17.0 behavior
changes: Claude Code pools drain waiting sessions before backing off
(agent-relay#189), and a redelivered session whose previous workspace
still has a start build or delete in progress fails instead of
rebuilding (agent-relay#165).

Add a version requirements table in place of the scattered version
prose, per RELAY-61.

Refs DOCS-1797
@linear-code

linear-code Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

RELAY-61

DOCS-1797

@nickvigilante
nickvigilante marked this pull request as ready for review November 20, 2026 18:11
@nickvigilante
nickvigilante requested a review from dluman November 20, 2026 18:11
Comment thread docs/agent-relay/setup.md
| Coder Terraform provider | v2.20.0 | Needed for script ordering. |
| `coder/agent-relay-claude-code` module | 1.0.0 | Receives the credential as a workspace build secret. |
| `coder/agent-relay-cursor` module | 1.0.0 | Receives the credential as a workspace build secret. |
| Claude Code CLI in the workspace image | 2.1.224 | Not needed when the image has no Claude Code CLI and you set `install_cli = true`. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing a row for the cursor-agent binary version.

@nickvigilante

Copy link
Copy Markdown
Collaborator Author

@BobbyHo @Emyrk Atif's review comment on docs/agent-relay/setup.md asks for a Cursor CLI row in the version requirements table, next to the Claude Code CLI row.

What is the minimum Cursor CLI (cursor-agent) version that Agent Relay supports?
The docs say Cursor rejects an outdated agent CLI, but I couldn't find a minimum in the relay or the agent-relay-cursor module.
If Cursor enforces it server-side, please say so and point me to where the version is documented.
If there's no fixed minimum, I'll describe it as "latest available" with a note that Cursor rejects outdated CLIs.

Generated by Coder Agents on behalf of @nickvigilante.

@nickvigilante
nickvigilante merged commit 005d5a8 into main Nov 24, 2026
71 of 72 checks passed
@nickvigilante
nickvigilante deleted the nicholasvigilante/docs-1797-update-agent-relay-documentation branch November 24, 2026 18:42
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2026

This branch had an error being deployed

1 failed deployment
docs-preview — 38faed62 Deployed Nov 24, 2026 by nickvigilante via cleanup #446
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants