Skip to content

Releases: HoussemEddineChaouch/mini-agent-cli

v1.1.1

Choose a tag to compare

@HoussemEddineChaouch HoussemEddineChaouch released this 09 Jul 10:50

Mini Agent CLI - v1.1.1

A focused patch release fixing 5 bugs, all reported and fixed
by the community 🙌

Bug Fixes

  • #1 Parser no longer breaks when filenames contain dashes
  • #2 Added error handling for failed Gemini API calls
  • #4 Agent no longer crashes when reading a non-existent file
  • #5 Empty user input no longer sends a request to Gemini
  • #6 Agent now exits cleanly on Ctrl+C with a goodbye message

Contributors

Huge thanks to everyone who contributed to this release:


Quick start

git clone https://github.com/HoussemEddineChaouch/mini-agent-cli.git
cd mini-agent-cli
npm install
cp .env.example .env   # add your GEMINI_API_KEY
node src/index.js

Full changelog: CHANGELOG.md

v1.1.0

Choose a tag to compare

@HoussemEddineChaouch HoussemEddineChaouch released this 05 Jul 14:05

Mini Agent CLI — v1.1.0

What's new

  • JSON-based tool calling — replaced the old TOOL:name:arg string format with a structured JSON protocol:
    TOOL {"name":"...","args":{...}}-{"Reason":"..."}
  • Agent reasoning display — the agent now shows why it picked a tool before running it
  • Colored CLI output — red for your input, blue for the agent, yellow for tool name, green for the reason
  • Agent thinking indicator — shows [Agent Thinking...] while waiting for Gemini
  • *CLI Logo added to README header

Bug fixes

  • Fixed multi-JSON parsing in TOOL responses
  • writeFile now explicitly uses utf8 encoding

Structure

  • Files moved into src/ directory
  • Entry point is now node src/index.js

Quick start

git clone https://github.com/HoussemEddineChaouch/mini-agent-cli.git
cd mini-agent-cli
npm install
cp .env.example .env   # add your GEMINI_API_KEY
node src/index.js

Full changelog: CHANGELOG.md

v1.0.0

Choose a tag to compare

@HoussemEddineChaouch HoussemEddineChaouch released this 29 Jun 23:24

Mini Agent CLI — v1.0.0

First release! A lightweight CLI AI agent powered by Google Gemini that can interact with your filesystem through a simple tool-calling loop.

What's included

  • Interactive CLI chat loop
  • 3 built-in tools: readFile, writeFile, listDir
  • TOOL:name:arg protocol for Gemini tool-calling
  • Multi-turn conversation with tool result injection
  • .env support for API key management

Quick start

git clone https://github.com/YOUR_USERNAME/mini-agent-cli.git
cd mini-agent-cli
npm install
cp .env.example .env   # then add your GEMINI_API_KEY
node index.js

Dependencies

  • @google/genai ^2.10.0
  • dotenv ^17.4.2

Full changelog: CHANGELOG.md