Skip to content
This repository was archived by the owner on Jul 27, 2026. It is now read-only.

[codex] Prototype add backend with agent flow - #234

Closed
xingyaoww wants to merge 1 commit into
mainfrom
configure-remote-vm-agent
Closed

xingyaoww wants to merge 1 commit into
mainfrom
configure-remote-vm-agent

Conversation

@xingyaoww

Copy link
Copy Markdown
Contributor

Summary

This is a draft prototype for the Add Backend with Agent flow. It is intentionally marked as draft because the remote bootstrap design is still open and tracked in #2312.

What this prototype includes:

  • Adds an Add Backend with Agent action to the backend selector footer.
  • Starts a new conversation with a backend setup prompt as the initial message, then navigates to the new conversation.
  • Introduces a small application prompt registry so future app-owned prompts are not scattered across UI components.
  • Shows backend host and local agent-server version in backend dropdown rows.
  • Shares backend server-info probing between the selector and Manage Backends modal.
  • Adds focused tests for the prompt registry, backend selector action, navigation, current LLM profile usage, and backend version display.

Design Status

This is not the final implementation direction yet. The current prompt is useful for prototyping, but #2312 proposes moving the detailed remote-machine contract into a repo-owned bootstrap script and keeping the prompt much shorter.

Open design questions include:

  • Whether to add a scripts/remote-bootstrap.sh first or eventually publish a CLI/package.
  • Whether the UI should offer an explicit Agent can SSH vs I will run a command manually choice.
  • How much of the remote setup should be auto-added to Manage Backends vs user-confirmed.
  • What process manager story should be used for long-running remote installs.

Validation

  • npm test -- __tests__/components/backends/backend-selector.test.tsx __tests__/prompts/application-prompts.test.ts __tests__/api/agent-server-adapter.test.ts
  • npm run typecheck
  • npm run build
  • Browser smoke check: clicking Add Backend with Agent creates a conversation, sends the setup prompt as initial_message, and navigates to the created conversation.

Related to #2312.

@vercel

vercel Bot commented May 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-canvas Ready Ready Preview, Comment May 9, 2026 7:07pm

Request Review

This branch was successfully deployed

1 active deployment
Preview — 085b1145 Deployed May 9, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant