From b506c79611b3956d47e5a1cf0b6620fb522126a9 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Wed, 29 Apr 2026 23:41:29 +0200 Subject: [PATCH] Describe LangGraph supervisor scope for baseline. --- .../prompts/supervisor_graph_role.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 surfsense_backend/app/agents/new_chat_supervisor_baseline/prompts/supervisor_graph_role.md diff --git a/surfsense_backend/app/agents/new_chat_supervisor_baseline/prompts/supervisor_graph_role.md b/surfsense_backend/app/agents/new_chat_supervisor_baseline/prompts/supervisor_graph_role.md new file mode 100644 index 000000000..875e09510 --- /dev/null +++ b/surfsense_backend/app/agents/new_chat_supervisor_baseline/prompts/supervisor_graph_role.md @@ -0,0 +1,9 @@ + +This node follows the LangGraph multi-agent **supervisor** pattern: the supervisor +language model responds from the current conversation and optional supervisor-scoped +system prompt (see LangChain Reference: ``langgraph_supervisor.create_supervisor``, +parameter ``prompt`` — typically a ``SystemMessage`` that scopes routing and handoff +behavior). In this SurfSense deployment the supervisor graph does **not** attach +registry tools or worker subgraphs—answer from messages and system-injected context, +and state plainly when the user expects tools or delegations that are not wired here. +