A comprehensive component library built on top of shadcn/ui and Radix UI, designed to help you build AI-powered real-time applications faster with Agora.
Agora AI Builder UI provides pre-built, customizable React components specifically designed for AI agents, voice conversations, and real-time interactions. It includes a collection of UI components to accelerate development of modern AI applications.
The library features:
- Voice & Audio Components - Microphone Selectors, Agent Visualizers, etc.
- Full TypeScript Support - Type-safe component APIs
- Dark Mode - Built-in theme support with CSS variables
The easiest way to use Agora AI Builder UI components in your projects is via the Agora App Builder CLI
This will install all available UI components at once:
npx agora-app-builder-cli@latest components add allThis will install individual components:
npx agora-app-builder-cli@latest components add agent-visualizerBefore using Agora AI Builder UI, ensure your Next.js project meets these requirements:
- Node.js 18 or later
- shadcn/ui initialized in your project (npx shadcn@latest init)
- Tailwind CSS configured
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
1. Create Component
└─ Add to: apps/www/registry/agora-ui/ui/my-component.tsx
2. Build Registry
└─ Run: pnpm registry:build
└─ Generates: apps/www/registry.json
3. Deploy to Vercel
└─ Push to main branch
└─ Registry published to CDN
4. Users Install via CLI
└─ Run: npx agora-app-builder-cli@latest components add my-component
└─ CLI fetches from Vercel registry
└─ Component installed in user's project
The registry build script:
- Scans all components in
apps/www/registry/agora-ui/ui/ - Scans all examples in
apps/www/registry/agora-ui/examples/ - Creates JSON metadata for each component
- Generates
registry.json(for all components) - Generates individual component files (for CLI distribution)
- Deploys to Vercel when code is pushed
App Level Scripts (apps/www)
pnpm dev- Start Next.js dev server with Turbopackpnpm build- Build Next.js applicationpnpm start- Start production serverpnpm registry:build- Rebuild component registry
For issues, feature requests, or questions:
- Open an issue on GitHub
- Review component examples in the examples folder