Documentation / modules
Core
Construct user, system, assistant, and tool-result messages; carry text, media, reasoning, and tool calls; consume streaming chunks; and serialize the closed content model.
Repository
| Field | Value |
|---|---|
| Repository | github.com/looprig/core |
| Version | v0.6.0 |
| GitHub | looprig/core |
Description
Construct user, system, assistant, and tool-result messages; carry text, media, reasoning, and tool calls; consume streaming chunks; and serialize the closed content model.
Where it fits
Core is the foundation for applications that need provider-neutral messages, content blocks, streaming chunks, usage values, logging, or UUIDs. Within Looprig, those types are shared by Inference, Harness, tools, stores, and user interfaces. Core defines common values without owning model transport or runtime lifecycle.
Dependencies
None.