Mozaik

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

CategoryExports
Agentic environmentAgenticEnvironment, Participant, BaseParticipant, AgenticError
CapabilitiesrunInference, executeFunctionCall, sendMessage, InferenceParams, InferenceResponse
ContextModelContext, ModelContextRepository, InMemoryModelContextRepository, ContextItem, SemanticEvent
Client itemsUserMessageItem, DeveloperMessageItem, SystemMessageItem, FunctionCallOutputItem
Model itemsModelMessageItem, FunctionCallItem, ReasoningItem
ModelsModelName, Tool, Endpoint, StructuredOutputFormat
UsageTokenUsage, InputTokenDetails, OutputTokenDetails

Import example:

import {
  AgenticEnvironment,
  BaseParticipant,
  runInference,
  executeFunctionCall,
  sendMessage,
  ModelContext,
  UserMessageItem,
  DeveloperMessageItem,
  Tool,
  InMemoryModelContextRepository,
} from '@mozaik-ai/core';

Source of truth

On this page