getLocalAgents
client.agents.getLocalAgents(): Promise<Agent[]>
Retrieves agents installed from local sources.
Returns only agents that were installed from the local filesystem, excluding those from the remote registry.
Parameters
No parameters.
Returns
Promise<Agent[]> — A promise that resolves to an array of locally installed Agent objects
Example
import { CodeBoltClient } from '@codebolt/clientsdk';
const client = new CodeBoltClient();
const result = await client.agents.getLocalAgents();
console.log(result);