Streamline your AI development with effortless directory insights.
Project details
AI Toolkit is a powerful command-line utility designed specifically for AI tasks. With features like recursive directory listing, extraction of TypeScript types, and AI-powered editing capabilities, it simplifies file management for developers. Enhance your coding experience by effortlessly tapping into directory structures while leveraging the power of AI.
AI Toolkit is a powerful command-line utility designed to streamline AI-related tasks by efficiently managing and analyzing directory contents. This tool allows users to list and dump the file contents in a structured manner, making it an invaluable asset for developers working with AI models.
cat command allows users to dump the contents of all files into a text file, preserving file paths as headers for clear organization..aitkignore files, similar to .gitignore, for a cleaner output.Use the AI Toolkit effectively with the following commands:
aitk [command] [options] [directory1] [directory2] ...
cat: Dump all file contents.ls: Show a recursive directory tree.types: Extract types and function signatures from code files.ask: Pose questions to an AI model.edit: Make AI-assisted edits to your files.help: Access help information for commands and options.aitk ls
aitk cat /path/to/directory
aitk ask "What is AI Toolkit?"
With its easy-to-use command structure and powerful AI functionalities, AI Toolkit is essential for anyone looking to enhance their AI project management and code analysis tasks. Start utilizing it to unlock the full potential of your AI-driven development efforts!
Comments
4pioneering at the time it was conceived
Nice work! Thanks for sharing! 😊
Hey thresh. Thanks for the feedback! Yeah, for me, I mostly use the cat and ls functions and just paste it into openwebui. I find it cheaper than cursor and cline, and I have more control.
The AI functions I added recently, like edit, ask and prompt, but I use LITELLM so I just add environment variables for that.
I'm not sure when I'll get the time, but I've made an issue here: https://github.com/markwylde/aitk/issues/2
editdoesn't handle follow-ups yet. Issue made: https://github.com/markwylde/aitk/issues/3This looks great! Feels like this is pretty much what Cursor does under the hood, right? It’d be awesome if it worked with an
OPENAI_API_KEYdefined in the environment—that’s pretty much the standard nowadays. Also, doesedithandle follow-ups?