create-agora-realtime-agent
v0.1.1
Published
Create an Agora + Vercel realtime voice agent app from the official template.
Downloads
26
Maintainers
Readme
create-agora-realtime-agent
Create an Agora + Vercel realtime voice agent app from the official template.
Homepage: agora-realtime-agent.vercel.app
Official Agora resources:
- Agora: https://www.agora.io/en/
- Agora Docs (English): https://docs.agora.io/en/
- Agora realtime voice docs: https://docs.agora.io/en/realtime-media/voice
- Agora AI and Conversational AI docs: https://docs.agora.io/en/ai
Usage
npm create agora-realtime-agent@latest my-agentEquivalent forms:
npm init agora-realtime-agent@latest my-agent
npx create-agora-realtime-agent@latest my-agentFor CI or quick smoke tests, copy the template without installing dependencies:
npm create agora-realtime-agent@latest my-agent -- --no-installOptions
--no-install— copy the template without runningnpm install.--install— runnpm installafter copying the template. This is the default.--force/-f— allow writing into a non-empty target directory.--help/-h— print usage.
Generated app
The generated app is a Vercel-ready Next.js app that keeps Agora credentials on the server and uses agora-realtime-react in the browser.
It links back to the project homepage so teams can track template adoption.
After creation:
cd my-agent
cp .env.example .env.local
# Fill AGORA_APP_ID, AGORA_APP_CERTIFICATE, and AGORA_CONVOAI_PIPELINE_ID
npm run dev