I see that `TaskAgent` is a beta feature in python...
# agents
n
I see that
TaskAgent
is a beta feature in python SDK. We Really like them. Are there currently any plans to modify the interfaces or how they work?
r
Do you mean AgentTask?
n
oh, yes!
r
@gray-teacher-71553 may have more details on where that is headed
But yes it will be sprouting more super powers
๐Ÿš€ 2
n
I guess my real question is: based on what we know today, will code built around the existing API require a big rewrite?
g
Hey Stephen, we are adding more tools for workflows! You can follow on this branch here TLDR we are working on more built-in tasks for information collection and an orchestrator,
TaskGroup
, that can execute an ordered sequence of
AgentTask
s. Users are also able to regress to previous questions so it's not a fixed execution (ex. changing their email to a better one)
I guess my real question is: based on what we know today, will code built around the existing API require a big rewrite?
Existing code shouldn't need a rewrite, but adapting to the new workflow tools may make your life easier ๐Ÿ˜„
๐Ÿ™Œ 2
n
Really exciting! This looks great! Excellent. I will keep planning to invest heavily in `AgentTask`s
๐ŸŽ‰ 1
b
@gray-teacher-71553 one thing that we noticed about AgentTasks that broke the usage for us was that we noticed every task handoff was a new pipeline connection. And while for most cases thatโ€™s fine and seamless, but for cases where you do Diarization in the STT that breaks the speaker recognition that has already been done. I wish there was a way to keep the same STT connection and not restart as a new session for each task. So we ended up writing our own internal task models
n
We've also noticed that we seem to need to add a new llm node to each agent task vs just having the llm defined on the session. Is this a bug or something by design?
m
We've also noticed that we seem to need to add a new llm node to each agent task vs just having the llm defined on the session. Is this a bug or something by design?
Reviving old thread, would also love to know
I found the answer here if anyone ends up here: https://github.com/livekit/agents/issues/4159#issuecomment-3610800794