UNPKG

pocketsmith-mcp

Version:

MCP server for managing budgets via PocketSmith API

21 lines (20 loc) 641 B
/** * @fileoverview Defines the core Agent class for the AI agent. * This file contains the main agent logic, including its lifecycle, * interaction with MCP servers, and integration with LLM services. * @module src/agent/agent-core/agent */ export interface AgentConfig { agentId: string; } export declare class Agent { private config; private mcpClientManager; private context; private availableTools; constructor(config: AgentConfig); run(initialPrompt: string, onStreamChunk?: (chunk: string) => void): Promise<string>; private connectToMcpServers; private _executeToolCall; private think; }