A small local forensics-style explorer loop for MLX models.
- Runs a local model in a tool-using loop
- Searches a workspace with
Glob,Grep,Read, and a restrictedBash - Prefers runtime evidence over weak clues
- Uses Claude Code-style
Read(file_path, offset, limit) - Shows streaming progress and observations with
rich - Includes a Textual TUI with parameter popup, run history, and observability
cd MiniForensicsAgent
uv syncOptional TurboQuant backend:
uv sync --extra turboquantuv run mini-forensics-agent \
--model 'LocoOperator-4B-mlx-4Bit' \
--workspace /path/to/workspace \
--task 'Find the actual config used by this app.' \
--streamOr use the helper script:
./scripts/run-mini-forensics-agent --helpExperimental Agent Skills scaffold:
uv run mini-forensics-agent \
--model 'LocoOperator-4B-mlx-4Bit' \
--workspace /path/to/workspace \
--task 'Inspect this repo and use any matching skill if needed.' \
--enable-skills \
--streamSkill discovery roots, in increasing precedence:
~/.agents/skills~/.mini-forensics-agent/skills<workspace>/.agents/skills<workspace>/.mini-forensics-agent/skills- any extra
--skill-dir /path/to/skills
Each skill lives in its own directory and must include a SKILL.md with frontmatter:
---
name: demo-skill
description: One-line summary of when the skill should be used
---
# InstructionsUseful skill commands:
uv run mini-forensics-agent --workspace /path/to/workspace --list-skillsuv run mini-forensics-agent --workspace /path/to/workspace --enable-skills --skill-dir /extra/skills ...
uv run mini-forensics-agent-tuiTUI keys:
rrun tasksstop current runnnew conversationpopen parameter popupqquit