UNPKG

smalltalk-ai

Version:

A complete TypeScript framework for building LLM applications with agent support and MCP integration

58 lines 2.98 kB
import { SmallTalk } from './core/SmallTalk.js'; import { Agent } from './agents/Agent.js'; import { CLIInterface } from './interfaces/CLIInterface.js'; import { WebInterface } from './interfaces/WebInterface.js'; import { WebChatInterface } from './interfaces/WebChatInterface.js'; export { SmallTalk } from './core/SmallTalk.js'; export { Chat } from './core/Chat.js'; export { Memory } from './core/Memory.js'; export { MCPClient } from './core/MCPClient.js'; export { Agent } from './agents/Agent.js'; export { AgentFactory } from './agents/AgentFactory.js'; export { PromptTemplateManager } from './agents/PromptTemplateManager.js'; export { OrchestratorAgent } from './agents/OrchestratorAgent.js'; export { InteractiveOrchestratorAgent } from './agents/InteractiveOrchestratorAgent.js'; export { BaseInterface } from './interfaces/BaseInterface.js'; export { CLIInterface } from './interfaces/CLIInterface.js'; export { WebInterface } from './interfaces/WebInterface.js'; export { WebChatInterface } from './interfaces/WebChatInterface.js'; export { TokenJSWrapper } from './utils/TokenJSWrapper.js'; export type { SmallTalkConfig, AgentConfig, AgentPersonality, ChatMessage, ChatSession, InterfaceConfig, MCPServerConfig, ToolDefinition, PromptTemplate, MemoryConfig, HistoryManagementConfig, ExecutionPlan, PlanStep, InterruptionContext, FlowContext, BaseInterface as IBaseInterface, Agent as IAgent, SmallTalkFramework, PlaygroundConfig } from './types/index.js'; export type { CLIConfig } from './interfaces/CLIInterface.js'; export type { WebChatConfig, PlanEvent, StreamingResponse, NotificationMessage } from './interfaces/WebChatInterface.js'; export type { LLMOptions, LLMResponse } from './utils/TokenJSWrapper.js'; export type { MCPResource, MCPPrompt } from './core/MCPClient.js'; export type { AgentCapabilities, HandoffDecision } from './agents/OrchestratorAgent.js'; export declare const VERSION = "0.2.0"; export declare function createSmallTalk(config?: { llmProvider?: string; model?: string; apiKey?: string; debugMode?: boolean; }): SmallTalk; export declare function createAgent(name: string, personality: string, options?: { temperature?: number; maxTokens?: number; tools?: string[]; }): Agent; export declare function createCodingAgent(name?: string, languages?: string[]): Agent; export declare function createWritingAgent(name?: string, style?: 'creative' | 'technical' | 'academic' | 'casual'): Agent; export declare function createCLI(config?: { prompt?: string; colors?: Record<string, string>; showTimestamps?: boolean; }): CLIInterface; export declare function createWebAPI(config?: { port?: number; host?: string; cors?: any; }): WebInterface; export declare function createWebChat(config?: { port?: number; host?: string; cors?: any; orchestrationMode?: boolean; enableChatUI?: boolean; }): WebChatInterface; export default SmallTalk; //# sourceMappingURL=index.d.ts.map