@xynehq/jaf
Version:
Juspay Agent Framework - A purely functional agent framework with immutable state and composable tools
23 lines • 846 B
TypeScript
import { z } from 'zod';
import { Agent } from '../core/types.js';
type DemoContext = {
userId: string;
permissions: string[];
workspace: string;
};
declare const handoffResponseSchema: z.ZodObject<{
agentName: z.ZodEnum<["MathTutor", "FileManager", "WebResearcher"]>;
reasoning: z.ZodString;
}, "strip", z.ZodTypeAny, {
agentName: "MathTutor" | "FileManager" | "WebResearcher";
reasoning: string;
}, {
agentName: "MathTutor" | "FileManager" | "WebResearcher";
reasoning: string;
}>;
export declare const triageAgent: Agent<DemoContext, z.infer<typeof handoffResponseSchema>>;
export declare const mathTutor: Agent<DemoContext, string>;
export declare const fileManager: Agent<DemoContext, string>;
export declare const webResearcher: Agent<DemoContext, string>;
export {};
//# sourceMappingURL=agents.d.ts.map