Skip to main content
Use Chert as the communications layer for your personal agent. Keep the agent’s own runtime, persona, and contact policy. Choose a foreground connector for your LiveKit agent, or the restricted-access Chert-hosted voice agent where offered.

Packages and capabilities

Package inspection on November 17, 2026: the latest and beta tags of @trychert/facetime both point to 0.1.0-beta.21; the JavaScript/TypeScript SDK is @trychert/sdk@0.3.0. These are package versions, not a statement that every account has every capability. Use exact versions for reproducible setup and review upgrades deliberately.
Use a supported Node.js 22.12+ (22.x), 24.x, or 26.x environment on macOS or Linux for the CLI. Follow each generated starter’s own runtime requirements.

Set up the project and line

For an existing project, use chert login. For a new setup, use chert onboard and complete browser sign-in and phone verification. The owner sends the displayed verification code from the intended phone. Continue the same onboarding after an interruption; installation alone does not assign a line. Onboarding can offer a demo, your own agent, or a Chert-hosted agent, depending on access. Shared allocation can wait for capacity. Read the actual returned line, allowance, and next step. See Projects and lines. For your own agent, use the same LiveKit credentials in the agent and connector:
Keep your agent running separately. dev is a foreground incoming-call connector; it does not install a background service or start an outbound call. Caller video requires separate line capture and agent subscriptions. See Caller vision. Eligible paid Shared projects may use chert livekit to obtain Chert-provided keys. Otherwise use your own LiveKit project. The restricted-access chert agent service runs Chert’s voice template; it does not host your arbitrary agent code.

Use the SDK library for calls and events

For an approved outbound call, ChertControlPlane.createCall(input, key) accepts the typed call request. Prepare its room and use the Outbound contract. Save the call ID, read getCall(id) and getCallEvents(id), and use endCall(id, endKey) for an intentional hangup. Wait for bridge_ready before greeting and for terminal cleanup before reusing resources. These methods are library APIs, not chert-sdk facetime start/watch/end commands. For group/link requests or newer options, check the installed SDK’s request type; use the documented HTTP contract when an option is not exposed by that version. For messages, the library includes listEvents, getEvent, streamEvents, and webhook subscription methods. streamEvents consumes authenticated SSE and does not automatically reconnect after a failed stream. Your application owns cursor handling, recovery, and event processing. See Events and Receiving replies. There is no generic chert-sdk imessage watch shell command. listChatMessages in SDK 0.3.0 returns the newest recorded window, up to 200 messages. Its has_more flag is a truncation hint, not a pagination cursor. Do not present that window as a complete historical archive.
  • Keep credentials in a private local file or secret store, outside Git and logs. A CLI login, project API key, messaging credential, and LiveKit secret have different scopes; a shared project ID does not make them interchangeable.
  • Apply the owner’s approved recipient/contact policy before messages and calls. Obtain approval for activity outside that scope, including paid setup or tests.
  • doctor checks prerequisites, not physical speech/video. doctor --agent dispatches an actual agent job; use it only within the approved testing scope.
  • A queued message or allocated call is not delivery or a conversation. Preserve stable idempotency keys, and reconcile uncertain outcomes before sending again.
  • Do not infer media availability from SDK method names or successful package installation. Unsupported capabilities must remain visible to the application.

Shutdown and recovery

Stop the owned chert dev process with Ctrl+C and wait for its terminal cleanup result. Retain local state when it reports cleanup_pending or release_failed. Releasing the connector does not unassign a shared line or turn off a Chert-hosted agent; inspect chert agent status and use chert agent off when that is intended. Automatic restart and durable application event handling belong to your runtime. chert --json emits structured records; dev --json is an event stream. Preserve those records without logging credentials, full message bodies, or private links. Use chert doctor --json and chert guide fix for diagnostics.

Integrator checklist

  1. Inspect the existing agent project and make additive changes; preserve its runtime, local edits, and owner-approved identity/contact policy.
  2. Pin and inspect the packages above. Distinguish CLI commands, SDK methods, and service availability rather than inventing commands from method names.
  3. Reuse the owner’s project and onboarding state; confirm the actual assigned line and capabilities before an approved real-world test.
  4. Wire incoming messages through SDK events/webhooks and calls through the appropriate BYOR/CLI path. Persist operation identities and recovery state.
  5. Test the requested media, event delivery, hangup, and cleanup. Report observed results separately from package installation and readiness checks.