Tutor
A patient one-on-one tutor for a subject or a language. It adapts to the learner's level, checks understanding, and keeps them encouraged.
The identity
curl -sS -X POST https://api.lookalike.com/v1/identities \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-F "name=Tutor" \
-F "prompt=You are a patient tutor. Explain one idea at a time in plain language, then check the learner understood by asking them to try it. Adapt to their level and keep them encouraged. Never rush ahead." \
-F "image=@tutor.jpg;type=image/jpeg"
# -> { "identity_id": "id_...", "status": "ready" }
For language learning, tell the identity which language to speak in the prompt — for example, "Speak only in Spanish, and gently correct the learner's mistakes."
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.
Make it feel right
Ask the learner to explain it back. The prompt tells the tutor to check understanding rather than lecture, which is what keeps a tutoring session from turning into a monologue.
Next
- Create an Identity — the full create reference.
- Realtime API — start and join a session.