Skip to content

Feat/voice assistant#5

Open
larsen66 wants to merge 2 commits intomainfrom
feat/voice-assistant
Open

Feat/voice assistant#5
larsen66 wants to merge 2 commits intomainfrom
feat/voice-assistant

Conversation

@larsen66
Copy link
Contributor

Summary

  • Adds voice-assistant/ template — real-time browser voice using Vapi (@vapi-ai/web) and 21st SDK
  • Click-to-talk mic button with live transcript and mute control
  • Claude Sonnet as LLM, ElevenLabs TTS, Deepgram STT via Vapi
  • VAPI public key from NEXT_PUBLIC_VAPI_KEY env var (no hardcoded keys)
  • Minimalist dark UI with SVG icons
  • Standard 21st SDK agent with search_web tool
  • README following the same pattern as other examples

Test plan

  • cd voice-assistant && npm install && npm run dev
  • Set API_KEY_21ST and NEXT_PUBLIC_VAPI_KEY in .env.local
  • Open http://localhost:3000, click mic button, speak
  • Verify transcript appears and assistant responds with audio

admin and others added 2 commits March 12, 2026 09:18
Notion workspace assistant that lets users connect their own integration
key via UI and interact with pages, databases, and blocks through chat.

Key implementation details:
- Uses runtime: "claude-code" with bash/node calls to Notion API directly
- Injects NOTION_API_KEY via envs option in sandboxes.create() — not files,
  because the platform overwrites /home/user/.env with relay config
- Wraps all async bash in IIFE to avoid ERR_AMBIGUOUS_MODULE_SYNTAX on Node 24
- Saves Notion key + sessions to localStorage for returning users

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a new voice assistant template using Vapi (@vapi-ai/web) for
real-time browser voice (WebRTC: STT → LLM → TTS) and 21st SDK for
the backing agent.

- Browser voice call with mic button, live transcript, mute control
- Claude Sonnet via Vapi, ElevenLabs TTS, Deepgram STT
- VAPI public key from NEXT_PUBLIC_VAPI_KEY env var
- Minimalist dark UI with SVG icons
- Standard 21st SDK agent with search_web tool

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
21st-sdk-email-agent Ready Ready Preview, Comment Mar 12, 2026 6:04am
21st-sdk-fill-form Ready Ready Preview, Comment Mar 12, 2026 6:04am
21st-sdk-monitor-agent Ready Ready Preview, Comment Mar 12, 2026 6:04am
21st-sdk-nextjs-chat Ready Ready Preview, Comment Mar 12, 2026 6:04am
21st-sdk-nia-chat Ready Ready Preview, Comment Mar 12, 2026 6:04am
21st-sdk-note-taker Ready Ready Preview, Comment Mar 12, 2026 6:04am
21st-sdk-web-scraper Ready Ready Preview, Comment Mar 12, 2026 6:04am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant