Chat
Main entry point for all user chat messages.
Implements the two-hop routing pattern: looks up the organization’s main agent and streams the response. In v1, this forwards directly to the main agent’s runner streaming. Future versions will add non-streaming routing hop where the main agent selects a target instance before streaming.
The tenant SurrealDB namespace keyed by the authenticated caller’s organization is the isolation boundary for both the agent type and the agent resource lookups the runner resolution traverses.
Returns: SSE stream of the agent’s response.
Raises: NotFoundError: If no main router agent seeded for the organization.
Documentation Index
Fetch the complete documentation index at: https://docs.pragmatiks.io/llms.txt
Use this file to discover all available pages before exploring further.