Skip to content

Entry point reference

Each snippet is an independent import example. Choose only the entry needed by the application. Use import type for type-only declarations. SDK integrations require their feature-specific optional peers from package.json. Import CSS explicitly in the application.

Import Core API through this public entry.

import * as api from "@alneas/ai-core";

Import action through this public entry.

import * as api from "@alneas/ai-core/action";

Import proposal through this public entry.

import * as api from "@alneas/ai-core/proposal";

Import generative-ui through this public entry.

import * as api from "@alneas/ai-core/generative-ui";

Import ai-chat through this public entry.

import * as api from "@alneas/ai-core/ai-chat";

Import agent-output through this public entry.

import * as api from "@alneas/ai-core/agent-output";

Import validation through this public entry.

import * as api from "@alneas/ai-core/validation";

Import ai-chat / stream through this public entry.

import * as api from "@alneas/ai-core/ai-chat/stream";

Import ai-chat / types through this public entry.

import * as api from "@alneas/ai-core/ai-chat/types";

Import ai-chat / openai-compatible through this public entry.

import * as api from "@alneas/ai-core/ai-chat/openai-compatible";

Import ai-chat / ai-sdk through this public entry.

import * as api from "@alneas/ai-core/ai-chat/ai-sdk";

Import action / tool-bridge through this public entry.

import * as api from "@alneas/ai-core/action/tool-bridge";

Import action / tool-types through this public entry.

import * as api from "@alneas/ai-core/action/tool-types";

Import action / define-action-tool through this public entry.

import * as api from "@alneas/ai-core/action/define-action-tool";

Import action / schema-input through this public entry.

import * as api from "@alneas/ai-core/action/schema-input";

Import action / types through this public entry.

import * as api from "@alneas/ai-core/action/types";

Import action / registry through this public entry.

import * as api from "@alneas/ai-core/action/registry";

Import action / execution through this public entry.

import * as api from "@alneas/ai-core/action/execution";

Import proposal / validation through this public entry.

import * as api from "@alneas/ai-core/proposal/validation";

Import proposal / engine through this public entry.

import * as api from "@alneas/ai-core/proposal/engine";

Import proposal / types through this public entry.

import * as api from "@alneas/ai-core/proposal/types";

Import proposal / batch through this public entry.

import * as api from "@alneas/ai-core/proposal/batch";

Import generative-ui / validation through this public entry.

import * as api from "@alneas/ai-core/generative-ui/validation";

Import generative-ui / contract through this public entry.

import * as api from "@alneas/ai-core/generative-ui/contract";

Import generative-ui / types through this public entry.

import * as api from "@alneas/ai-core/generative-ui/types";

Import ai-chat / conversation through this public entry.

import * as api from "@alneas/ai-core/ai-chat/conversation";

Import ai-chat / session through this public entry.

import * as api from "@alneas/ai-core/ai-chat/session";