1. Install and sign in once
Use macOS or Linux, or Windows 11 x64 in beta. The CLI supports Node 22.12+ in the 22.x series, 24.x or 26.x; the JavaScript starter still uses 22.23.2 or 24.x. Node 26 CLI support does not qualify the starter or a real FaceTime call on that runtime. On Windows, use Node 24 in PowerShell or Command Prompt and keep the agent folder in a local folder under your user folder, outside OneDrive. Checknode --version; if you use nvm, select the same version in both terminals.
chert login --device prints the address and code. You do not need to copy a
browser session token for normal sign-in.
2. Check the connection from your agent folder
From your agent’s folder, where you created.env.local:
LIVEKIT_URL,
LIVEKIT_API_KEY, and LIVEKIT_API_SECRET from .env.local (or .env) in
this folder and uses the Chert project you approved at sign-in. It reports
which file it used. Keep these values in the same LiveKit project as your agent.
Existing shell LIVEKIT_* values override the file. If you previously ran
chert setup, its saved project and file path still take priority. To switch
to folder loading, run chert setup --clear after stopping any active connector.
This keeps your sign-in. See credential loading
for explicit files and optional setup when running from elsewhere.
Plain doctor is read-only. Check that login, project, line, online worker and
LiveKit checks pass. The agent check is skipped until you supply --agent.
Resolve busy/offline lines with your organizer before continuing.
3. Keep two terminals running
Terminal A: agent
In the agent folder:Terminal B: Chert
Open a second terminal in the same folder, using the same Node version:team-otter-agent with your exact registered dispatch name.
doctor --agent runs a real agent job in a temporary room and may incur provider
usage. It checks membership, not a full conversation. Keep this terminal running
too.
Wait for the CLI to report that it is connected and your agent has joined a
waiting room before calling. Room membership does not verify audio or video.
The same chert dev command handles both call types without a webhook.
Generic
chert dev automatically prepares and refills waiting rooms. Do not add
--muse to the student starter: that flag is for a separately integrated Muse
agent, with one prepared session per run. It is not a general avatar switch.4. Test two real calls
- Call the exact address assigned by your organizer using FaceTime Audio for voice, or FaceTime Video on a video-enabled line to exchange video.
- After connection, say hello. The voice starter on the build-agent page waits for you to speak; the beta.21 generated starters can greet after bridge readiness.
- Ask a question related to your agent’s instructions and a follow-up. Confirm it responds to your actual words, then try interrupting once. For video, verify the agent picture changes. If the agent uses caller vision, change what your camera shows and confirm the agent responds to the new view.
- Hang up from the caller’s device and wait for Chert to report room cleanup.
- Wait for the next waiting room, then make a second call. Confirm it begins a fresh conversation and cleans up again.
5. Stop or change your agent
End the call first. Press Ctrl+C in Terminal B and wait for confirmation that cleanup has finished and the line has been released. Then stop the agent in Terminal A. To edit, change its instructions or tools and restart both terminals so a previously prepared room does not use old code. For the next session, start the agent, then run the short command again:~/.chert and ask your organizer
for help. Do not delete state to dismiss the error or let another team take over
before resolving it.
Common problems
For help, share Node/CLI versions, agent name, call time, and relevant error lines.
Never share tokens, API keys,
.env.local, or unsanitized logs.
