Drag-and-drop AI agent constructor · 50+ node types · Browser & desktop automation
Surgical patching · 8 AI strategies · Offline-first with Ollama · 15+ languages
Core Capabilities
Modular architecture that adapts to your workflow — from offline hacking to fully autonomous improvement pipelines.
Workflow Constructor
Drag nodes onto the canvas, connect them, set properties — and run. From a simple 2-step script to a 300-node orchestration with conditional routing, browser automation, and parallel AI agents.
The Interface
File explorer · Code editor with syntax highlighting · AI chat with streaming · Patch review panel — all in one window.
Auto-Improve Pipeline
The pipeline runs your scripts autonomously — observe, patch, validate, repeat — until the goal is reached or the iteration limit is hit.
Live Script Execution
Real-time stdout/stderr streaming directly to the Logs tab. Type into your running script's stdin without leaving the IDE — works for every supported language.
#! shebang, that interpreter is used automatically.New Project Mode
No file open? No problem. Just describe what you want — AI generates the complete file with the correct extension, saves it, and opens it in the editor.
Patch System
The AI never rewrites your entire file. It identifies the exact block that needs changing and replaces only that — surgically.
Sherlock Mode
Enable Sherlock Mode and let the AI act as a detective. It reads your error logs, traces the call stack, and pinpoints the root cause — not just the surface crash.
Consensus Engine
Query multiple AI models simultaneously and let them vote, compete, merge, or judge each other's responses. The strongest patch wins.
Error Map
Every error is indexed, deduplicated, and stored with its confirmed solution. Avoid-patterns prevent AI from trying approaches that already failed.
Universal Inputs
The pipeline converts your script's output files into AI context — regardless of format.
Privacy First
Built local-first. Run entirely offline with Ollama — code, training data, and model weights never leave your machine.
ollama serve and Sherlock connects automatically. No API keys. No telemetry. No network calls required.~/.ai_code_sherlock/settings.json outside the project directory. Never committed to Git.Get Started
Three packages. One command. That's the entire setup.
# 1. Clone the repo
$ git clone https://github.com/signupss/ai-code-sherlock.git
$ cd ai-code-sherlock
# 2. Install dependencies
$ pip install -r requirements.txt
# 3. Run AI Code Sherlock
$ python main.py
# Optional: local AI with Ollama
$ ollama serve && ollama pull deepseek-coder-v2
# Windows — double-click launcher
$ run.bat
Support the Project
💙AI Code Sherlock is free and open-source. If it saves you hours of debugging or helps your pipeline converge faster — consider supporting continued development. Every contribution keeps the project alive and actively maintained.
Want to be listed as a sponsor? Open an Issue titled [Sponsor] after donating — we'll add your name to the README. Thank you. 🙏
Ready?
Drag nodes. Connect agents. Run workflows. No code, no limits, no cost — just results.
Community
Share workflows, buy and sell automation templates, get help, and connect with other Sherlock users worldwide.
Ask questions, share workflows, report bugs, and showcase what you built. Categories for Scripts, AI Modules, DevOps, and more — in English, Polish, Russian, German, Spanish, and Ukrainian.
Browse 247+ ready-made automation templates — web scrapers, AI pipelines, DevOps chains, data processors and more. All templates are reviewed by our team before going live.