An AI-powered Discord bot that goes beyond simple chat. Built with TypeScript and Groq's Llama 4 Scout model, it features multi-round agent loops with real tool use — fetching web pages, executing commands, and reading files to answer questions.
ClaudeClaw (greg-bot) is a Discord bot that acts as an AI agent rather than a simple chatbot. When a user asks a question, the bot doesn't just generate text — it can autonomously decide to fetch a web page, run a bash command, read a local file, or list directory contents, then use the results to formulate a better answer.
The bot runs on Groq's inference platform using the Llama 4 Scout 17B model (16 experts), giving it fast response times with strong reasoning capability. Each conversation supports up to 4 tool rounds, with a 60-second timeout to prevent runaway agent loops.
Deployed as a systemd service on a Vultr VPS, the bot runs 24/7 and serves the MySEODesk Discord server. The TypeScript codebase compiles to JavaScript for production, with the Groq SDK handling all LLM communication.
Up to 4 sequential tool calls per request. The bot reasons about what information it needs and autonomously fetches it before responding.
Fetches and processes web pages on demand. HTML is converted to text and trimmed to 3000 characters for efficient context use.
Runs shell commands on the server for system queries, file operations, and data processing. Sandboxed with output limits.
Reads local files and lists directories on the server. Useful for checking configurations, logs, and project files.
Powered by Groq's blazing-fast inference with Llama 4 Scout 17B (16 experts). Pay-per-token pricing keeps costs minimal.
Runs 24/7 as a systemd service on Vultr. TypeScript compiled to JS, with automated build and deploy via rsync.