/** * Agents Index (v0.5.0) * Simplified single-agent analysis with MCP detection * * Architecture: * Phase 1: Codebase Analyzer (unified agent with tools) * Phase 2: MCP Detection (pure function) * * This replaces the complex 4-phase multi-agent system (v0.4.5-v0.4.9) * which added overhead without improving output quality. */ export type { CodebaseAnalyzerInput, RalphMcpServers, ProgressCallback, ToolCallCallback, ToolCallEvent, AnalysisPlan, EnrichedContext, TechResearchResult, EvaluationResult, ContextEnricherInput, TechResearcherInput, SynthesisInput, CodebaseAnalysis, StackResearch, McpRecommendations, MultiAgentAnalysis, AgentCapabilities, AgentOptions, CodebaseAnalystInput, StackResearcherInput, OrchestratorInput, } from './types.js'; export { runCodebaseAnalyzer } from './codebase-analyzer.js'; export { detectRalphMcpServers, convertToLegacyMcpRecommendations } from './mcp-detector.js'; export { detectProjectType } from './stack-utils.js'; export { runPlanningOrchestrator } from './planning-orchestrator.js'; export { runContextEnricher } from './context-enricher.js'; export { runTechResearcher, runTechResearchPool } from './tech-researcher.js'; export { runSynthesisAgent } from './synthesis-agent.js'; export { runEvaluatorOptimizer } from './evaluator-optimizer.js'; export { runCodebaseAnalyst } from './codebase-analyst.js'; export { runStackResearcher } from './stack-researcher.js'; export { runOrchestrator, mergeAgentResults } from './orchestrator.js'; import type { LanguageModel } from 'ai'; import type { ScanResult } from '../../scanner/types.js'; import type { MultiAgentAnalysis, AgentOptions } from './types.js'; /** * Run simplified multi-agent analysis pipeline (v0.5.0) * * Phase 1: Codebase Analyzer - Single agent explores codebase with tools * Phase 2: MCP Detection - Pure function detects required MCP servers * * This simplified architecture reduces: * - Token cost: ~15,000 → ~5,000 * - LLM calls: 7-11 → 2-3 * - Agents: 7 → 1 * - Failure points: Many → Few */ export declare function runMultiAgentAnalysis(model: LanguageModel, modelId: string, scanResult: ScanResult, options?: AgentOptions): Promise;