Node.js AI Agent CLI Template
A standalone command-line AI agent template that uses the ChatBotKit Agent SDK to run bespoke agents with built-in tools for file manipulation, code editing, and shell command execution.
This template uses @chatbotkit/agent to provide a complete agentic execution loop with built-in tools for reading, writing, and editing files as well as executing shell commands. The agent runs in a multi-iteration loop with automatic planning, progress tracking, and controlled exit.
Custom tools are defined in src/tools.js using zod schemas and merged alongside the built-in tools. The CLI supports both interactive mode with real-time token streaming and a pipe-friendly JSON output mode for automation.
This is the recommended starting point for building standalone CLI agents that need file system access and shell execution without a web interface.
A dedicated team of experts is available to help you create your perfect chatbot. Reach out via or chat for more information.