Skip to main content

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 "instructions=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 "avatar_id=avt_stock_sophie" \
-F "voice_id=voc_stock_sophie"
# -> { "id": "id_...", "object": "identity", "status": "active", ... }

For language learning, tell the identity which language to speak in the instructions — 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 \
-H "Authorization: Bearer $LOOKALIKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "identity_id": "id_..." }'

Join with a LiveKit client using the returned transport.url and transport.token — see the Realtime API guide.

Make it feel right​

Ask the learner to explain it back. The instructions tell the tutor to check understanding rather than lecture, which is what keeps a tutoring session from turning into a monologue.

Next​