Skip to content

Jpkoech30/roo-mini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

68 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– Roo-Mini

Your terminal-native AI engineering partner.
Not a chatbot. Not a toy. A full-stack, tool-calling, multi-agent coding engine that lives in your terminal and ships real software.

Node License Version Changelog GitHub


โœจ What Makes Roo-Mini Different

Most AI coding tools are walled gardens โ€” you chat, it replies, end of story.
Roo-Mini is the opposite: it builds. From scratch. Line by line. File by file.

Capability Roo-Mini Other tools
Full project scaffolding โœ… Creates dirs, files, configs โŒ Just suggests code
File system read/write โœ… 40+ tools โŒ Clipboard-only
Multi-mode planning โœ… Plan โ†’ Code โ†’ Shell โ†’ Test โŒ Single mode
MCP-native architecture โœ… Built-in MCP server/client โŒ Requires plugins
PostgreSQL toolkit โœ… Direct DB querying โŒ External only
Web search & fetch โœ… Built-in โŒ External only
Sound effects โœ… Audio feedback per mode โŒ Silent

๐Ÿง  Architecture at a Glance

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         ๐Ÿง‘ User (CLI / MCP)          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ”‚
       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
       โ”‚   Agent Core   โ”‚  โ† Loop, intent detection, mode routing
       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ”‚
    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
    โ–ผ          โ–ผ          โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Code   โ”‚โ”‚  Plan  โ”‚โ”‚ Shell   โ”‚  โ† Execution modes
โ”‚ Builder โ”‚โ”‚Architectโ”‚โ”‚Runner  โ”‚
โ””โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”˜โ””โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”˜
    โ”‚          โ”‚          โ”‚
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ”‚
       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
       โ”‚   Tool Layer   โ”‚  โ† 40+ tools: files, shell, DB, web
       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
               โ”‚
       โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
       โ”‚  MCP Server   โ”‚  โ† Model Context Protocol bridge
       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿš€ Quick Start (30 seconds)

# 1. Clone & install
git clone https://github.com/Jpkoech30/roo-mini.git
cd roo-mini
npm install

# 2. Configure your API key
cp .env.example .env
# Edit .env โ€” add your AI provider key

# 3. Launch
npm start

That's it. You're now talking to an AI that can write files, run commands, query databases, search the web, and orchestrate multi-step software projects โ€” all from your terminal.


๐ŸŽฏ What You Can Do

๐Ÿ—๏ธ Build a full project from scratch

> build a Node.js + React todo app with PostgreSQL

Roo-Mini will plan the architecture, scaffold directories, write every file, install dependencies, and verify it runs.

๐Ÿ—„๏ธ Query databases directly

> show me all users who signed up this week

Roo-Mini connects to your PostgreSQL, runs the query, and shows results โ€” no GUI needed.

๐ŸŒ Search & fetch the web

> fetch the latest docs for Express 5 and summarize them

Roo-Mini searches Google, fetches pages, and extracts what you need.

๐Ÿ”„ Multi-step automation

> Plan โ†’ Code โ†’ Test โ†’ Deploy

Switch between modes mid-conversation. Plan the architecture, write code, test with shell, push to production.


๐Ÿงฉ Tool Reference (40+)

Category Tools
๐Ÿ“ Files read_file, write_file, append_to_file, replace_in_file, search_in_file, list_files, search_files_glob
๐Ÿ’ป Shell execute_shell
๐Ÿ—„๏ธ Database pg_tables, pg_describe, pg_query
๐ŸŒ Web web_search, web_fetch
๐Ÿง  Memory store_memory, get_memory, search_memory, clear_memory, show_memory
๐Ÿ“‹ Tasks create_task, update_task, list_tasks, create_subtask, create_task_dag, get_task_status, list_task_dag, execute_task, abort_task, execute_plan
๐Ÿ™ GitHub github_create_repo, github_push_files, github_list_repos, github_get_repo, github_create_issue
๐ŸŽต Audio play_sound

๐ŸŽฎ Modes

Roo-Mini adapts its behavior to what you're doing:

Mode Icon Purpose
Code ๐Ÿ’ป Build, write, implement
Plan ๐Ÿ“‹ Architect, design, whiteboard
Shell โŒจ๏ธ Run commands, automate
Test โœ… Verify, validate, QA
Normal ๐Ÿ’ฌ Chat, search, general

Each mode has its own sound signature โ€” you'll hear when Roo-Mini switches gears.


๐Ÿ”Š Sound Effects

Roo-Mini plays distinct sounds for each mode so you can keep working while it runs:

Sound When
๐ŸŽต chime Normal mode activated
๐Ÿ’ป keyboard click Code mode
๐Ÿ“‹ paper rustle Plan mode
โŒจ๏ธ terminal beep Shell mode
โœ… success ding Test mode
๐Ÿ›‘ error buzz Task failed

๐Ÿ“ฆ Project Structure

roo-mini/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ index.mjs          # Entry point
โ”‚   โ”œโ”€โ”€ core/              # Agent loop, orchestrator
โ”‚   โ”œโ”€โ”€ agent/             # Mode routing, intent detection
โ”‚   โ”œโ”€โ”€ tools/             # File, shell, DB, web implementations
โ”‚   โ”œโ”€โ”€ config/            # AI provider config (DeepSeek, OpenAI, etc.)
โ”‚   โ”œโ”€โ”€ memory/            # persistent memory & task engine
โ”‚   โ”œโ”€โ”€ mcp/               # MCP server & client
โ”‚   โ””โ”€โ”€ ui/                # CLI, printer, sound effects
โ”œโ”€โ”€ .env.example           # API key template
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿ”ง Configuration

Edit .env to set your preferences:

# Required
DEEPSEEK_API_KEY=sk-your-key-here

# Optional
DEEPSEEK_MODEL=deepseek-chat
OPENAI_API_KEY=sk-...
OLLAMA_HOST=http://localhost:11434

๐Ÿงช Running Tests

npm test

๐Ÿค Contributing

PRs welcome! See CONTRIBUTING.md for guidelines.


๐Ÿ“œ License

MIT ยฉ Jpkoech30


Built with โ˜• and ๐ŸŽง in the terminal.
Roo-Mini โ€” your AI that doesn't just talk, it builds.

About

Lightweight AI coding assistant with MCP support and multi-agent orchestration

Topics

Resources

License

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors