UNPKG

genaiscript

Version:

A CLI for GenAIScript, a generative AI scripting framework.

24 lines (21 loc) 590 B
system({ title: "Agent that can find, search or read files to accomplish tasks", }) export default function (ctx: ChatGenerationContext) { const { defAgent } = ctx defAgent( "fs", "query files to accomplish tasks", `Your are a helpful LLM agent that can query the file system. Answer the question in <QUERY>.`, { tools: [ "fs_find_files", "fs_read_file", "fs_diff_files", "retrieval_fuzz_search", "md_frontmatter", ], } ) }