what is the command to scaffold a new Node.js agen...
# ask-ai
n
what is the command to scaffold a new Node.js agent?
t
Thanks for reaching out, Daniel. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m responding to your question about the command to scaffold a new Node.js agent. Run this command:
Copy code
lk agent init my-voice-agent --lang node
• This uses the LiveKit CLI (
lk
) to create a new agent project named
my-voice-agent
. • The
--lang node
flag selects the Node.js starter template (the CLI will detect Node.js via
package.json
and use the Node agent starter). If you’d like, I can also: • Show the files the scaffold creates (example
Dockerfile
,
package.json
, etc.), or • Walk you through running the agent locally with Docker and installing dependencies. Which would you prefer? Sources: Agents (Node.js) | livekit/livekit_composite | DeepWiki