diff --git a/docs/ai-coder/agent-relay/index.md b/docs/ai-coder/agent-relay/index.md index 848ca6c0b13..a0725bbe301 100644 --- a/docs/ai-coder/agent-relay/index.md +++ b/docs/ai-coder/agent-relay/index.md @@ -6,14 +6,16 @@ Agent Relay connects a cloud-hosted AI coding agent's hosted sessions to self-ho Developers keep the cloud agent's client and workflow. Coder provides the workspace where the agent's tool calls run. -## What Agent Relay does +Agent Relay architecture diagram + +## How Agent Relay works Agent Relay watches for pending agent sessions from a supported provider. When a session starts, Agent Relay provisions a Coder workspace from a mapped template and connects the session to a worker process inside that workspace. The worker executes the agent's tool calls, such as reading files, running commands, and using development tools, against the resources available in that workspace. Agent Relay manages the workspace for the life of the session and tears it down when the session ends. -Agent Relay architecture diagram +Agent Relay workflow diagram ## What Agent Relay is and isn't diff --git a/docs/images/guides/ai-agents/agent-relay-workflow.png b/docs/images/guides/ai-agents/agent-relay-workflow.png new file mode 100644 index 00000000000..75e4be590fe Binary files /dev/null and b/docs/images/guides/ai-agents/agent-relay-workflow.png differ