Via v0.4.0 — Self-Improving Prompt Engine

Via v0.4.0 is live on npm.

npm install -g @vektormemory/via

What shipped

via prompt — Self-improving prompt engine. Learns from your codebase history. Every correction stored. Every success a reusable pattern. Avoids past mistakes automatically.

  • Pure-JS BM25 + Porter stemming, zero native deps
  • Scoped AVOID store with 30-task decay (global / directory / file)
  • Task-type-aware token budgets (debug / implement / review / test / commit / refactor)
  • Confidence UI: past task count, success rate, injected context before every prompt
  • Git hooks for implicit feedback capture on commit and revert
  • Export to CLAUDE.md, YAML, Codex, Gemini TOML
  • Auto-detects LLM: Anthropic / OpenAI / Groq / local Ollama
  • Storage upgrades automatically: JSON to SQLite to VEKTOR

via memory--hybrid, --semantic, sync, stats

via taskboard, assign, share, sync — team kanban via Git JSON

via diff --live — Stream two AI tools side by side

via convert --batch — Recursive folder conversion, progress bar

21/21 smoke tests passing before publish.

Architecture follows MemAPO (arXiv:2603.21520). Via is the production implementation: local-first, zero cloud, works in Claude Code, Codex, and Gemini CLI.

Docs and install at vektormemory.com (npm: @vektormemory/via)

1 Like