Skip to content
@archipel/platform-intelligence Auto-generated

@breadstone/archipel-platform-intelligence

Classes

ClassDescription
DefaultIntelligencePromptPolicyAdapterDefault prompt policy that supports native settings and automatic model selection.
IntelligenceAgentFactoryCreates AI SDK 7 tool-loop agents with platform-registered tools merged in.
IntelligenceConfigurationErrorError thrown when an intelligence provider configuration is invalid or missing.
IntelligenceEmbeddingGeneratorExecutes AI SDK embedding operations.
IntelligenceHealthIndicatorHealth indicator for the intelligence infrastructure. Verifies that the intelligence provider configuration can be resolved.
IntelligenceMediaGeneratorExecutes AI SDK media generation and understanding operations.
IntelligenceModuleCore module exposing the shared intelligence infrastructure.
IntelligencePromptExecutorValidates and executes reusable intelligence prompt invocations.
IntelligencePromptPolicyPortResolves provider-neutral prompt requirements into effective generation settings.
IntelligenceProviderAssetUploaderUploads provider-managed files and skills for reuse in AI SDK calls.
IntelligenceProviderErrorError thrown when an intelligence provider call fails.
IntelligenceRealtimeErrorError raised by a realtime session, transport, or metering adapter.
IntelligenceRealtimeMeteringPortApplication port for idempotently persisting realtime billing and audit events.
IntelligenceRealtimeSessionFactoryCreates and owns server-side, provider-neutral realtime AI sessions.
IntelligenceRealtimeSessionPortProvider-neutral control surface for one realtime model connection.
IntelligenceStructuredGeneratorExecutes AI SDK structured-output generation.
IntelligenceTelemetryRegistryRegisters AI SDK telemetry integrations for the current process.
IntelligenceTextGeneratorExecutes text completions using the configured intelligence provider.
IntelligenceToolBaseBase class for class-based AI SDK tools.
IntelligenceToolRegistryRegistry for class-based intelligence tools.
IntelligenceValidationErrorError thrown when an intelligence input validation fails.

Interfaces

InterfaceDescription
IIntelligenceCompletionUsageCaptures usage telemetry returned by the intelligence provider.
IIntelligenceModuleOptionsOptions for configuring the intelligence module.
IIntelligencePromptDefinitionReusable, immutable definition of an intelligence prompt.
IIntelligencePromptEffectivePolicyEffective settings resolved for one prompt execution.
IIntelligencePromptExecutionContextApplication context made available to prompt policy adapters.
IIntelligencePromptExecutionPolicyNative settings and provider-neutral requirements declared by an intelligence prompt.
IIntelligencePromptExecutionResultNormalized result of an intelligence prompt execution.
IIntelligencePromptInvocationBound prompt definition ready for execution.
IIntelligencePromptPolicyRequestPolicy resolution request for one prompt invocation.
IIntelligencePromptRenderContextInput exposed to pure prompt rendering functions.
IIntelligenceProviderConfigurationDescribes the resolved configuration for the intelligence provider.
IIntelligenceRealtimeAudioFormatProvider-neutral audio format configuration.
IIntelligenceRealtimeCloseEventDescribes why an upstream realtime connection closed.
IIntelligenceRealtimeModuleOptionsModule-level resilience and resource limits for realtime intelligence.
IIntelligenceRealtimeSessionConfigurationProvider-neutral configuration for a realtime AI session.
IIntelligenceRealtimeSessionOptionsOptions used to create one server-owned realtime model connection.
IIntelligenceRealtimeToolDefinitionProvider-neutral function definition exposed to a realtime model.
IIntelligenceRealtimeTranscriptionConfigurationProvider-neutral transcription configuration.
IIntelligenceRealtimeTurnDetectionConfigurationProvider-neutral voice activity detection configuration.
IIntelligenceRealtimeUsageNormalized token usage reported by a realtime provider.
IIntelligenceTextCompletionRepresents the normalized completion result produced by the intelligence provider.
IIntelligenceTextGenerationOptionsOptions that can be supplied when generating text with the intelligence provider.
IIntelligenceTextGeneratorAbstraction responsible for executing text completions using the configured provider.
IIntelligenceTextStreamingOptionsOptions that can be supplied when streaming text with the intelligence provider.
IIntelligenceToolMinimal shape required by the intelligence tool registry.
IIntelligenceToolRegistryContract for the intelligence tool registry.

Type Aliases

Type AliasDescription
IIntelligencePromptModelRequirementModel selection requested by a reusable intelligence prompt.
IntelligenceLanguageModelLoaderRepresents a factory responsible for creating a configured language model instance.
IntelligenceLanguageModelLoadersMaps configured intelligence providers to their tree-shakable model loader.
IntelligencePromptCapabilityProvider-neutral capability required by an intelligence prompt.
IntelligencePromptDefinitionConfigurationConfiguration accepted by intelligencePrompt.
IntelligencePromptGenerationOptionsNative generation settings that can be stored on a prompt definition.
IntelligencePromptLatencyLatency profile requested by an intelligence prompt.
IntelligencePromptModeSupported execution modes for reusable intelligence prompts.
IntelligencePromptQualityProvider-neutral model quality requested by an intelligence prompt.
IntelligencePromptReasoningProvider-neutral reasoning effort requested by an intelligence prompt.
IntelligenceProviderNameRepresents the union of supported intelligence provider identifiers.
IntelligenceRealtimeClientEventProvider-neutral event sent from an application to a realtime model.
IntelligenceRealtimeMetadataValueSerializable metadata copied into realtime metering events.
IntelligenceRealtimeMeteringEventDurable metering event emitted by an Archipel realtime session.
IntelligenceRealtimeModelLoaderCreates a configured Vercel AI SDK realtime model behind the Archipel facade.
IntelligenceRealtimeModelLoadersMaps configured intelligence providers to tree-shakable realtime model loaders.
IntelligenceRealtimeServerEventProvider-neutral event emitted by a realtime model.
IntelligenceRealtimeStatusDescribes the lifecycle state of an upstream realtime model connection.
IntelligenceTextStreamNative AI SDK streaming result returned by the intelligence text generator.

Variables

VariableDescription
ANTHROPIC_API_KEYAnthropic-specific API key.
ANTHROPIC_BASE_URLAnthropic-specific base URL.
ANTHROPIC_CONFIG_ENTRIESConfiguration entries used by the Anthropic intelligence provider.
AnthropicIntelligenceToolNamesAnthropic provider-defined tool names exposed through Archipel.
GEMINI_API_KEYGoogle-specific Gemini API key alias.
GOOGLE_API_KEYGoogle-specific API key.
GOOGLE_BASE_URLGoogle-specific base URL.
GOOGLE_CONFIG_ENTRIESConfiguration entries used by the Google intelligence provider.
GoogleIntelligenceToolNamesGoogle provider-defined tool names exposed through Archipel.
GROK_API_KEYGrok-specific API key.
GROK_BASE_URLGrok-specific base URL.
GROK_CONFIG_ENTRIESConfiguration entries used by the Grok intelligence provider.
GrokIntelligenceToolNamesGrok provider-defined tool names exposed through Archipel.
INTELLIGENCE_API_KEYGlobal API key override for the intelligence provider.
INTELLIGENCE_BASE_URLGlobal base URL override for the intelligence provider.
INTELLIGENCE_MAX_OUTPUT_TOKENSMaximum number of output tokens for the AI model.
INTELLIGENCE_MODELAI model identifier to use for text generation.
INTELLIGENCE_PROVIDERIntelligence provider name (e.g. openai, anthropic, google, grok, mimo).
INTELLIGENCE_TEMPERATURESampling temperature for the AI model.
INTELLIGENCE_TOP_PTop-p (nucleus sampling) for the AI model.
IntelligenceProviderNamesEnumerates the supported model providers powering the intelligence pipeline.
MIMO_API_KEYMiMo-specific API key.
MIMO_BASE_URLMiMo-specific base URL.
MIMO_CONFIG_ENTRIESConfiguration entries used by the MiMo intelligence provider.
OPENAI_API_KEYOpenAI-specific API key.
OPENAI_BASE_URLOpenAI-specific base URL.
OPENAI_CONFIG_ENTRIESConfiguration entries used by the OpenAI intelligence provider.
OpenAIIntelligenceToolNamesOpenAI provider-defined tool names exposed through Archipel.
PLATFORM_INTELLIGENCE_CONFIG_ENTRIESAll configuration entries required by platform-intelligence.
XAI_API_KEYxAI-specific API key alias for Grok.
XAI_BASE_URLxAI-specific base URL alias for Grok.

Functions

FunctionDescription
createAnthropicAdvisor20260301ToolCreates an Anthropic advisor tool registration.
createAnthropicBash20241022ToolCreates an Anthropic bash tool registration for the 2024-10-22 version.
createAnthropicBash20250124ToolCreates an Anthropic bash tool registration for the 2025-01-24 version.
createAnthropicCodeExecution20250522ToolCreates an Anthropic code-execution tool registration for the 2025-05-22 version.
createAnthropicCodeExecution20250825ToolCreates an Anthropic code-execution tool registration for the 2025-08-25 version.
createAnthropicCodeExecution20260120ToolCreates an Anthropic code-execution tool registration for the 2026-01-20 version.
createAnthropicComputer20241022ToolCreates an Anthropic computer-use tool registration for the 2024-10-22 version.
createAnthropicComputer20250124ToolCreates an Anthropic computer-use tool registration for the 2025-01-24 version.
createAnthropicComputer20251124ToolCreates an Anthropic computer-use tool registration for the 2025-11-24 version.
createAnthropicMemory20250818ToolCreates an Anthropic memory tool registration.
createAnthropicTextEditor20241022ToolCreates an Anthropic text-editor tool registration for the 2024-10-22 version.
createAnthropicTextEditor20250124ToolCreates an Anthropic text-editor tool registration for the 2025-01-24 version.
createAnthropicTextEditor20250429ToolCreates an Anthropic text-editor tool registration for the 2025-04-29 version.
createAnthropicTextEditor20250728ToolCreates an Anthropic text-editor tool registration for the 2025-07-28 version.
createAnthropicToolSearchBM2520251119ToolCreates an Anthropic BM25 tool-search tool registration.
createAnthropicToolSearchRegex20251119ToolCreates an Anthropic regex tool-search tool registration.
createAnthropicWebFetch20250910ToolCreates an Anthropic web-fetch tool registration for the 2025-09-10 version.
createAnthropicWebFetch20260209ToolCreates an Anthropic web-fetch tool registration for the 2026-02-09 version.
createAnthropicWebSearch20250305ToolCreates an Anthropic web-search tool registration for the 2025-03-05 version.
createAnthropicWebSearch20260209ToolCreates an Anthropic web-search tool registration for the 2026-02-09 version.
createGoogleCodeExecutionToolCreates a Google code-execution tool registration.
createGoogleEnterpriseWebSearchToolCreates a Google enterprise-web-search tool registration.
createGoogleFileSearchToolCreates a Google file-search tool registration.
createGoogleGoogleMapsToolCreates a Google Maps grounding tool registration.
createGoogleGoogleSearchToolCreates a Google Search grounding tool registration.
createGoogleUrlContextToolCreates a Google URL context tool registration.
createGoogleVertexRagStoreToolCreates a Google Vertex RAG Store tool registration.
createGrokCodeExecutionToolCreates a Grok code-execution tool registration.
createGrokFileSearchToolCreates a Grok file-search tool registration.
createGrokMcpServerToolCreates a Grok MCP server tool registration.
createGrokViewImageToolCreates a Grok image-understanding tool registration.
createGrokViewXVideoToolCreates a Grok X-video understanding tool registration.
createGrokWebSearchToolCreates a Grok web-search tool registration.
createGrokXSearchToolCreates a Grok X-search tool registration.
createIntelligenceToolAdapts a native AI SDK tool to the Archipel intelligence tool schema.
createMimoCustomToolCreates a MiMo function tool registration.
createOpenAIApplyPatchToolCreates an OpenAI apply-patch tool registration.
createOpenAICodeInterpreterToolCreates an OpenAI code-interpreter tool registration.
createOpenAICustomToolCreates an OpenAI custom provider-defined tool registration.
createOpenAIFileSearchToolCreates an OpenAI file-search tool registration.
createOpenAIImageGenerationToolCreates an OpenAI image-generation tool registration.
createOpenAILocalShellToolCreates an OpenAI local-shell tool registration.
createOpenAIMcpToolCreates an OpenAI MCP connector tool registration.
createOpenAIShellToolCreates an OpenAI shell tool registration.
createOpenAIToolSearchToolCreates an OpenAI tool-search tool registration.
createOpenAIWebSearchPreviewToolCreates an OpenAI web-search-preview tool registration.
createOpenAIWebSearchToolCreates an OpenAI web-search tool registration.
createProviderOptionsCreates the provider options object consumed by the AI SDK model factories.
intelligencePromptCreates a reusable intelligence prompt definition.
loadAnthropicLanguageModelCreates the Anthropic language model from the resolved provider configuration.
loadGoogleLanguageModelCreates the Google Gemini language model from the resolved provider configuration.
loadGoogleRealtimeModelCreates a Google Gemini Live model exclusively through the Vercel AI SDK provider.
loadGrokLanguageModelCreates the Grok language model through the native xAI provider.
loadGrokRealtimeModelCreates an xAI Grok voice model exclusively through the Vercel AI SDK provider.
loadMimoLanguageModelCreates the Xiaomi MiMo language model from the resolved provider configuration.
loadOpenAILanguageModelCreates the OpenAI language model from the resolved provider configuration.
loadOpenAIRealtimeModelCreates an OpenAI realtime model exclusively through the Vercel AI SDK provider.

Released under the MIT License.