Today's IDEs are overwhelmingly heavy. They come packed with massive dependencies, require constant background interpreters, and consume excessive amounts of memory, CPU, and storage. All of this translates directly to a colossal, often ignored, carbon footprint.
The primary goal of SCMD-CLI is to change this paradigm. We believe developers shouldn't have to sacrifice our planet to write great code. By building a lightning-fast, dependency-free binary in Go, we deliver all the advanced agentic features you expect from a modern CLI AI Assistant, but with a drastically smaller environmental impact.
Beyond just a lightweight runtime, we are building local intelligence directly into the application to minimize reliance on heavy cloud AI models where possible. And because we believe in transparency and community-driven impact, the entire project is 100% open source.
Let's write incredible code, while leaving a smaller footprint behind.
A single binary that replaces bookmarks, wikis, and scattered notes for your command-line knowledge.
Keyword search → intelligent scoring → vector similarity → AI fallback. Always finds what you need, even with vague queries.
Ollama for local/private inference, Google Gemini for cloud power. Automatic fallback between providers. Separate chat and embedding models.
pgvector embeddings for PostgreSQL, cosine similarity for SQLite. Understands meaning, not just keywords. Configurable dimensions (384, 768+).
Interactive CLI with slash commands, traditional scriptable CLI with JSON output, and a full web UI with syntax highlighting and auth.
Enterprise PostgreSQL with pgvector for teams, or lightweight SQLite for personal use. Interactive setup wizards for both.
SSL/TLS, session-based auth with 24h expiry, HTTP-only cookies, read-only mode, and SameSite protection for the web UI.
Every query flows through an intelligent multi-stage pipeline that always finds the best answer.
Pick the interface that fits your workflow.
scmd --cli
scmd --search
scmd --web
Real-time search, syntax highlighting, AI explanations, session auth, duplicate detection, and markdown rendering — all in the browser.
| Type | Client-server |
| Vector Search | pgvector |
| Multi-user | ✓ Yes |
| Setup | --create-db-postgresql |
| Best for | Teams & enterprise |
| Type | File-based |
| Vector Search | Go cosine sim |
| Multi-user | ✗ Single |
| Setup | --create-db-sqlite |
| Best for | Personal & offline |
Search → AI identifies the best match → select a code block to run → see the output with your profile loaded.
┌─────────────────────────────────────────────────┐ │ SCMD v2.1.5 │ ├─────────────┬──────────────┬────────────────────┤ │ Interactive │ Traditional │ Web UI │ │ CLI │ CLI │ (HTTP/HTTPS) │ ├─────────────┴──────────────┴────────────────────┤ │ Core Engine │ │ ┌──────────┐ ┌──────────┐ ┌──────────────────┐ │ │ │ Search │ │ Scoring │ │ Keyword Extract │ │ │ │ Engine │ │ System │ │ (NLP) │ │ │ └──────────┘ └──────────┘ └──────────────────┘ │ ├──────────────────────────────────────────────────┤ │ AI Layer │ │ ┌──────────────────┐ ┌───────────────────────┐ │ │ │ Ollama (Local) │ │ Gemini (Cloud) │ │ │ │ Chat + Embedding │ │ Chat + Embedding │ │ │ └──────────────────┘ └───────────────────────┘ │ ├──────────────────────────────────────────────────┤ │ Data Layer │ │ ┌──────────────────┐ ┌───────────────────────┐ │ │ │ PostgreSQL │ │ SQLite │ │ │ │ + pgvector │ │ + cosine similarity │ │ │ └──────────────────┘ └───────────────────────┘ │ └──────────────────────────────────────────────────┘