Hey there, livekit devs! Agents JS 1.0 has finally...
# announcements
d
Hey there, livekit devs! Agents JS 1.0 has finally landed πŸŽ‰, and we’re stoked to share it with you! We know some of you have been waiting a lonnnng time for this. Thanks for your patience! This release is jam-packed, bringing all the shiny features from Python 1.0 into the JS world: β€’ Agent control with
generateReply
and
say
β€’ Multi-agent workflows with handoffs β€’ Integrated text-mode and transcriptions, compatible with all frontend clients β€’ Full control over the pipeline via pipeline nodes β€’ Metrics and events Ready to dive in? Check out the migration guide and quickstart to hit the ground running. Wanna give the dev team a virtual high-five? Give us a ⭐ on Github!
1️⃣ 16
πŸ”₯ 33
πŸš€ 19
πŸ™Œ 2
πŸ‘ 1
πŸŽ‰ 44
r
Awesome! Was waiting for this for a side project. Any thoughts on using bun as runtime? or should I stick to nodejs
b
Hey @ripe-monitor-50671, glad you like it! I'd recommend using Node.js for now
βœ… 1
Here's also a start template for agent node.js: https://github.com/livekit-examples/agent-starter-node
t
@bitter-ghost-46918 if we had a very bare bones python starter kit up , is it safe to replace with this nodejs build? I am more familiar with JS
b
Yes, you can use
lk app create --template agent-starter-node
to bootstrap the node starter kit.
m
Will this be at parity of python or will python always be slightly more ahead and developed?
d
Python is ahead today (at 1.2, 1.3 out soon).. but it probably won't always be the case.
🫑 1
p
Performance and resource utilization wise, would you recommend using Python or Node? Great work!
b
Awesome work team!! πŸ”₯πŸ”₯
k
Lets goooo
t
That's awesome! Did you add the Agent tasks as well?
d
Performance and resource utilization wise, would you recommend using Python or Node?
It should be fairly similar! most of the intensive processing (media handling/inference, etc) are all handled by native code behind the scenes (Rust/C++)
πŸ™Œ 2
Did you add the Agent tasks as well?
@tall-autumn-57974, not yet. that was a 1.2 feature for Python, and will be made available at a later time. The current design in Python is in beta, and we anticipate having to tweak it a bit before it becomes API stable.
πŸ™ 1
e
Amazing news! Any plan/eta for speechmatics STT support?
a
hey @elegant-businessperson-51313 we're working on catching the pluings up. Just curious if there's a particular reason your using speechmatics vs other providers.
e
@aloof-notebook-98064 based on our benchmarks, speechmatics is superior to other models when used with polish language over telephony. We're currently using it in our python-based agents.
πŸ‘ 3
l
Thanks very much for your hard work!
w
I am noticing more latency in JS agent sdk than python, is anyone else also faced this issue?
s
I want to use Livekit for Telephony integrations, but I do see that a lot of telephony features are still only available for Python?
t
@worried-rocket-36543 Hi πŸ‘‹ I wanna switch from Python to Typescript, what are the additional latency you observed ? I will build a PoC this week, I can check your points as well
w
I think the issue was not latency but an option supported in python called
preemptive_generation
which is not yet supported in
typescript
and therefore It gives the response at the end and that causes a delay in reply
t
Hmm ok indeed. Any ETA for the next releases @dry-elephant-14928? I'd love being able to use
AgentTask
, Azure STT/TTS and 1.2 features like
preemptive_generation
πŸ‘€ 4