AI interviewer
Screen candidates at scale, or let people rehearse against a realistic interviewer. The identity does the asking — you just start a session and join.
The identity
The whole behavior lives in the prompt.
curl -sS -X POST https://api.lookalike.com/v1/identities \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-F "name=Interviewer" \
-F "prompt=You are a calm, professional interviewer. Ask one question at a time and wait for the full answer before responding. Never interrupt. Ask a short follow-up when it helps, then move on. Keep your own turns brief." \
-F "image=@interviewer.jpg;type=image/jpeg"
# -> { "identity_id": "id_...", "status": "ready" }
The session
curl -sS -X POST https://api.lookalike.com/v1/sessions/start \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "identity_id": "id_..." }'
Join the returned room with a LiveKit client — see the Realtime API guide for the full flow.
Make it feel right
Let silences breathe. The hardest part of an interviewer is not cutting the candidate off while they think. The agent waits for a full turn before it replies, so avoid adding client-side timeouts that end a turn early.
Next
- Create an Identity — the full create reference.
- Realtime API — start and join a session.