import { Agent } from '@qckfx/agent';
import dotenv from 'dotenv';
dotenv.config();
const agent = new Agent({
defaultModel: 'anthropic/claude-sonnet-4',
systemPrompt: 'You are a helpful AI coding agent with access to a set of tools to accomplish the tasks given to you by the user.'
});
const { response } = await agent.processQuery('What does this repository do?');
console.log('Agent response: ', response);
const { response: nextResponse } = await agent.processQuery('What are the key files in this repository?');
console.log('Agent response: ', nextResponse);