Skip to main content
End users are the people who interact with your embedded Char agents.

User Identity

Char derives user identity from your IDP token (sub claim). Pass the JWT token when rendering the embedded agent:
<webmcp-agent auth-token="eyJhbGciOi..."></webmcp-agent>

Anonymous Sessions

When no auth-token is provided, the agent runs in stateless mode and does not persist user identity across sessions.
Stateless mode is useful for development and quick prototyping, but it does not support per-user history.

Enriching User Context

If you want the agent to see more user context, include additional claims in your IDP token (for example, email, name, or role).