# 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.

- Path: `Modules > Core - Shared Types`
- Human: https://looprig.com/docs/modules/core
- Machine index: https://looprig.com/llms.txt

## Repository

| Field | Value |
| --- | --- |
| Repository | `github.com/looprig/core` |
| Version | `v0.6.0` |
| GitHub | [looprig/core](https://github.com/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](/docs/modules/inference.md), [Harness](/docs/modules/harness.md), tools, stores, and user interfaces. Core defines common values without owning model transport or runtime lifecycle.

## Dependencies

None.

## Dependents

- [ACP](/docs/modules/acp.md)
- [Classifiers](/docs/modules/classifiers.md)
- [Client](/docs/modules/client.md)
- [Eval](/docs/modules/eval.md)
- [Flow](/docs/modules/flow.md)
- [Flow Store](/docs/modules/flow-store.md)
- [Foreign Loops](/docs/modules/foreignloops.md)
- [Harness](/docs/modules/harness.md)
- [Inference](/docs/modules/inference.md)
- [LLM](/docs/modules/llm.md)
- [MCP](/docs/modules/mcp.md)
- [Tools](/docs/modules/tools.md)
- [TUI](/docs/modules/tui.md)
- [Workflows](/docs/modules/workflows.md)
