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

@breadstone/archipel-platform-intelligence

Classes

ClassDescription
IntelligenceConfigurationErrorError thrown when an intelligence provider configuration is invalid or missing.
IntelligenceHealthIndicatorHealth indicator for the intelligence infrastructure. Verifies that the intelligence provider configuration can be resolved.
IntelligenceModuleCore module exposing the shared intelligence infrastructure.
IntelligenceProviderErrorError thrown when an intelligence provider call fails.
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.
IIntelligenceProviderConfigurationDescribes the resolved configuration for the intelligence 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
IntelligenceLanguageModelLoaderRepresents a factory responsible for creating a configured language model instance.
IntelligenceLanguageModelLoadersMaps configured intelligence providers to their tree-shakable model loader.
IntelligenceProviderNameRepresents the union of supported intelligence provider identifiers.
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).
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.
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.
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.
loadAnthropicLanguageModelCreates the Anthropic language model from the resolved provider configuration.
loadGoogleLanguageModelCreates the Google Gemini language model from the resolved provider configuration.
loadGrokLanguageModelCreates the Grok language model through the native xAI provider.
loadOpenAILanguageModelCreates the OpenAI language model from the resolved provider configuration.

Released under the MIT License.