🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat: rename Langfuse Assistant to Halo (#18898)
Lotte Verheyden5891c17f78ef
diff --git a/packages/shared/src/in-app-agent/server/persistence.ts b/packages/shared/src/in-app-agent/server/persistence.tsindex 4db85e0536..ce513ff62e 100644--- a/packages/shared/src/in-app-agent/server/persistence.ts+++ b/packages/shared/src/in-app-agent/server/persistence.ts@@ -43,7 +43,7 @@ import { IN_APP_AGENT_SANDBOX_TOOL_NAMES } from "./mcpPolicy";import { getToolFailureMessage } from "./toolErrors";export const ACTIVE_RUN_CONFLICT_MESSAGE =- "Assistant is already responding in this conversation";+ "Halo is already responding in this conversation";/** Owner-only authorization with a non-enumerating failure. */export function assertOwnedConversation(params: {diff --git a/packages/shared/src/in-app-agent/server/runLifecycle.test.ts b/packages/shared/src/in-app-agent/server/runLifecycle.test.tsindex 21d844010c..7054b07035 100644--- a/packages/shared/src/in-app-agent/server/runLifecycle.test.ts+++ b/packages/shared/src/in-app-agent/server/runLifecycle.test.ts@@ -336,7 +336,7 @@ describe("in-app agent run lifecycle races", () => {runId: "run-1",},}),- ).rejects.toThrow("Assistant is already responding in this conversation");+ ).rejects.toThrow("Halo is already responding in this conversation");expect(metricMocks.recordRunTerminalOutcome).not.toHaveBeenCalled();});});diff --git a/packages/shared/src/in-app-agent/server/systemPrompt.ts b/packages/shared/src/in-app-agent/server/systemPrompt.tsindex 2041b080e9..ee1860ddfe 100644--- a/packages/shared/src/in-app-agent/server/systemPrompt.ts+++ b/packages/shared/src/in-app-agent/server/systemPrompt.ts@@ -5,7 +5,7 @@// Clock, user, and screen context are appended per model call, not compiled// into this template, so they do not invalidate the cached tools+system prefix.export const IN_APP_AGENT_SYSTEM_PROMPT_TEMPLATE = `<identity>-You are an assistant called Langfuse Assistant.+You are an assistant called Langfuse Halo.Your role is to assist users with tasks in the Langfuse Cloud product.</identity>diff --git a/web/src/components/nav/in-app-ai-agent-button.tsx b/web/src/components/nav/in-app-ai-agent-button.tsxindex 051dd636fc..ff05b7381c 100644--- a/web/src/components/nav/in-app-ai-agent-button.tsx+++ b/web/src/components/nav/in-app-ai-agent-button.tsx@@ -1,6 +1,5 @@/* eslint-disable @repo/component-file-structure */import { useCallback, useEffect } from "react";-import { BotMessageSquare } from "lucide-react";import { Button } from "@/src/components/ui/button";import { KeyboardShortcut } from "@/src/components/design-system/KeyboardShortcut/KeyboardShortcut";@@ -8,6 +7,7 @@ import {useInAppAiAgent,type InAppAgentEntryPoint,} from "@/src/features/in-app-agent";+import { HaloIcon } from "@/src/features/in-app-agent/components/HaloIcon";import { cn } from "@/src/utils/tailwind";/** Launcher only — the assistant window itself is rendered by@@ -68,7 +68,7 @@ export const InAppAiAgentButton = ({variant="outline"// Count lives on the button name — a nested badge aria-label is ignored// once the parent already has aria-label.- aria-label={`${open ? "Close" : "Open"} assistant${attentionSuffix}`}+ aria-label={`${open ? "Close" : "Open"} Halo${attentionSuffix}`}aria-pressed={open}data-ignore-outside-interactiononClick={() => toggleAssistant("top_nav")}@@ -94,9 +94,7 @@ export const InAppAiAgentButton = ({"border-primary-accent bg-primary-accent/10 hover:bg-primary-accent/15",)}>- <BotMessageSquare- className={cn("icon-base", prominent && open && "text-primary-accent")}- />+ <HaloIcon variant={prominent && open ? "launcherActive" : "launcher"} />{/* Conversations still owed a look. Anchored to the button rather thanthe icon so it survives the prominent (icon-only) variant. Visualonly — accessible name is on the button. */}@@ -113,7 +111,7 @@ export const InAppAiAgentButton = ({reveal in the 640–767px band and overflow the box. */}{!prominent && (<>- <span className="hidden sm:inline">Assistant</span>+ <span className="hidden sm:inline">Halo</span><span className="hidden md:inline-flex"><KeyboardShortcut variant="subtle" keys={["Mod", "I"]} /></span>diff --git a/web/src/features/evals/pages/remap-evaluator.tsx b/web/src/features/evals/pages/remap-evaluator.tsxindex 759a3edf96..d49a3924ca 100644--- a/web/src/features/evals/pages/remap-evaluator.tsx+++ b/web/src/features/evals/pages/remap-evaluator.tsx@@ -184,7 +184,7 @@ export default function RemapEvaluatorPage() {? [{type: "button" as const,- label: "Use Assistant to help with upgrade",+ label: "Use Halo to help with upgrade",icon: BotMessageSquare,onClick: handleUseAssistant,},diff --git a/web/src/features/in-app-agent/components/HaloIcon.tsx b/web/src/features/in-app-agent/components/HaloIcon.tsxnew file mode 100644index 0000000000..815556dbf5--- /dev/null+++ b/web/src/features/in-app-agent/components/HaloIcon.tsx@@ -0,0 +1,36 @@+const haloIconClassNames = {+ launcher: "icon-base",+ launcherActive: "icon-base text-primary-accent",+ emptyState: "text-muted-foreground icon-xl mx-auto",+ activityAccent: "text-primary-accent icon-base mt-0.5 shrink-0",+ activityDestructive: "text-destructive icon-base mt-0.5 shrink-0",+ notice: "icon-sm shrink-0",+} as const;++/** Brand icon for Halo, based on the supplied 24px artwork. */+export function HaloIcon({ variant }: HaloIconProps) {+ return (+ <svg+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ strokeWidth="1.25"+ strokeLinecap="round"+ strokeLinejoin="round"+ className={haloIconClassNames[variant]}+ aria-hidden="true"+ >+ <ellipse cx="12" cy="5" rx="5" ry="1.5" />+ <path d="M8.8 18.8 5.6 22V10.8a1.6 1.6 0 0 1 1.6-1.6h9.6a1.6 1.6 0 0 1 1.6 1.6v6.4a1.6 1.6 0 0 1-1.6 1.6Z" />+ <path d="M4 14h1.6" />+ <path d="M9.6 13.2v1.6" />+ <path d="M14.4 13.2v1.6" />+ <path d="M18.4 14h1.6" />+ </svg>+ );+}++type HaloIconProps = {+ variant: keyof typeof haloIconClassNames;+};diff --git a/web/src/features/in-app-agent/components/InAppAgentActivityCards.tsx b/web/src/features/in-app-agent/components/InAppAgentActivityCards.tsxindex ab2920386c..fdbaeed8b8 100644--- a/web/src/features/in-app-agent/components/InAppAgentActivityCards.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentActivityCards.tsx@@ -1,8 +1,8 @@-import { BotMessageSquare, X } from "lucide-react";+import { X } from "lucide-react";import { Button } from "@/src/components/ui/button";-import { cn } from "@/src/utils/tailwind";import type { InAppAgentActivityState } from "@/src/features/in-app-agent/lib/inAppAgentActivity";+import { HaloIcon } from "@/src/features/in-app-agent/components/HaloIcon";export type InAppAgentActivityCard = {conversationId: string;@@ -13,20 +13,20 @@ export type InAppAgentActivityCard = {};function getCardCopy(state: InAppAgentActivityCard["state"]) {- // Lead with "Assistant" so the toast reads as the same product as the- // launcher (BotMessageSquare), not a generic system alert.+ // Lead with "Halo" so the toast reads as the same product as the+ // launcher icon, not a generic system alert.if (state === "approval") {return {- label: "Assistant needs your approval",+ label: "Halo needs your approval",tone: "accent" as const,};}if (state === "failed-unread") {- return { label: "Assistant run failed", tone: "destructive" as const };+ return { label: "Halo run failed", tone: "destructive" as const };}- return { label: "Assistant finished", tone: "accent" as const };+ return { label: "Halo finished", tone: "accent" as const };}/** Pure floating stack: ordering/cap live here; callers own delivery lifecycle. */@@ -51,14 +51,12 @@ export function InAppAgentActivityCards({role="status"className="bg-background pointer-events-auto flex items-start gap-2 rounded-md border p-3 shadow-lg">- <BotMessageSquare- className={cn(- "icon-base mt-0.5 shrink-0",+ <HaloIcon+ variant={tone === "destructive"- ? "text-destructive"- : "text-primary-accent",- )}- aria-hidden+ ? "activityDestructive"+ : "activityAccent"+ }/><buttontype="button"diff --git a/web/src/features/in-app-agent/components/InAppAgentBackgroundHint.tsx b/web/src/features/in-app-agent/components/InAppAgentBackgroundHint.tsxindex e9624cafd9..1177514de1 100644--- a/web/src/features/in-app-agent/components/InAppAgentBackgroundHint.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentBackgroundHint.tsx@@ -1,8 +1,9 @@-import { BotMessageSquare, Minus } from "lucide-react";+import { Minus } from "lucide-react";import { Button } from "@/src/components/ui/button";import { KeyboardShortcut } from "@/src/components/design-system/KeyboardShortcut/KeyboardShortcut";import { InAppAgentNotice } from "@/src/features/in-app-agent/components/InAppAgentNotice";+import { HaloIcon } from "@/src/features/in-app-agent/components/HaloIcon";/*** Transient nudge that the run keeps going without the drawer. Lives in the@@ -17,9 +18,7 @@ export function InAppAgentBackgroundHint({}) {return (<InAppAgentNotice- icon={- <BotMessageSquare aria-hidden="true" className="icon-sm shrink-0" />- }+ icon={<HaloIcon variant="notice" />}isExpanded={isExpanded}role="status"tone="neutral"@@ -28,7 +27,7 @@ export function InAppAgentBackgroundHint({type="button"variant="ghost"size="sm"- aria-label="Minimize assistant"+ aria-label="Minimize Halo"className="-my-0.5 h-5 shrink-0 gap-1 px-1"onClick={onMinimize}>diff --git a/web/src/features/in-app-agent/components/InAppAgentDisabledDialog.tsx b/web/src/features/in-app-agent/components/InAppAgentDisabledDialog.tsxindex 2c65c179ad..f38effd21a 100644--- a/web/src/features/in-app-agent/components/InAppAgentDisabledDialog.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentDisabledDialog.tsx@@ -31,7 +31,7 @@ export function InAppAgentDisabledDialog({onOpenChange(false);}}>- The Langfuse Assistant requires AI features to be enabled for this+ Langfuse Halo requires AI features to be enabled for thisorganization.</AIFeaturesDisabledNotice></DialogBody>diff --git a/web/src/features/in-app-agent/components/InAppAgentExecution.clienttest.tsx b/web/src/features/in-app-agent/components/InAppAgentExecution.clienttest.tsxindex 205727424e..54686d6987 100644--- a/web/src/features/in-app-agent/components/InAppAgentExecution.clienttest.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentExecution.clienttest.tsx@@ -1042,10 +1042,9 @@ describe("in-app agent execution", () => {);renderExecutionUi();- fireEvent.change(- screen.getByRole("textbox", { name: "Message the assistant" }),- { target: { value: "Investigate this" } },- );+ fireEvent.change(screen.getByRole("textbox", { name: "Message Halo" }), {+ target: { value: "Investigate this" },+ });fireEvent.click(screen.getByRole("button", { name: "Send message" }));const stopButton = await screen.findByRole("button", { name: "Stop run" });@@ -1064,7 +1063,7 @@ describe("in-app agent execution", () => {expect(queryActivityIndicator()).not.toBeInTheDocument();const textbox = screen.getByRole("textbox", {- name: "Message the assistant",+ name: "Message Halo",});fireEvent.change(textbox, { target: { value: "Start a new analysis" } });const sendButton = screen.getByRole("button", { name: "Send message" });@@ -1138,7 +1137,7 @@ describe("in-app agent concurrent conversations", () => {fireEvent.click(newConversationButton);const input = await screen.findByRole("textbox", {- name: "Message the assistant",+ name: "Message Halo",});fireEvent.change(input, { target: { value: "Second question" } });const form = input.closest("form");@@ -1175,7 +1174,7 @@ describe("in-app agent concurrent conversations", () => {renderExecutionUi();const input = screen.getByRole("textbox", {- name: "Message the assistant",+ name: "Message Halo",});fireEvent.change(input, { target: { value: "First question" } });fireEvent.click(screen.getByRole("button", { name: "Send message" }));@@ -1247,7 +1246,7 @@ describe("in-app agent concurrent conversations", () => {renderExecutionUi();const input = screen.getByRole("textbox", {- name: "Message the assistant",+ name: "Message Halo",});fireEvent.change(input, { target: { value: "First question" } });fireEvent.click(screen.getByRole("button", { name: "Send message" }));diff --git a/web/src/features/in-app-agent/components/InAppAgentInternalSessionMenu.tsx b/web/src/features/in-app-agent/components/InAppAgentInternalSessionMenu.tsxindex d8fbd9c1d3..1dd2bba0ea 100644--- a/web/src/features/in-app-agent/components/InAppAgentInternalSessionMenu.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentInternalSessionMenu.tsx@@ -43,7 +43,7 @@ function getOpenSessionItem({}if (!telemetryProjectId) {return unavailable(- "Assistant telemetry is not recorded for this organization or instance.",+ "Halo telemetry is not recorded for this organization or instance.",);}return {diff --git a/web/src/features/in-app-agent/components/InAppAgentMessage.tsx b/web/src/features/in-app-agent/components/InAppAgentMessage.tsxindex e3f530e72a..3294942d40 100644--- a/web/src/features/in-app-agent/components/InAppAgentMessage.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentMessage.tsx@@ -444,7 +444,7 @@ function InAppAgentReasoningBlock({// the drawer's auto-follow keeps the newest text visible while// streaming, and the block collapses when streaming ends.<div- aria-label="Assistant reasoning"+ aria-label="Halo reasoning"data-testid="in-app-agent-reasoning-content"className={cn(// Vertical spacing is margin, not padding, so the left borderdiff --git a/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.clienttest.tsx b/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.clienttest.tsxindex ccb3b3dfdc..e4c96bfef0 100644--- a/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.clienttest.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.clienttest.tsx@@ -28,7 +28,7 @@ describe("InAppAgentWidgetComposer", () => {target: { value: " Show p95 latency by model " },});fireEvent.click(- screen.getByRole("button", { name: "Add with Langfuse Assistant" }),+ screen.getByRole("button", { name: "Add with Langfuse Halo" }),);await waitFor(() => {@@ -55,7 +55,7 @@ describe("InAppAgentWidgetComposer", () => {});expect(- screen.getByRole("button", { name: "Add with Langfuse Assistant" }),+ screen.getByRole("button", { name: "Add with Langfuse Halo" }),).toBeDisabled();});@@ -73,7 +73,7 @@ describe("InAppAgentWidgetComposer", () => {target: { value: "Show p95 latency" },});const submitButton = screen.getByRole("button", {- name: "Add with Langfuse Assistant",+ name: "Add with Langfuse Halo",});expect(submitButton).toBeEnabled();@@ -99,7 +99,7 @@ describe("InAppAgentWidgetComposer", () => {const input = screen.getByLabelText("Describe the widget you want");fireEvent.change(input, { target: { value: "Show error rate" } });fireEvent.click(- screen.getByRole("button", { name: "Add with Langfuse Assistant" }),+ screen.getByRole("button", { name: "Add with Langfuse Halo" }),);await waitFor(() => {diff --git a/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.tsx b/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.tsxindex 45421a28d4..f560c1279f 100644--- a/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentWidgetComposer.tsx@@ -71,11 +71,11 @@ export function InAppAgentWidgetComposer({><div className="flex items-center gap-2 font-bold"><Sparkles className="icon-base" />- Add with Langfuse Assistant+ Add with Langfuse Halo</div><p className="text-muted-foreground text-xs">- Describe the chart you need. The Assistant will create it as a widget- and add it to this dashboard.+ Describe the chart you need. Halo will create it as a widget and add it+ to this dashboard.</p><div className="flex items-end gap-2"><Textarea@@ -97,7 +97,7 @@ export function InAppAgentWidgetComposer({size="icon"className="h-8 w-8 shrink-0 rounded-md border"variant="outline"- aria-label="Add with Langfuse Assistant"+ aria-label="Add with Langfuse Halo"disabled={!request.trim()}><SendHorizontal className="icon-base text-icon-foreground" />diff --git a/web/src/features/in-app-agent/components/InAppAgentWindow.clienttest.tsx b/web/src/features/in-app-agent/components/InAppAgentWindow.clienttest.tsxindex c4d37b21dc..ae1d79bedd 100644--- a/web/src/features/in-app-agent/components/InAppAgentWindow.clienttest.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentWindow.clienttest.tsx@@ -300,14 +300,14 @@ describe("InAppAgentWindow header", () => {}),);- expect(screen.getByText("Assistant")).toBeInTheDocument();+ expect(screen.getByText("Halo")).toBeInTheDocument();});it("toggles expanded on a header double-click, but not from its actions", () => {const onExpandedChange = vi.fn();render(windowElement({ onExpandedChange }));- fireEvent.dblClick(screen.getByText("Assistant"));+ fireEvent.dblClick(screen.getByText("Halo"));expect(onExpandedChange).toHaveBeenCalledWith(true);fireEvent.dblClick(@@ -349,7 +349,7 @@ describe("ControlledInAppAgentWindow composer", () => {);const input = screen.getByRole("textbox", {- name: "Message the assistant",+ name: "Message Halo",});fireEvent.change(input, { target: { value: "Follow up" } });@@ -382,9 +382,7 @@ describe("ControlledInAppAgentWindow composer", () => {</TooltipProvider>,);- expect(- screen.getByRole("textbox", { name: "Message the assistant" }),- ).toBeEnabled();+ expect(screen.getByRole("textbox", { name: "Message Halo" })).toBeEnabled();expect(screen.getByRole("button", { name: "Send message" })).toBeDisabled();expect(screen.getByRole("button", { name: "Start new conversation" }),@@ -744,7 +742,7 @@ describe("InAppAgentWindow composer", () => {const { rerender } = render(windowElement());expect(- screen.getByRole("textbox", { name: "Message the assistant" }),+ screen.getByRole("textbox", { name: "Message Halo" }),).toHaveAttribute("placeholder", "Let me know what I can do for you...");rerender(@@ -768,7 +766,7 @@ describe("InAppAgentWindow composer", () => {);expect(- screen.getByRole("textbox", { name: "Message the assistant" }),+ screen.getByRole("textbox", { name: "Message Halo" }),).toHaveAttribute("placeholder", "Reply...");});@@ -819,7 +817,7 @@ describe("InAppAgentWindow composer", () => {screen.queryByRole("button", { name: "Good response" }),).not.toBeInTheDocument();expect(- screen.getByRole("textbox", { name: "Message the assistant" }),+ screen.getByRole("textbox", { name: "Message Halo" }),).toHaveAttribute("placeholder", "Let me know what I can do for you...");fireEvent.click(@@ -877,7 +875,7 @@ describe("InAppAgentWindow composer", () => {screen.getByRole("button", { name: "Copy message" }),).toBeInTheDocument();expect(- screen.getByRole("textbox", { name: "Message the assistant" }),+ screen.getByRole("textbox", { name: "Message Halo" }),).toHaveAttribute("placeholder", "Reply...");});});diff --git a/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsx b/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsxindex 97e0f53c41..43fbd71ddc 100644--- a/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentWindow.stories.tsx@@ -1587,7 +1587,7 @@ export const Error = meta.story({"Internal sandbox bridge timeout",);await expect(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),).toBeEnabled();await expect(within(alert).queryByRole("button")).not.toBeInTheDocument();},@@ -1697,7 +1697,7 @@ export const StepLimit = meta.story({canvas.getByRole("button", { name: "Stopped after 51s" }),).toBeVisible();await expect(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),).toBeEnabled();},});@@ -1762,7 +1762,7 @@ export const Failed = meta.story({canvas.getByRole("button", { name: "Failed after 51s" }),).toBeVisible();await expect(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),).toBeEnabled();},});@@ -1825,9 +1825,7 @@ export const FailedBeforeFirstToken = meta.story({play: async ({ canvasElement }) => {const canvas = within(canvasElement);- await expect(canvas.getByRole("status")).toHaveTextContent(- "The assistant failed.",- );+ await expect(canvas.getByRole("status")).toHaveTextContent("Halo failed.");await expect(canvas.getByRole("status")).toHaveTextContent("Send another message",);@@ -1848,7 +1846,7 @@ const failedWorkerLostRun = {};export const FailedWorkerLost = meta.story({- name: "(Test) Assistant failed",+ name: "(Test) Halo failed",args: {selectedConversationId: "conversation-1",executionUi: {@@ -1880,14 +1878,12 @@ export const FailedWorkerLost = meta.story({play: async ({ canvasElement }) => {const canvas = within(canvasElement);- await expect(canvas.getByRole("status")).toHaveTextContent(- "The assistant failed.",- );+ await expect(canvas.getByRole("status")).toHaveTextContent("Halo failed.");await expect(canvas.getByRole("status")).toHaveTextContent("Send another message",);await expect(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),).toBeEnabled();},});@@ -1955,7 +1951,7 @@ export const ApprovalExpired = meta.story({canvas.queryByRole("button", { name: "Waiting for your approval…" }),).not.toBeInTheDocument();await expect(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),).toBeEnabled();},});@@ -2047,7 +2043,7 @@ export const BackgroundHint = meta.story({const canvas = within(canvasElement);await userEvent.type(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),"Compare cost against last week",);await userEvent.click(canvas.getByRole("button", { name: "Send message" }));@@ -2215,7 +2211,7 @@ export const LoadingConversation = meta.story({const canvas = within(canvasElement);await expect(- canvas.queryByText("Welcome to the Langfuse Assistant"),+ canvas.queryByText("Hi I'm Halo, your Langfuse assistant"),).not.toBeInTheDocument();await expect(canvas.queryByRole("button", { name: /^Create a prompt/ }),@@ -2227,7 +2223,7 @@ export const LoadingConversation = meta.story({canvas.getByRole("button", { name: /^Conversation history/ }),).toBeEnabled();await expect(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),).toBeDisabled();},});@@ -2274,11 +2270,11 @@ export const RateLimited = meta.story({const canvas = within(canvasElement);const alert = canvas.getByRole("alert");const textarea = canvas.getByRole("textbox", {- name: "Message the assistant",+ name: "Message Halo",});await expect(alert).toHaveTextContent(- "You've reached the assistant request limit",+ "You've reached the Halo request limit",);await expect(alert).toHaveTextContent("Try again in about");await expect(textarea).toBeEnabled();@@ -2385,12 +2381,12 @@ export const RefocusAfterSubmit = meta.story({},play: async ({ canvasElement }: { canvasElement: HTMLElement }) => {const canvas = within(canvasElement);- const textarea = canvas.getByLabelText("Message the assistant");+ const textarea = canvas.getByLabelText("Message Halo");const answer = "Answer for: Check the latest latency regression";const previousAnswerCount = canvas.queryAllByText(answer).length;await expect(- canvas.queryByText("Welcome to the Langfuse Assistant"),+ canvas.queryByText("Hi I'm Halo, your Langfuse assistant"),).not.toBeInTheDocument();await userEvent.clear(textarea);await userEvent.type(textarea, "Check the latest latency regression");@@ -3013,7 +3009,7 @@ export const SendingReattachesAutoFollow = meta.story({);await userEvent.type(- canvas.getByRole("textbox", { name: "Message the assistant" }),+ canvas.getByRole("textbox", { name: "Message Halo" }),"And the error rate?",);await userEvent.click(canvas.getByRole("button", { name: "Send message" }));diff --git a/web/src/features/in-app-agent/components/InAppAgentWindow.tsx b/web/src/features/in-app-agent/components/InAppAgentWindow.tsxindex 6b947ea101..b8b415a289 100644--- a/web/src/features/in-app-agent/components/InAppAgentWindow.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentWindow.tsx@@ -13,7 +13,6 @@ import {import {ArrowRight,ArrowDown,- BotMessageSquare,ChevronRight,History,Info,@@ -92,6 +91,7 @@ import {} from "@/src/features/in-app-agent/quickActions";import { usePostHogClientCapture } from "@/src/features/posthog-analytics";import { Tabs } from "@/src/components/design-system/Tabs/Tabs";+import { HaloIcon } from "@/src/features/in-app-agent/components/HaloIcon";const AUTO_SCROLL_THRESHOLD_PX = 50;const SCROLL_DIRECTION_TOLERANCE_PX = 1;@@ -142,7 +142,7 @@ function InAppAgentQuickActionPicker({return (<><p className="text-foreground mt-3 text-sm font-bold">- Welcome to the Langfuse Assistant+ Hi I'm Halo, your Langfuse assistant</p><p className="text-muted-foreground mt-1 max-w-xs text-center text-xs leading-relaxed">What do you want to do?@@ -723,7 +723,7 @@ function InAppAgentRateLimitError({><span className="space-y-0.5"><span className="block font-bold">- You've reached the assistant request limit+ You've reached the Halo request limit</span><span className="block">Try again in about {formatApproximateDuration(secondsRemaining)}.@@ -913,7 +913,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {return (<section- aria-label="Assistant"+ aria-label="Halo"className={cn("bg-background flex h-full min-h-0 w-full min-w-0 flex-col overflow-hidden rounded-xl border shadow/5",// Full-bleed on mobile: the drawer owns the edge, so drop the window chrome.@@ -955,11 +955,8 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {{conversationTitle}</p>) : (- <p- className="shrink-0 truncate text-sm font-bold"- title="Assistant"- >- Assistant+ <p className="shrink-0 truncate text-sm font-bold" title="Halo">+ Halo</p>)}{titleActions ? (@@ -1140,9 +1137,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {className="size-6"// Full-screen has nothing to minimize into, and with no// drag-to-dismiss this is the only way out.- aria-label={- isHandheld ? "Close assistant" : "Minimize assistant"- }+ aria-label={isHandheld ? "Close Halo" : "Minimize Halo"}onClick={props.onClose}>{isHandheld ? (@@ -1153,7 +1148,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {</Button></TooltipTrigger><TooltipContent>- {isHandheld ? "Close assistant" : "Minimize assistant"}+ {isHandheld ? "Close Halo" : "Minimize Halo"}</TooltipContent></Tooltip>) : null}@@ -1179,7 +1174,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {isSelectedConversationHydrating ? null : messages.length === 0 ? (<div className="flex h-full w-full flex-1 flex-col items-center justify-center px-2"><div>- <BotMessageSquare className="text-muted-foreground icon-xl mx-auto" />+ <HaloIcon variant="emptyState" /></div><InAppAgentQuickActionPickerkey={`${selectedConversationId ?? "new"}:${quickActionResetKey}`}@@ -1405,7 +1400,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {}}}disabled={isComposerDisabled}- aria-label="Message the assistant"+ aria-label="Message Halo"placeholder={hasSettledAssistantReply? "Reply..."diff --git a/web/src/features/in-app-agent/components/InAppAgentWindowShell.tsx b/web/src/features/in-app-agent/components/InAppAgentWindowShell.tsxindex 88af217cbf..11d3252c04 100644--- a/web/src/features/in-app-agent/components/InAppAgentWindowShell.tsx+++ b/web/src/features/in-app-agent/components/InAppAgentWindowShell.tsx@@ -193,7 +193,7 @@ export function InAppAgentWindowShell({onClose();}}>- <DrawerTitle className="sr-only">Assistant</DrawerTitle>+ <DrawerTitle className="sr-only">Halo</DrawerTitle>{children({ isHeaderDragHandleEnabled: false })}</DrawerContent></Drawer>diff --git a/web/src/features/in-app-agent/components/InAppAiAgentProvider.tsx b/web/src/features/in-app-agent/components/InAppAiAgentProvider.tsxindex 683ad51df8..a4467da464 100644--- a/web/src/features/in-app-agent/components/InAppAiAgentProvider.tsx+++ b/web/src/features/in-app-agent/components/InAppAiAgentProvider.tsx@@ -1635,7 +1635,7 @@ function getAgentErrorMessage(error: unknown): string {}}- return "Assistant request failed. Please try again.";+ return "Halo request failed. Please try again.";}export function useInAppAiAgent() {diff --git a/web/src/features/in-app-agent/components/utils/utils.ts b/web/src/features/in-app-agent/components/utils/utils.tsindex 1af2afcea3..fd69697326 100644--- a/web/src/features/in-app-agent/components/utils/utils.ts+++ b/web/src/features/in-app-agent/components/utils/utils.ts@@ -401,7 +401,7 @@ function parseEmbeddedRateLimitError(message: string) {function getErrorMessage(error: unknown) {const parsedError = InAppAgentTransportErrorSchema.safeParse(error);if (!parsedError.success) {- return "Assistant request failed. Please try again.";+ return "Halo request failed. Please try again.";}const legacyPayload = InAppAgentLegacyErrorPayloadSchema.safeParse(@@ -411,9 +411,7 @@ function getErrorMessage(error: unknown) {return legacyPayload.data.error;}- return (- parsedError.data.message ?? "Assistant request failed. Please try again."- );+ return parsedError.data.message ?? "Halo request failed. Please try again.";}export function getDrawerMessages({diff --git a/web/src/features/in-app-agent/lib/backgroundAgentClient.ts b/web/src/features/in-app-agent/lib/backgroundAgentClient.tsindex 6b5e2195c4..d9d0323a6b 100644--- a/web/src/features/in-app-agent/lib/backgroundAgentClient.ts+++ b/web/src/features/in-app-agent/lib/backgroundAgentClient.ts@@ -284,7 +284,7 @@ export class InAppAgentBackgroundClient extends AbstractAgent {const reader = response.body?.getReader();if (!reader) {- throw new Error("The assistant stream is unavailable");+ throw new Error("The Halo stream is unavailable");}const decoder = new TextDecoder();@@ -392,5 +392,5 @@ async function readErrorMessage(response: Response): Promise<string> {// Fall through to the generic message below.}- return "The assistant is unavailable right now";+ return "Halo is unavailable right now";}diff --git a/web/src/features/in-app-agent/lib/backgroundExecutionSession.clienttest.ts b/web/src/features/in-app-agent/lib/backgroundExecutionSession.clienttest.tsindex b4c5f2061a..8463edae01 100644--- a/web/src/features/in-app-agent/lib/backgroundExecutionSession.clienttest.ts+++ b/web/src/features/in-app-agent/lib/backgroundExecutionSession.clienttest.ts@@ -1375,9 +1375,9 @@ describe("getBackgroundRunNotice", () => {});const assistantFailedContinue =- "The assistant failed. Send another message to continue.";+ "Halo failed. Send another message to continue.";const assistantFailedTryAgain =- "The assistant failed. Send another message to try again.";+ "Halo failed. Send another message to try again.";it.each([[InAppAgentRunErrorCode.WORKER_LOST, assistantFailedContinue],@@ -1397,7 +1397,7 @@ describe("getBackgroundRunNotice", () => {],[InAppAgentRunErrorCode.AGENT_ERROR,- "The assistant hit an error before finishing. Send another message to continue.",+ "Halo hit an error before finishing. Send another message to continue.",],["mystery_code", "The run failed. Try again."],] as const)("maps FAILED %s to the user-facing notice", (errorCode, text) => {@@ -1417,11 +1417,11 @@ describe("getBackgroundRunNotice", () => {it.each([[InAppAgentRunErrorCode.STEP_LIMIT,- "The assistant had to stop before finishing this answer. Too many steps in one turn. Send another message to continue.",+ "Halo had to stop before finishing this answer. Too many steps in one turn. Send another message to continue.",],[InAppAgentRunErrorCode.OUTPUT_LIMIT,- "The assistant had to stop before finishing this answer. The response hit the model's output limit. Send another message to continue.",+ "Halo had to stop before finishing this answer. The response hit the model's output limit. Send another message to continue.",],] as const)("warns and marks SUCCEEDED %s as stopped", (errorCode, text) => {const run = truncatedRun(errorCode);diff --git a/web/src/features/in-app-agent/lib/backgroundExecutionSession.ts b/web/src/features/in-app-agent/lib/backgroundExecutionSession.tsindex 617b78563b..2ebbd06670 100644--- a/web/src/features/in-app-agent/lib/backgroundExecutionSession.ts+++ b/web/src/features/in-app-agent/lib/backgroundExecutionSession.ts@@ -568,9 +568,9 @@ export function isCancellableBackgroundRun(}const ASSISTANT_FAILED_CONTINUE =- "The assistant failed. Send another message to continue.";+ "Halo failed. Send another message to continue.";const ASSISTANT_FAILED_TRY_AGAIN =- "The assistant failed. Send another message to try again.";+ "Halo failed. Send another message to try again.";const BACKGROUND_RUN_FAILURE_MESSAGES: Readonly<Record<string, string>> = {[InAppAgentRunErrorCode.WORKER_LOST]: ASSISTANT_FAILED_CONTINUE,@@ -585,7 +585,7 @@ const BACKGROUND_RUN_FAILURE_MESSAGES: Readonly<Record<string, string>> = {[InAppAgentRunErrorCode.RUN_TIMEOUT]:"The run hit the time limit. Send another message to continue.",[InAppAgentRunErrorCode.AGENT_ERROR]:- "The assistant hit an error before finishing. Send another message to continue.",+ "Halo hit an error before finishing. Send another message to continue.",[InAppAgentRunErrorCode.APPROVAL_SUPERSEDED]: "Replaced by a newer message.",[InAppAgentRunErrorCode.APPROVAL_CANCELLED]: "Approval cancelled.",[InAppAgentRunErrorCode.CANCELLED]: "You stopped this run.",@@ -606,9 +606,9 @@ export type BackgroundRunNotice = {};const STEP_LIMIT_NOTICE =- "The assistant had to stop before finishing this answer. Too many steps in one turn. Send another message to continue.";+ "Halo had to stop before finishing this answer. Too many steps in one turn. Send another message to continue.";const OUTPUT_LIMIT_NOTICE =- "The assistant had to stop before finishing this answer. The response hit the model's output limit. Send another message to continue.";+ "Halo had to stop before finishing this answer. The response hit the model's output limit. Send another message to continue.";/** Notices for SUCCEEDED runs cut short before a final answer, by error code. */const TRUNCATION_NOTICES: Readonly<Record<string, string>> = {diff --git a/web/src/features/in-app-agent/server/backgroundRunService.ts b/web/src/features/in-app-agent/server/backgroundRunService.tsindex cf85103a99..9a569315d7 100644--- a/web/src/features/in-app-agent/server/backgroundRunService.ts+++ b/web/src/features/in-app-agent/server/backgroundRunService.ts@@ -227,7 +227,7 @@ export async function startBackgroundRun(params: {throw new BaseError("PreconditionFailedError",412,- "Assistant model is not configured.",+ "Halo model is not configured.",true,);}diff --git a/web/src/features/in-app-agent/server/rateLimit.ts b/web/src/features/in-app-agent/server/rateLimit.tsindex d22cdf3e2e..6546822a1c 100644--- a/web/src/features/in-app-agent/server/rateLimit.ts+++ b/web/src/features/in-app-agent/server/rateLimit.ts@@ -94,7 +94,7 @@ export async function assertInAppAgentRateLimit(throw new BaseError("TooManyRequestsError",429,- `Too many assistant requests. Please retry in ${Math.ceil(+ `Too many Halo requests. Please retry in ${Math.ceil(rateLimitRes.msBeforeNext / 1_000,)} seconds.`,true,diff --git a/web/src/features/in-app-agent/server/runCapacity.ts b/web/src/features/in-app-agent/server/runCapacity.tsindex ca46e55158..1d9ac3635b 100644--- a/web/src/features/in-app-agent/server/runCapacity.ts+++ b/web/src/features/in-app-agent/server/runCapacity.ts@@ -84,13 +84,13 @@ export async function assertInAppAgentRunCapacity(params: {if (userActiveRuns >= perUser) {return {limit: "user" as const,- message: `You already have ${perUser} assistant runs in progress. Wait for one to finish.`,+ message: `You already have ${perUser} Halo runs in progress. Wait for one to finish.`,};}if (orgActiveRuns >= perOrg) {return {limit: "org" as const,- message: `Your organization is at its limit of ${perOrg} assistant runs in progress. Try again shortly.`,+ message: `Your organization is at its limit of ${perOrg} Halo runs in progress. Try again shortly.`,};}return null;diff --git a/web/src/features/organizations/components/AIFeatureSwitch.tsx b/web/src/features/organizations/components/AIFeatureSwitch.tsxindex 9ca9b9aa49..d5bbda1288 100644--- a/web/src/features/organizations/components/AIFeatureSwitch.tsx+++ b/web/src/features/organizations/components/AIFeatureSwitch.tsx@@ -145,8 +145,8 @@ export default function AIFeatureSwitch() {) : (<p className="text-sm">This setting applies to all users and projects. When enabled,- the assistant can send relevant project data to the model- provider configured by your instance administrator.+ Halo can send relevant project data to the model provider+ configured by your instance administrator.</p>)}</div>diff --git a/web/src/features/v4-migration/EvaluatorMigrationDialog.tsx b/web/src/features/v4-migration/EvaluatorMigrationDialog.tsxindex 1025438a3e..6a754dd38b 100644--- a/web/src/features/v4-migration/EvaluatorMigrationDialog.tsx+++ b/web/src/features/v4-migration/EvaluatorMigrationDialog.tsx@@ -37,7 +37,7 @@ type EvaluatorMigrationDialogProps = {type SelectedMigrationAction = "assistant";const ADMIN_REQUEST_MESSAGE =- "Hi! Could you enable AI features for our Langfuse organization? I need them to use the Assistant to upgrade our deprecated evaluators for v4. Thanks!";+ "Hi! Could you enable AI features for our Langfuse organization? I need them to use Halo to upgrade our deprecated evaluators for v4. Thanks!";export function EvaluatorMigrationDialog({open,@@ -133,8 +133,8 @@ export function EvaluatorMigrationDialog({{effectiveAction === "assistant" ? (<p className="text-muted-foreground text-sm">{aiFeaturesEnabled- ? "The Assistant will review your deprecated evaluators and suggest upgrading all of them at once."- : "Enable AI features in the other tab, then return here to start the upgrade with the Assistant."}+ ? "Halo will review your deprecated evaluators and suggest upgrading all of them at once."+ : "Enable AI features in the other tab, then return here to start the upgrade with Halo."}</p>) : (<>@@ -147,7 +147,7 @@ export function EvaluatorMigrationDialog({><BotMessageSquare className="icon-base text-icon-foreground shrink-0" /><span className="flex flex-col gap-1">- <span className="font-bold">Use Assistant</span>+ <span className="font-bold">Use Halo</span><span className="text-muted-foreground text-sm font-normal">Suggest upgrading all deprecated evaluators at once.</span>@@ -218,8 +218,8 @@ export function EvaluatorMigrationDialog({</DialogHeader><DialogBody className="gap-3"><p className="text-muted-foreground text-sm">- The Assistant can help you upgrade all deprecated evaluators at- once. An organization admin needs to enable AI features for your+ Halo can help you upgrade all deprecated evaluators at once. An+ organization admin needs to enable AI features for yourorganization before you can use it.</p><adiff --git a/web/src/features/v4-migration/V4MigrationContent.clienttest.tsx b/web/src/features/v4-migration/V4MigrationContent.clienttest.tsxindex 91ed9bf115..5ef476e6cf 100644--- a/web/src/features/v4-migration/V4MigrationContent.clienttest.tsx+++ b/web/src/features/v4-migration/V4MigrationContent.clienttest.tsx@@ -1243,7 +1243,7 @@ describe("V4MigrationDetailsContent", () => {render(<V4MigrationDetailsContent projectId="project-1" />);- fireEvent.click(screen.getByRole("button", { name: "Use Assistant" }));+ fireEvent.click(screen.getByRole("button", { name: "Use Halo" }));// The panel entry point preselects the assistant: no choice screen.const migrationDialog = screen.getByRole("dialog");expect(@@ -1253,7 +1253,7 @@ describe("V4MigrationDetailsContent", () => {).toBeInTheDocument();expect(within(migrationDialog).queryByRole("button", {- name: /^Use Assistant/,+ name: /^Use Halo/,}),).not.toBeInTheDocument();fireEvent.click(@@ -1279,7 +1279,7 @@ describe("V4MigrationDetailsContent", () => {// Without AI features the button drops the assistant branding …expect(- screen.queryByRole("button", { name: "Use Assistant" }),+ screen.queryByRole("button", { name: "Use Halo" }),).not.toBeInTheDocument();fireEvent.click(screen.getByRole("button", { name: "Update evals" }));@@ -1293,7 +1293,7 @@ describe("V4MigrationDetailsContent", () => {).toBeInTheDocument();expect(within(migrationDialog).getByRole("button", {- name: /^Use Assistant/,+ name: /^Use Halo/,}),).toBeInTheDocument();});@@ -1309,7 +1309,7 @@ describe("V4MigrationDetailsContent", () => {const migrationDialog = screen.getByRole("dialog");fireEvent.click(within(migrationDialog).getByRole("button", {- name: /^Use Assistant/,+ name: /^Use Halo/,}),);@@ -1360,7 +1360,7 @@ describe("V4MigrationHeaderContent", () => {expect(screen.queryByText("Upgrade to v4")).not.toBeInTheDocument();expect(screen.queryByText(/Project 1/)).not.toBeInTheDocument();expect(screen.getByText(/Langfuse v4 is live/)).toHaveTextContent(- "Langfuse v4 is live: a re-architecture of our data model and database tables. It is up to 165× more performant in UI and on APIs. It also enables new features such as full-text search, a new filter search bar, alerts, code evaluators, and the Langfuse Assistant. Complete the action items below to avoid disruption. See docs.",+ "Langfuse v4 is live: a re-architecture of our data model and database tables. It is up to 165× more performant in UI and on APIs. It also enables new features such as full-text search, a new filter search bar, alerts, code evaluators, and the Langfuse Halo. Complete the action items below to avoid disruption. See docs.",);expect(screen.getByRole("link", { name: "full-text search" }),@@ -1384,9 +1384,10 @@ describe("V4MigrationHeaderContent", () => {"href","https://langfuse.com/docs/evaluation/evaluation-methods/code-evaluators",);- expect(- screen.getByRole("link", { name: "Langfuse Assistant" }),- ).toHaveAttribute("href", "https://langfuse.com/docs/langfuse-assistant");+ expect(screen.getByRole("link", { name: "Langfuse Halo" })).toHaveAttribute(+ "href",+ "https://langfuse.com/docs/langfuse-assistant",+ );expect(screen.getByRole("link", { name: "See docs." })).toHaveAttribute("href","https://langfuse.com/docs/v4",diff --git a/web/src/features/v4-migration/V4MigrationContent.tsx b/web/src/features/v4-migration/V4MigrationContent.tsxindex df9d939d70..45bea24f7e 100644--- a/web/src/features/v4-migration/V4MigrationContent.tsx+++ b/web/src/features/v4-migration/V4MigrationContent.tsx@@ -785,7 +785,7 @@ export function V4MigrationEvalsSection({{assistant.aiFeaturesEnabled !== false ? (<><BotMessageSquare className="icon-base text-icon-foreground mr-1.5" />- Use Assistant+ Use Halo</>) : ("Update evals"@@ -1369,7 +1369,7 @@ export function V4MigrationHeaderContent({href={LANGFUSE_ASSISTANT_URL}analytics={{ section: "header", link: "langfuse_assistant_docs" }}>- Langfuse Assistant+ Langfuse Halo</ExternalLink>.{actionNeededdiff --git a/worker/src/features/in-app-agent/runtime/agent.ts b/worker/src/features/in-app-agent/runtime/agent.tsindex 3fb9824db9..39c2b56fb4 100644--- a/worker/src/features/in-app-agent/runtime/agent.ts+++ b/worker/src/features/in-app-agent/runtime/agent.ts@@ -68,7 +68,7 @@ import {type InAppAgentLanguageModel,} from "./model";-const ASSISTANT_TITLE = "Langfuse Assistant";+const ASSISTANT_TITLE = "Langfuse Halo";const IN_APP_AGENT_SYSTEM_PROMPT_NAME = "in-app-agent-system-prompt";const LANGFUSE_DOCS_MCP_URL = "https://langfuse.com/api/mcp";const IN_APP_AGENT_MCP_USER_AGENT = "langfuse-in-app-agent";