Mozaik

Package exports

Main entry point and subpath typings for @mozaik-ai/core.

The primary API is exported from @mozaik-ai/core. The following reflects the public src/index.ts on the development branch; your installed version may add or refine symbols—always check node_modules/@mozaik-ai/core for the exact set.

Main entry

CategoryExports
Context runtimeContext, ContextItem, ContextRepository, InMemoryContextRepository
Input itemsUserMessage, DeveloperMessage, FunctionCallOutput
Output itemsModelMessage, FunctionCall, Reasoning
InferenceGenerativeModel, OpenAIResponses, InferenceRequest, InferenceResponse, Gpt54, Gpt54Mini, Gpt54Nano, Tool
UsageTokenUsage, InputTokenDetails, OutputTokenDetails
Context engineCondition, BaseCondition, Action, AsyncAction, Rule, AsyncRule, If, Loop

Import example:

import {
  Context,
  UserMessage,
  OpenAIResponses,
  Gpt54,
} from '@mozaik-ai/core';

Subpath typings

The package package.json declares typesVersions entries for deeper paths (e.g. core and providers/openai). These are mainly for TypeScript resolution of internal layout when the published dist mirrors that structure—follow your editor’s jump-to-definition from the main exports first, then use subpaths only if your version documents them on npm.

Source of truth

On this page