/** * Routing Prompts for Agent Network * * These prompts guide the routing agent in selecting the appropriate * primitive (agent, workflow, or tool) for a given task. */ import type { Primitive, AgentRoutingDecision } from "../../types/index.js"; /** * Prompt templates for routing decisions */ export declare const ROUTING_PROMPTS: { /** * System instructions for the routing agent */ SYSTEM_INSTRUCTIONS: string; /** * Template for task analysis and routing */ TASK_ROUTING: string; /** * Template for confidence evaluation */ CONFIDENCE_EVALUATION: string; /** * Template for multi-step planning */ MULTI_STEP_PLANNING: string; }; /** * Build a routing prompt with primitives and task * * @param task - The task to route * @param primitives - Available primitives * @param options - Additional options * @returns The formatted prompt */ export declare function buildRoutingPrompt(task: string, primitives: Primitive[], options?: { includeAlternatives?: boolean; maxPrimitivesToShow?: number; }): string; /** * Parse routing response from LLM * * @param response - The raw LLM response * @returns Parsed routing decision or null if parsing fails */ export declare function parseRoutingResponse(response: string): Partial | null; /** * Build confidence evaluation prompt * * @param primitive - The selected primitive * @param task - The task being evaluated * @returns The formatted prompt */ export declare function buildConfidencePrompt(primitive: Primitive, task: string): string; /** * Build multi-step planning prompt * * @param task - The task to plan * @param primitives - Available primitives * @returns The formatted prompt */ export declare function buildMultiStepPlanningPrompt(task: string, primitives: Primitive[]): string;