Skip to content

Type Alias: ConversationKind

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ConversationKind

ConversationKind = "assistant" | "agent_consultation" | "guided_ontology" | "generative_ui" | "external_agent"

Defined in: src/types/conversation.ts:1419

The surface that owns a conversation.

A closed set. The engine writes the kind when it creates the conversation, and the kind never changes. A turn that names another kind is refused 409.

  • assistant — the chat of sendMessage / sendMessageStream.
  • agent_consultation — a conversation with one published agent (POST /api/v1/conversation/agents/{agent_id}/message/stream).
  • guided_ontology — the guided ontology builder, recorded with recordTurn.
  • generative_ui — the conversation of ui.generate.
  • external_agent — an agent that records its own turns with recordTurn.