@artinet/create-quick-agent
Version:
A tool to create a Quick-Agent project via the CLI.
27 lines • 568 B
TypeScript
/**
* Basic Agent Example
*
* This example demonstrates how to create a simple agent
* that responds to incoming tasks.
*/
export function demoAgent(context: any): AsyncGenerator<{
state: string;
message: {
role: string;
parts: {
text: string;
type: string;
}[];
};
name?: undefined;
parts?: undefined;
} | {
name: string;
parts: {
text: string;
type: string;
}[];
state?: undefined;
message?: undefined;
}, void, unknown>;
//# sourceMappingURL=agent.d.ts.map