Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Proposal: contributing an overlap barge-in decision model (duck_jev) as an optional interruption-handling component

Đang mở
#8,129 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
ai-infra-agents

Hướng nghiên cứu

Start by reading the AgentSession integration points and the existing turn detector and interruption handling interfaces. The proposal describes an optional model service, documentation, and an example agent, but does not identify specific files or an agreed design. Done would require confirming the contribution's fit and interface with maintainers, then defining and implementing the component.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
Feature Type

Nice to have

Feature Description

Hi LiveKit team 👋

I'm an AI engineer building production voice agents, and I'd like to check whether a contribution in the area of overlap barge-in handling would be welcome before I open a PR.

What it is

An approach I call duck_jev, for the case where the user starts speaking while the agent is still talking:

  1. Duck: the agent immediately lowers its own volume instead of stopping outright.
  2. Judge: a small decision model decides whether the user is truly interrupting or just giving a backchannel ("uh-huh", "right", short acknowledgements).
  3. Resume or yield: if it's a backchannel, the agent restores volume and continues; if it's a real interruption, the agent yields the floor.

In my tests with LiveKit Agents, this feels more natural than VAD-only interruption. Interruption judgment from text input was accurate for "user is interrupting the bot". End-of-turn detection is a separate problem, and I'm using LiveKit's turn-detector model for that.

What I'd like to contribute

Package this as a standalone model service with a clean interface that plugs into AgentSession as an optional interruption-detection component, together with documentation and an example agent.

Questions

  1. Does this fit the project's direction? I noticed the contribution docs mention TTS/STT/LLM plugins in particular, so I'm not sure whether this kind of component belongs in the main repo.
  2. If yes, where would you prefer it: a plugin in livekit/agents, a community package, or an example under a separate repo?
  3. Is there an existing interface or hook for interruption/backchannel decisions that I should build against, so I don't duplicate in-progress work?

I'm happy to share a short demo and a design doc first, and to sign the CLA.

Thanks!

Workarounds / Alternatives

No response

Additional Context

No response

Ngôn ngữ chính
Python
Star
14.6k
Fork
3.9k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
228

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của livekit/agents

Tất cả issue của livekit/agents

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.