import { Agent, ShellToolkit } from "@radaros/core";
const shell = new ShellToolkit({
timeout: 30000,
allowedCommands: ["ls", "cat", "grep", "wc", "echo"],
});
const agent = new Agent({
name: "devops-assistant",
instructions: "You run safe shell commands to inspect the system.",
toolkits: [shell],
});
await agent.run("Count the number of lines in all TypeScript files under src/");