# LangSmith

Attify reads LangSmith through its API, read-only, with a read-only API key, for customer support, sales meetings, and bookings. When the buyer's own account is connected the data is connected; when a vendor connects its own account it is witnessed, and counts toward a verification only after the customer consents and reconciles it each month.

## As a observability tool, for customer support, sales meetings, and bookings

| Attify event          | LangSmith                                                             |
|-----------------------|-----------------------------------------------------------------------|
| interaction           | the thread, else the trace                                            |
| interaction.started   | the earliest `start_time`; metadata `user_id` (or `proven.customer`)  |
|                       | as the end user (a keyed digest); metadata `proven.external_ref`      |
| message               | each root run: the last user message of its `inputs`, the last        |
|                       | assistant message of its `outputs`                                    |
| action                | each `TOOL` run (`name`; `status` ERROR is failed, SUCCESS succeeded) |
| handoff               | metadata `proven.handoff`, or a tool run named like a transfer to a   |
|                       | person (`transfer_to_human`, `escalate`, `handoff`)                   |
| outcome.claimed       | metadata `proven.outcome` (the job's words), the latest run with one  |
