
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@serviceagent/react
Advanced tools
ServiceAgent React components — AI chat, voice agents, and calendar booking for any React app
React components for ServiceAgent — AI chat, voice agents, and calendar booking for any React app.
npm install @serviceagent/react
import { Chat } from '@serviceagent/react';
export default function App() {
return <Chat />;
}
Set environment variables:
NEXT_PUBLIC_SERVICEAGENT_WIDGET_KEY=wid_xxxxx
NEXT_PUBLIC_SERVICEAGENT_API_URL=https://process.serviceagent.ai
import { VoiceAgent } from '@serviceagent/react';
export default function App() {
return (
<VoiceAgent
token="session_token"
orgId="org_id"
voiceAgentId="agent_id"
/>
);
}
import { CalendarBooking } from '@serviceagent/react';
export default function App() {
return <CalendarBooking bookingKey="your_booking_key" />;
}
| Component | Description |
|---|---|
<Chat /> | Floating AI chat bubble |
<ChatIframe /> | Chat in iframe (strict CSP) |
<CalendarBooking /> | Appointment scheduling widget |
<VoiceAgent /> | Real-time AI voice call |
<AivaCallButton /> | Voice call toggle button |
<AivaTurnIndicator /> | Voice turn state indicator |
<AivaTranscriptView /> | Voice conversation transcript |
| Hook | Description |
|---|---|
useServiceAgent() | Control chat: open(), close(), toggle(), send() |
useAiva() | Voice state: connection, call, turn, transcript |
npx @serviceagent/cli add
MIT
FAQs
React components for ServiceAgent chat widgets, low-latency AI voice agents, dialer experiences, and calendar booking in React apps
The npm package @serviceagent/react receives a total of 9 weekly downloads. As such, @serviceagent/react popularity was classified as not popular.
We found that @serviceagent/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.