diff --git a/ui/src/components/AgentConfigForm.tsx b/ui/src/components/AgentConfigForm.tsx
index c6e48cd0..5dab6a1e 100644
--- a/ui/src/components/AgentConfigForm.tsx
+++ b/ui/src/components/AgentConfigForm.tsx
@@ -717,36 +717,32 @@ export function AgentConfigForm(props: AgentConfigFormProps) {
)}
>
)}
-
-
- isCreate
- ? set!({ bootstrapPrompt: v })
- : mark("adapterConfig", "bootstrapPromptTemplate", v || undefined)
- }
- placeholder="Optional initial setup prompt for the first run"
- contentClassName="min-h-[44px] text-sm font-mono"
- imageUploadHandler={async (file) => {
- const namespace = isCreate
- ? "agents/drafts/bootstrap-prompt"
- : `agents/${props.agent.id}/bootstrap-prompt`;
- const asset = await uploadMarkdownImage.mutateAsync({ file, namespace });
- return asset.contentPath;
- }}
- />
-
-
- Bootstrap prompt is only sent for fresh sessions. Put stable setup, habits, and longer reusable guidance here. Frequent changes reduce the value of session reuse because new sessions must replay it.
-
+ {!isCreate && typeof config.bootstrapPromptTemplate === "string" && config.bootstrapPromptTemplate && (
+ <>
+
+
+ mark("adapterConfig", "bootstrapPromptTemplate", v || undefined)
+ }
+ placeholder="Optional initial setup prompt for the first run"
+ contentClassName="min-h-[44px] text-sm font-mono"
+ imageUploadHandler={async (file) => {
+ const namespace = `agents/${props.agent.id}/bootstrap-prompt`;
+ const asset = await uploadMarkdownImage.mutateAsync({ file, namespace });
+ return asset.contentPath;
+ }}
+ />
+
+
+ Bootstrap prompt is legacy and will be removed in a future release. Consider moving this content into the agent's prompt template or instructions file instead.
+
+ >
+ )}
{adapterType === "claude_local" && (
)}