Files
vibn-api/dist/agents/registry.d.ts
2026-05-17 12:43:53 -07:00

19 lines
683 B
TypeScript

import { ToolDefinition } from '../tools';
export interface AgentConfig {
name: string;
description: string;
model: string;
promptId: string;
tools: ToolDefinition[];
}
export declare function registerAgent(config: AgentConfig): void;
export declare function getAgent(name: string): AgentConfig | undefined;
export declare function allAgents(): AgentConfig[];
/**
* Backwards-compatible AGENTS object — populated as agents register.
* server.ts uses AGENTS[name] and Object.values(AGENTS).
*/
export declare const AGENTS: Record<string, AgentConfig>;
/** Pick tools from ALL_TOOLS by name. */
export declare function pick(names: string[]): ToolDefinition[];