/** * Main exports for the POLARIS framework * Unified interface following the refactoring plan */ export { PolarisEngine } from "./engine/polaris-engine"; export type { PolarisEngineConfig, InferenceParams, } from "./engine/polaris-engine"; export { PolarisEngineTask, AgentRole, DomainConfig, CommonRoles, CommonDomains, TaskBuilder, } from "./types/task"; export { AgentOutput, AgentOutputFactory, AgentOutputUtils, MultiAgentOutput, EngineOutput, AgentPerformanceMetrics, ActionResult, } from "./types/agent-output"; export { openAiAgent, anthropicAgent, googleAgent, createAgent, createAgents, createEnsemble, QuickAgents, AgentEnsembleBuilder, AgentProvider, } from "./agents/factories/agent-factory"; export type { AgentFactoryConfig, BulkAgentConfig, } from "./agents/factories/agent-factory"; export { ConfigurationPresets, Presets, PresetCategories, PresetLoader, presets, Models, OpenAIModels, AnthropicModels, GoogleModels, ModelTiers, } from "./config"; export type { EnginePreset, OpenAIModelId, AnthropicModelId, GoogleModelId, ModelId } from "./config"; export { Agent, BaseAgent } from "./agents/base/agent"; export { OpenAIAgent } from "./agents/web/openai-agent"; export { AnthropicAgent } from "./agents/web/anthropic-agent"; export { GoogleAgent } from "./agents/web/google-agent"; export type { OpenAIAgentConfig } from "./agents/web/openai-agent"; export type { AnthropicAgentConfig } from "./agents/web/anthropic-agent"; export type { GoogleAgentConfig } from "./agents/web/google-agent"; export { AgentParameters, AgentStatistics, AgentBias, WebAPIConfig, HeuristicConfig, } from "./agents/base/parameters"; export { GameState, BaseGameState } from "./domains/base/game-state"; export { Action, BaseAction } from "./domains/base/action"; export { GameResult, GameEndReason, MoveResult, PositionAnalysis, } from "./domains/base/result"; export * from "./domains/philosophy"; export * from "./domains/chess"; export * from "./types/common"; export * from "./types/evaluation"; export * from "./types/search"; export * from "./types/config"; export { SentinelAgent, SentinelEvaluation, SentinelAnalysisContext, SentinelStatistics, } from "./sentinel/sentinel"; export { BiasDetector, BiasReport, BiasType, BiasDetectionConfig, } from "./sentinel/bias-detector"; export { DiversityAnalyzer, DiversityAnalysis, DiversityConfig, } from "./sentinel/diversity-analyzer"; export { MathUtils, RandomUtils } from "./utils/math"; export { Logger, LogLevel, PerformanceLogger, logger } from "./utils/logger"; export { EnvironmentConfig, getEnvVar, getEnvVarAsNumber, getEnvVarAsBoolean, } from "./utils/config"; export { RateLimiter, ProviderRateLimiters, } from "./utils/rate-limiter"; export type { RateLimiterConfig } from "./utils/rate-limiter"; export { Result, Ok, Err, ok, err, tryCatch, tryAsync } from "./utils/result"; export { Validator, EvaluationValidator, ConfigValidator, ValidationBuilder, validate, } from "./utils/validation"; export { EnhancedEnvironmentConfig, ConfigBuilder, createConfigBuilder, configRegistry, } from "./utils/enhanced-config"; export { StatisticsManager, statisticsManager, withStatistics, } from "./utils/statistics"; export * from "./errors/base"; export { LayerPipeline } from "./engine/layer-pipeline"; export type { LayerPipelineConfig, PipelineResult, IterationBreakdown, } from "./engine/layer-pipeline"; export { DivergentPromptStrategy, DivergentOutputParser, InquisitorPromptStrategy, InquisitorOutputParser, SynthesizerPromptStrategy, SynthesizerOutputParser, OrchestratorPromptStrategy, OrchestratorOutputParser, INQUISITOR_SCHEMA, ORCHESTRATOR_SCHEMA, } from "./strategies"; export type { PromptStrategy, PromptContext, CumulativeTokenUsage, OutputParserStrategy, RawLLMResponse, ParsedOutput, } from "./strategies"; export { StrategyAgent } from "./agents/base/strategy-agent"; export type { StrategyAgentConfig } from "./agents/base/strategy-agent"; export { OpenAIStrategyAgent } from "./agents/web/openai-strategy-agent"; export type { OpenAIStrategyAgentConfig, StructuredOutputSchema, } from "./agents/web/openai-strategy-agent"; export { LayerType, computeNextDecayState, } from "./types/layer"; export type { LayerMessage, LayerMessageMetadata, DivergentPayload, DivergentExploration, InquisitorPayload, SynthesizerPayload, OrchestratorPayload, DecayState, DecayConfig, ValidatedFragment, OrchestratorVerdict, } from "./types/layer"; export declare const VERSION = "2.1.0"; /** * Framework information */ export declare const POLARIS_INFO: { readonly name: "POLARIS"; readonly fullName: "Policy Optimization via Layered Agents and Recursive Inference Search"; readonly version: "2.1.0"; readonly description: "Multi-agent decision-making framework with flat inference and a 4-layer creative pipeline"; readonly author: "Diego Vallejo"; readonly license: "MIT"; readonly repository: "https://github.com/DiegoVallejoDev/Polaris"; readonly features: readonly ["Dual-mode engine (flat inference + Polaris Creativa pipeline)", "4-layer creative pipeline with decay-based reinjection", "Strategy pattern for layer-blind agents", "Structured Outputs (json_schema) for deterministic parsing", "ROI-aware token budget routing", "Role-aware agents with task context", "Multi-provider support (OpenAI, Anthropic, Google)", "Sentinel agent oversight", "Configuration presets", "Quick start helpers"]; readonly changelog: { readonly v2_0_0: readonly ["Polaris Creativa 4-layer pipeline", "Strategy pattern with 8 concrete strategies", "StrategyAgent and OpenAIStrategyAgent", "LayerPipeline with decay loop", "Structured Outputs and AbortController support", "70 new tests (strategies + pipeline)"]; readonly v1_0_0: readonly ["Production release with unified API", "Role-aware agents with automatic prompt building", "TaskBuilder, agent factories, configuration presets", "PolarisEngine unified inference engine"]; }; readonly releaseDate: "2026-04-13"; readonly stability: "stable"; }; /** * Quick start function for common use cases */ export declare function quickStart(useCase?: "chess" | "debate" | "decision" | "general"): { preset: any; createEngine: (apiKeys?: { openai?: string; anthropic?: string; google?: string; }) => any; }; //# sourceMappingURL=index.d.ts.map