export type Agent = (data: AgentData) => Promise; export type Agents = Record; export interface AgentData { threadId: string; params: string; }