Key Concepts
- Gro Code CLI: A customizable, lightweight, and open-source coding CLI powered by Gro.
- Customization: The ability to modify the CLI's codebase, UI, and functionality.
- Modularity: The CLI's design, which allows for easy addition of new features and tools.
- Gro API: The default API used by the CLI, offering fast inference speeds for open-source models.
- Slash Commands: Commands that can be executed within the CLI using the "/" prefix.
- Lightweight Codebase: The CLI's small and approachable codebase, making it easier to understand and modify.
- Model Flexibility: The ability to use different LLMs and APIs with the CLI.
- Dart: A project management tool with AI features.
Gro Code CLI Overview
Gro has launched Gro Code CLI, an open-source coding CLI designed for customization and fast inference using Gro's models. It's positioned as a blueprint for developers to build their own CLIs.
Customization and Open Source Nature
The CLI is fully customizable. Developers can:
- Modify the codebase.
- Add custom tools.
- Change the UI.
- Rename the CLI.
- Fork the project.
Features and Functionality
- Equipped with familiar CLI features like chat and model selection.
- Defaults to the Gro API but can be configured to use any API.
- Supports custom slash commands.
- Lightweight codebase compared to other coding CLIs.
Modular Design
The CLI's modular design allows for easy addition of new features:
- To create a new tool, define a schema, implement the function, and register it.
- To add a slash command, create a new command definition and register it.
Model Flexibility
- Defaults to the Gro API and models like Kimmy K2.
- Can be pointed to different APIs or models.
User Interface Customization
- Change the startup command.
- Add custom ASCII art.
- Fork and rename the project.
Usage and Performance
- Works as a fast, responsive CLI for coding tasks.
- Supports chat, model selection, and handy commands.
- Can be used in any directory.
- Can modify its own codebase.
Installation and Setup
- To just use it, run the provided install command.
- To edit it, clone the repository using
git clone, then runnpm installto install dependencies,npm run buildto build it, and the link command to make it accessible. - Run the CLI with the
grocommand. - Configure the Gro API key (free tier available with a token limit).
- Select the desired model (defaults to KI K2).
Slash Commands and Options
/help: Shows information about the CLI.Shift + Tab: Toggles auto-approval.Control + C: Exits the application./reasoning: Enables reasoning traces for models that support it./clear: Clears the context and terminal interface.
Example Usage
- The video demonstrates asking the CLI to build a simple Minesweeper game using HTML, CSS, and JS.
- The CLI generates the code and shows a diff of the changes.
- The user can approve, always approve, or reject the changes.
Dart - Sponsor
Dart is a project management tool with AI features:
- AI can brainstorm project ideas, generate task lists, and complete assignments.
- Custom agents can be created to automate tasks (e.g., coding agent for pull requests, marketing agent for campaigns).
- Integrates with Claude, Chat GPT, and other AI tools.
- Most features are free, with premium options starting at $8 per month.
Conclusion
Gro Code CLI is a promising tool for developers who want a customizable and lightweight coding CLI with fast inference speeds. Its open-source nature and modular design make it easy to modify and extend. While it currently lacks MCP support, it has the potential to become a valuable asset for developers looking to streamline their coding workflow.
AI summaries can miss context or contain errors. Check important details against the original video.





