With an embed key CLOUD
Name the agents on the embed key (project Embed tab), then list them on the server:lib/tilde.ts
/api/tilde/chat. Render the components:
identity prop only groups the components’ caches. Your server’s resolveIdentity decides who the user is.
With an agent’s chat key
Without an embed key, and in Tilde OSS, use@trytilde/chat-proxy with the agent’s chat key from the agent’s Chat providers tab:
@trytilde/chat-next adapts it to Next.js route handlers, and @trytilde/chat-ui provides the same Chat and ListSessions components.