Skip to content

Let the agent end the call, and fall back to Rime Coda for TTS - #120

Open
bcherry wants to merge 3 commits into
mainfrom
bcherry/sync-starter-templates
Open

bcherry wants to merge 3 commits into
mainfrom
bcherry/sync-starter-templates

Conversation

@bcherry

@bcherry bcherry commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Why

The starter agent is copied into basic_agent in livekit/agents and livekit/agents-js, and into the docs quickstart. The copies drifted because nothing listed them, and feature PRs kept adding demos to basic_agent. This makes the starters the source of truth and resets the other copies to match. The list of copies lives in the AGENTS.md of livekit/agents, livekit/agents-js, and the docs, not here, since this AGENTS.md ships to users.

Changes

  • Add EndCallTool so the agent can hang up when the user is done, plus a scenario for it.
  • Add a TTS fallback to Rime Coda, so a Fish Audio outage doesn't take the agent down.
  • Annotate my_agent with -> None so the copy in livekit/agents passes strict mypy.

Related

Testing

ruff check and ruff format --check pass. Simulations not run.

@bcherry bcherry changed the title Let the agent end the call, and list every copy of the starter in AGENTS.md Let the agent end the call Nov 24, 2026
@bcherry
bcherry requested a review from u9g November 24, 2026 00:36
@bcherry bcherry changed the title Let the agent end the call Let the agent end the call, and fall back to Rime Coda for TTS Nov 24, 2026
@bcherry
bcherry requested a review from ShayneP November 24, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant