A streamlined, terminal-based AI coding assistant. jar-cli empowers you to manage your codebase through natural language, using a suite of precise tools for file exploration, editing, and execution.
- Interactive REPL: A polished terminal interface built with [Ink].
- Multi-Tool Support:
read: Precise file reading with line-number support.write: Safely create files and nested directories.edit: Surgical code updates with exact string matching.grep: Fast regex-based searching across the codebase.glob: Efficient file discovery using patterns.bash: Integrated shell command execution.
- Powered by OpenRouter: Access any large language model via the OpenRouter API.
# Clone the repository
git clone https://github.com/AI-with-Tamil/jar-cli.git
cd jar-cli
# Install dependencies
bun installSet your OpenRouter API key:
export OPENROUTER_API_KEY=your_key_hereRun the assistant:
# Using Bun
bun run dev
# Or build and run with Node
bun run build
node dist/index.js-m, --model <model>: Specify the model to use (default:google/gemini-3.1-flash-lite-preview).
MIT