/**
 * Agent Module - Multi-Agent Networks for NeuroLink
 *
 * This module provides multi-agent orchestration capabilities:
 * - Agent: Individual agent with specialized instructions and tools
 * - AgentNetwork: Multi-agent orchestration using agents-as-tools pattern
 *
 * Types for this module live in src/lib/types/agentNetwork.ts and are
 * re-exported via the central barrel at src/lib/types/index.ts.
 *
 * @example Basic Usage
 * ```typescript
 * import { Agent, AgentNetwork } from '@juspay/neurolink';
 *
 * const neurolink = new NeuroLink();
 *
 * // Create a network with multiple agents
 * const network = neurolink.createNetwork({
 *   name: 'Content Team',
 *   agents: [
 *     { id: 'researcher', name: 'Researcher', description: '...', instructions: '...' },
 *     { id: 'writer', name: 'Writer', description: '...', instructions: '...' }
 *   ]
 * });
 *
 * // Execute the network
 * const result = await network.execute({
 *   message: 'Write an article about AI trends'
 * });
 * ```
 */
export { Agent } from "./agent.js";
export { AgentNetwork } from "./agentNetwork.js";
export { runIsolatedAgent, continueIsolatedAgent, stopIsolatedAgent, buildMechanicalDigest, hasOpenIsolatedAgentHandle, } from "./isolatedAgentRunner.js";
export { registerAgentTool, beginDelegationTurn, acquireDelegationSlot, runWithNestedDelegationDepth, resetDelegationPoolForTests, } from "./agentToolRegistrar.js";
export { collectStructuredCandidates, recoverStructuredData, summarizeZodError, } from "./structuredRecovery.js";
export { directAgentTools, getAvailableToolNames, getToolsForCategory, } from "./directTools.js";
export { buildConfidencePrompt, buildMultiStepPlanningPrompt, buildRoutingPrompt, parseRoutingResponse, ROUTING_PROMPTS, } from "./prompts/routingPrompts.js";
export { TERMINAL_AGENT_PROMPT_V1, TERMINAL_AGENT_PROMPT_VERSION, } from "./prompts/terminalAgentPrompt.js";
export { AgentCoordinator, TaskDistributor } from "./coordination/index.js";
export { MessageBus } from "./communication/index.js";
export { NetworkOrchestrator, NetworkTopology, TopologyBuilder, } from "./orchestration/index.js";
