DEV Community

Mathew
Mathew

Posted on

I built a CLI that builds itself — and it outperformed Gemini Pro using a free model

I'm 14, from Romania, and over the past few weeks I built openmind — an AI-powered CLI that I used to build itself.

Here's the part that got me: I tested the same free model (DeepSeek) on two setups. First on a normal AI coding tool — the results were bad. Then on openmind — in 2 prompts, the output was unrecognizable. Same model, completely different results.

Then I asked it to build a landing page. The free model through openmind produced something better than what Gemini 3.5 Pro generated on its own. Clean design, correct branding, bilingual toggle, proper CTAs. Gemini Pro put a football stadium image on a weight loss site.

What openmind actually is

open mind is a that tool that I built using best stuff from opensource CLI's then improved it with:

  • 120+ tools including 13 dedicated Windows system tools (registry, services, network, processes, scheduler, security — nobody else has this)
  • 75+ LLM providers — bring any model, including local ones via Ollama
  • 1,300+ rules loaded on every response — this is why free models perform like frontier models
  • Telegram integration — I control my PC from my phone, tested from 10km away, full CLI parity
  • Enterprise security — AES-256-GCM audit logging, TOTP MFA, HMAC sessions, Docker sandbox, EU AI Act compliance
  • Agent chaining — no other CLI tool has this
  • Self-building — I used openmind to build openmind

The ruleset is the secret

Most AI coding tools are thin wrappers around a model. The model does all the work. If the model is weak, the output is weak.

openmind wraps every model in 1,300+ rules that cover coding standards, security practices, output structure, reasoning patterns, when to ask for approval, how to handle uncertainty. The model almost doesn't matter anymore — the environment carries it.

This means you can run a free or local model and get results that compete with paid frontier models on a huge class of tasks. I have the screenshots to prove it.

It builds itself

This week I asked openmind to add two cybersecurity tools — a network anomaly watcher and a file integrity monitor. It read the existing codebase, matched the exact TypeScript patterns, wrote production-quality code, and added itself to the project. I watched it happen in real time.

The beta version did all of this. I'm still on a free model.

What's next

The full cyber defense platform — live threat detection for company servers, local and air-gapped, EU AI Act compliant from day one. No data leaves your infrastructure.

For now openmind is a personal tool but I'm planning a public release. If you want to follow the build, let me know in the comments.

Happy to answer anything — especially skeptical questions.

Top comments (0)