OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Discriminated union covering all LLM conversation turn types. Discriminant: `role`.
Variants
| role | purpose | |------|---------| | `system` | System-level instruction (persona, capability context) | | `user` | User message text | | `assistant` | LLM response, optionally carrying `toolCalls` | | `tool-call` | Tool invocation request from the LLM | | `tool-result` | Result returned by the tool handler |
Correlation
`tool-call` and `tool-result` turns are linked by `toolCallId`.