Package exports
Main entry point and typed exports for @mozaik-ai/core.
The primary API is exported from @mozaik-ai/core. The table below reflects the public src/index.ts; your installed version may add or refine symbols — always check node_modules/@mozaik-ai/core for the exact set.
Main entry
| Category | Exports |
|---|---|
| Agentic environment | AgenticEnvironment, Participant, BaseParticipant, AgenticError |
| Capabilities | runInference, executeFunctionCall, sendMessage, InferenceParams, InferenceResponse |
| Context | ModelContext, ModelContextRepository, InMemoryModelContextRepository, ContextItem, SemanticEvent |
| Client items | UserMessageItem, DeveloperMessageItem, SystemMessageItem, FunctionCallOutputItem |
| Model items | ModelMessageItem, FunctionCallItem, ReasoningItem |
| Models | ModelName, Tool, Endpoint, StructuredOutputFormat |
| Usage | TokenUsage, InputTokenDetails, OutputTokenDetails |
Import example:
import {
AgenticEnvironment,
BaseParticipant,
runInference,
executeFunctionCall,
sendMessage,
ModelContext,
UserMessageItem,
DeveloperMessageItem,
Tool,
InMemoryModelContextRepository,
} from '@mozaik-ai/core';