Skip to main content

CodeboltAPI

@codebolt/agent


Interface: CodeboltAPI

Defined in: packages/agent/src/unified/types/libTypes.ts:173

CodeBolt API interface for agent operations

Properties

PropertyTypeDescriptionDefined in
agent?{ listAgents: Promise<string[]>; startAgent: Promise<{ data: unknown; }>; }Agent operationspackages/agent/src/unified/types/libTypes.ts:220
agent.listAgentsPromise<string[]>-packages/agent/src/unified/types/libTypes.ts:224
agent.startAgentPromise<{ data: unknown; }>-packages/agent/src/unified/types/libTypes.ts:222
chat{ clearHistory: Promise<void>; getHistory: Promise<OpenAIMessage[]>; sendMessage: Promise<void>; summarizeConversation: Promise<string>; }Chat operationspackages/agent/src/unified/types/libTypes.ts:175
chat.clearHistoryPromise<void>-packages/agent/src/unified/types/libTypes.ts:181
chat.getHistoryPromise<OpenAIMessage[]>-packages/agent/src/unified/types/libTypes.ts:179
chat.sendMessagePromise<void>-packages/agent/src/unified/types/libTypes.ts:177
chat.summarizeConversationPromise<string>-packages/agent/src/unified/types/libTypes.ts:183
fs{ exists: Promise<boolean>; listDir: Promise<string[]>; readFile: Promise<string>; writeFile: Promise<void>; }File system operationspackages/agent/src/unified/types/libTypes.ts:208
fs.existsPromise<boolean>-packages/agent/src/unified/types/libTypes.ts:216
fs.listDirPromise<string[]>-packages/agent/src/unified/types/libTypes.ts:214
fs.readFilePromise<string>-packages/agent/src/unified/types/libTypes.ts:210
fs.writeFilePromise<void>-packages/agent/src/unified/types/libTypes.ts:212
llm{ inference: Promise<LLMResponse>; stream: AsyncIterable<LLMResponse>; }LLM operationspackages/agent/src/unified/types/libTypes.ts:190
llm.inferencePromise<LLMResponse>-packages/agent/src/unified/types/libTypes.ts:192
llm.streamAsyncIterable<LLMResponse>-packages/agent/src/unified/types/libTypes.ts:194
mcp{ executeTool: Promise<{ data: unknown; }>; getToolSchema: Promise<OpenAITool>; listTools: Promise<string[]>; }MCP (Micro-Component Platform) operationspackages/agent/src/unified/types/libTypes.ts:198
mcp.executeToolPromise<{ data: unknown; }>-packages/agent/src/unified/types/libTypes.ts:200
mcp.getToolSchemaPromise<OpenAITool>-packages/agent/src/unified/types/libTypes.ts:204
mcp.listToolsPromise<string[]>-packages/agent/src/unified/types/libTypes.ts:202