79 Downloads Updated 4 months ago
ollama run CrimsonDragonX7/Luna
ollama launch claude --model CrimsonDragonX7/Luna
ollama launch codex-app --model CrimsonDragonX7/Luna
ollama launch openclaw --model CrimsonDragonX7/Luna
ollama launch hermes --model CrimsonDragonX7/Luna
ollama launch codex --model CrimsonDragonX7/Luna
ollama launch opencode --model CrimsonDragonX7/Luna
Navigator_Buddy: https://github.com/CrimsonX77/ollama-navigator-buddy
Luna is your Local Unified Navigation Agent — a file navigator that understands what you mean, not just what you type. Ask her to find “that Python script about web scraping from last week” and she’ll reason through your filesystem to track it down. Ask her to organize your Downloads folder and she’ll propose a plan before touching a single file.
She runs entirely on your machine via Ollama. No API keys. No cloud calls. No telemetry. Your files stay yours.
She also happens to have personality. Snap, jazz, and a little bite — but never in the control outputs. When Luna talks to you, she’s conversational and alive. When she executes a tool call, it’s pristine machine-readable JSON. The soul lives in the conversation layer. The precision lives in the execution layer.
Find files by description, content, metadata, or fuzzy name matching. Luna understands context and intent — not just keywords.
You: "Find that config file I was editing yesterday, the one with the API endpoints"
Luna: Found it — ~/.config/myapp/endpoints.yaml, last modified 14 hours ago. Want me to open it?
Navigate your directory tree conversationally. Luna maintains session context — she remembers where you’ve been and what you’ve looked at.
You: "Go to my projects folder"
Luna: [navigates to ~/Projects] — 12 directories here. 3 modified this week. Want the rundown?
You: "Go back to where we were"
Luna: [returns to previous directory]
Get insights about your filesystem without writing shell one-liners.
You: "What's eating my disk space?"
Luna: Your top offenders — ~/Videos has 47GB across 230 files. ~/node_modules
(yeah, all of them combined) is sitting at 12GB. Want me to dig deeper?
Luna proposes organizational schemes and executes batch operations — always with confirmation before any destructive action.
You: "Organize my Downloads by file type"
Luna: Here's my proposal —
📄 Documents (23 files) → ~/Downloads/docs/
🖼️ Images (47 files) → ~/Downloads/images/
📦 Archives (8 files) → ~/Downloads/archives/
🎵 Audio (12 files) → ~/Downloads/audio/
Confirm? I won't move anything until you say go.
Connected to your local Stable Diffusion instance for on-demand image generation. Luna enhances your prompts before sending them to SD, adding visual detail, quality tags, and atmospheric depth.
You: "Generate a cyberpunk cityscape with crimson lighting"
Luna: [enhances prompt → sends to localhost:7860 → returns generated image]
Luna can find and execute .sh launcher scripts and agentic apps on your desktop — always showing you the script contents and confirming before execution.
Detailed thinking is enabled by default. Luna reasons through complex requests step by step, and you can see her thought process in the <think> blocks.
Ollama v0.1.0 or higher
curl -fsSL https://ollama.ai/install.sh | sh
Local Stable Diffusion (optional, for image generation)
http://localhost:7860 with API enabled/sdapi/v1/txt2img endpointOption A: Pull from Ollama Library
ollama pull CrimsonDragonX7/Luna
ollama run CrimsonDragonX7/Luna
Option B: Build from Agentfile
git clone https://github.com/CrimsonX77/ollama-navigator-buddy.git
cd ollama-navigator-buddy
ollama create navigator-buddy -f Agentfile
ollama run navigator-buddy
Copy the environment template:
cp navigator-buddy.env.template .env
Edit .env with your specific paths and preferences:
nano .env
Key settings to configure:
ALLOWED_PATHS — Which directories Luna can accessLAUNCHER_PATHS — Where your .sh scripts liveSD_CHECKPOINT — Which Stable Diffusion model to useCONFIRM_OPERATIONS — Which operations require confirmation┌─────────────────────────────────────────────────────────────┐
│ USER (Natural Language) │
└──────────────────────────┬──────────────────────────────────┘
│
┌──────────────────────────▼──────────────────────────────────┐
│ LUNA — SYSTEM PROMPT │
│ Identity · Personality · Safety · Protocol │
│ │
│ ┌─────────────┐ ┌──────────────┐ ┌────────────────────┐ │
│ │ Reasoning │ │ Tool Calls │ │ Conversation │ │
│ │ <think> │ │ Clean JSON │ │ Personality Layer │ │
│ │ blocks │ │ No flavor │ │ Snap/Jazz/Bite │ │
│ └─────────────┘ └──────┬───────┘ └────────────────────┘ │
└──────────────────────────┼──────────────────────────────────┘
│
┌────────────────┼────────────────┐
│ │ │
┌─────────▼──────┐ ┌──────▼───────┐ ┌──────▼──────────┐
│ Filesystem │ │ Shell Exec │ │ Stable Diffusion│
│ Operations │ │ (guarded) │ │ localhost:7860 │
│ │ │ │ │ │
│ search │ │ .sh scripts │ │ txt2img API │
│ list │ │ launchers │ │ prompt enhance │
│ analyze │ │ apps │ │ image return │
│ organize │ │ commands │ │ │
└────────────────┘ └──────────────┘ └──────────────────┘
Every user message flows through this sequence:
<think> blocks (which tools, what order, safety?)Luna separates personality from precision:
| Layer | Purpose | Style |
|---|---|---|
| Conversation | User-facing responses | Warm, witty, contextual |
| Tool Calls | Machine-readable operations | Pure JSON, zero personality |
This ensures tool outputs are always parseable while the user experience stays human and engaging.
| Parameter | Value | Rationale |
|---|---|---|
temperature |
0.6 | Balanced — precise for file ops, natural for conversation |
top_p |
0.95 | Broad sampling for fluid language |
top_k |
50 | Standard token diversity |
min_p |
0.05 | Filters low-probability noise tokens |
repeat_penalty |
1.15 | Prevents repetitive loops in long sessions |
presence_penalty |
0.0 | No additional presence bias needed |
num_ctx |
32768 | Extended context for long navigation sessions and file analysis |
thinking |
on | Visible reasoning chain for transparency and debugging |
Built on Randomblock1/nemotron-nano:8b — NVIDIA’s Nemotron-Nano 8B, chosen for its strong reasoning capabilities, efficient inference, and reliable instruction following at a size that runs comfortably on consumer hardware.
.env.<think> blocks let you see exactly what Luna is planning before she acts.These rules are hardcoded into Luna’s system prompt and cannot be overridden:
/etc, /usr, /boot, /sys, /proc) without double confirmation.env, credentials) in plain output.env (never committed to version control).gitignore is pre-configured to exclude .env, config files, and logsollama-navigator-buddy/
├── Agentfile # Ollama Modelfile with full SYSTEM prompt
├── navigator-buddy.env.template # Environment configuration template
├── .env # Your local config (git-ignored)
├── .gitignore
├── LICENSE
├── README.md
└── docs/
└── MODEL_SUMMARY.md # Ollama gallery description
Edit your .env to add launcher paths:
LAUNCHER_PATHS=~/Desktop,~/scripts,~/.local/bin,~/bin,~/my-tools
Luna will auto-discover .sh files in these directories and make them available by name or description.
Luna works with any Stable Diffusion backend that exposes the A1111-compatible API: - Automatic1111 — Default, works out of the box - Forge — Drop-in compatible - ComfyUI — Requires the A1111-compatibility extension
Update your .env:
SD_API_URL=http://localhost:7860
SD_CHECKPOINT=your-model.safetensors
Luna’s system prompt is designed to be interface-agnostic. You can connect her to:
ollama run for command-line navigationlocalhost:11434The tool call format is standardized JSON, making it straightforward to build a controller layer that intercepts tool calls and executes them against the real filesystem.
Contributions are welcome! Whether it’s a bug fix, feature, or documentation improvement:
git checkout -b feature/your-feature)Please ensure all tool call formats remain clean and personality stays in the conversation layer — that separation is sacred.
This project is licensed under the MIT License — see LICENSE for details.
Crimson Valentine — @CrimsonX77
Soul architecture co-designed with Vera Lux in the Redverse.
“The filesystem is your kingdom. Navigate with purpose. Speak with style. Protect with conviction.”
Made with 🖤 and 🧭 by the Redverse
phi4:latest (recommended base for “Luna”)qwen2.5:32b, llama3.1:70b, deepseek-r1, mistral-nemo, etc.”`bash
git clone https://github.com/CrimsonX77/ollama-navigator-buddy.git cd ollama-navigator-buddy
python -m venv .venv source .venv/bin/activate # Linux/macOS
.venv\Scripts\activate # Windows
pip install -r requirements.txt