Keychat is composed of several components. One-to-one chats are encrypted with the Signal protocol, small group chats are pair-wise groups aggregated from one-to-one chats, and large group chats use the MLS protocol. It also involves ecash stamps.
We haven’t written any NIPs yet; we need to write several.