From a3b02a2ced7837959a792f637e7d72c9423e4503 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Mon, 2 Nov 2026 17:31:12 -0800 Subject: [PATCH 1/3] Have the agent greet and introduce itself as a helpful assistant The agent now speaks first, introducing itself as the user's helpful assistant and asking how it can help. The greeting scenario checks for the introduction. --- scenarios.yaml | 3 ++- src/main.ts | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scenarios.yaml b/scenarios.yaml index 77cee47..f143b43 100644 --- a/scenarios.yaml +++ b/scenarios.yaml @@ -17,7 +17,8 @@ scenarios: 1. After the assistant replies, ask: "What can you help me with?" 2. Once it answers, say thanks and end the conversation. agent_expectations: > - Greets the user in a friendly manner and offers to help. Replies are + Opens the conversation by greeting the user in a friendly manner, + introducing itself as a helpful assistant, and offering to help. Replies are brief, one to three sentences, in plain spoken prose with no lists, markdown, or emojis. tags: diff --git a/src/main.ts b/src/main.ts index 6a95721..7bab14d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -86,9 +86,10 @@ export default defineAgent({ // Join the room and connect to the user await ctx.connect(); - // Greet the user on joining + // Speak first: greet the user and introduce the agent before they say anything session.generateReply({ - instructions: 'Greet the user in a helpful and friendly manner.', + instructions: + 'Greet the user warmly, introduce yourself as their helpful assistant, and ask how you can help today.', }); }, }); From 29f4166dfb0bdfeb0ded9618893d53c9e1509921 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Tue, 3 Nov 2026 17:04:27 -0800 Subject: [PATCH 2/3] Use the enthusiastic greeting from the Python starter Match livekit-examples/agent-starter-python#116: greet the user enthusiastically and offer to help, and align the greeting scenario with it. Co-Authored-By: Claude --- scenarios.yaml | 7 +++---- src/main.ts | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/scenarios.yaml b/scenarios.yaml index f143b43..c41b972 100644 --- a/scenarios.yaml +++ b/scenarios.yaml @@ -17,10 +17,9 @@ scenarios: 1. After the assistant replies, ask: "What can you help me with?" 2. Once it answers, say thanks and end the conversation. agent_expectations: > - Opens the conversation by greeting the user in a friendly manner, - introducing itself as a helpful assistant, and offering to help. Replies are - brief, one to three sentences, in plain spoken prose with no lists, - markdown, or emojis. + Opens the conversation by enthusiastically greeting the user and offering + to help. Replies are brief, one to three sentences, in plain spoken prose + with no lists, markdown, or emojis. tags: feature: greeting diff --git a/src/main.ts b/src/main.ts index 7bab14d..a5a2576 100644 --- a/src/main.ts +++ b/src/main.ts @@ -86,10 +86,9 @@ export default defineAgent({ // Join the room and connect to the user await ctx.connect(); - // Speak first: greet the user and introduce the agent before they say anything + // Speak first: greet the user before they say anything session.generateReply({ - instructions: - 'Greet the user warmly, introduce yourself as their helpful assistant, and ask how you can help today.', + instructions: 'Enthusiastically greet the user and offer to help.', }); }, }); From c111805f0be7c7c91bd0c05bb173941c776de4cf Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Wed, 4 Nov 2026 16:34:47 -0800 Subject: [PATCH 3/3] Update scenarios.yaml Co-authored-by: Jason Lernerman <43508353+u9g@users.noreply.github.com> --- scenarios.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenarios.yaml b/scenarios.yaml index c41b972..0df4b31 100644 --- a/scenarios.yaml +++ b/scenarios.yaml @@ -17,7 +17,7 @@ scenarios: 1. After the assistant replies, ask: "What can you help me with?" 2. Once it answers, say thanks and end the conversation. agent_expectations: > - Opens the conversation by enthusiastically greeting the user and offering + The agent starts the conversation by enthusiastically greeting the user and offering to help. Replies are brief, one to three sentences, in plain spoken prose with no lists, markdown, or emojis. tags: