/**
 * Hive SDK - Agents Module
 *
 * Exposes agent execution, context compilation, and agent loop functionality.
 *
 * @example
 * import { runAgent, AgentService, compileContext } from "@johpaz/hive-agents-sdk/agents";
 *
 * // Run an agent with a message
 * const response = await runAgent({
 *   agentId: "main",
 *   message: "Hello, agent!",
 *   threadId: "thread-123"
 * });
 */
export { AgentService, getAgentService, createAgentService } from "@johpaz/hive-agents-core/agent/service";
export type { AgentServiceConfig, AgentDBRecord } from "@johpaz/hive-agents-core/agent/service";
export { runAgent, runAgentIsolated, rebuildAgentLoop, getAgentLoop } from "@johpaz/hive-agents-core/agent/agent-loop";
export type { AgentLoopOptions, StepEvent, StreamChunk } from "@johpaz/hive-agents-core/agent/agent-loop";
export { compileContext } from "@johpaz/hive-agents-core/agent/context-compiler";
export { buildSystemPromptWithProjects } from "@johpaz/hive-agents-core/agent/prompt-builder";
export { addMessage, getHistory, getRecentMessages, getMessageCount, getTotalTokens, getMessagesAfter } from "@johpaz/hive-agents-core/agent/conversation-store";
export type { StoredMessage } from "@johpaz/hive-agents-core/agent/conversation-store";
export { selectTools } from "@johpaz/hive-agents-core/agent/tool-selector";
export { selectSkills } from "@johpaz/hive-agents-core/agent/skill-selector";
export { selectPlaybookRules } from "@johpaz/hive-agents-core/agent/playbook-selector";
export { callLLM, resolveProviderConfig } from "@johpaz/hive-agents-core/agent/llm-client";
export type { LLMMessage, LLMResponse, LLMCallOptions, LLMToolCall } from "@johpaz/hive-agents-core/agent/llm-client";
export { resolveAgentId, resolveUserId } from "@johpaz/hive-agents-core/storage/onboarding";
export { memoryWriteTool, memoryReadTool, memoryListTool, memorySearchTool, memoryDeleteTool, agentCreateTool, agentFindTool, agentArchiveTool, taskDelegateTool, taskDelegateCodeTool, taskStatusTool, busPublishTool, busReadTool, projectUpdatesTool, createTools as createAgentTools, } from "@johpaz/hive-agents-core/tools/agents";
