import { Agent } from '@a3s-lab/code';
// Agent.create accepts an .acl file path or inline ACL string.
const agent = await Agent.create('agent.acl');
const session = agent.session('.');
const result = await session.send('List the files in this directory.');
console.log(result.text);
// What the runtime checked while producing that turn.
console.log(result.verificationSummaryText);
session.close();