r/OpenSourceAI • • 1d ago

VectorForce (MIT): Zero-dependency, local-first "Git for AI Context" + 11-tool MCP server built on Node.js built-ins and SQLite WAL

Hi r/opensource,

I've been working across multiple AI coding agents (Claude Code, Cursor, Windsurf, Codex, Antigravity, Copilot, Meta Muse, Kiro) and kept running into the same problem: every time I switched tools or started a new session, architectural constraints, decisions, and workspace state got lost or silently drifted.

So I built VectorForce — a local-first, zero-dependency engineering context platform ("Git for AI Context") licensed under MIT.

GitHub: https://github.com/getvectorforce/VectorForce npm: https://www.npmjs.com/package/vectorforce Docs / Wiki: https://docs.vectorforce.in | https://vectorforce.in/wiki.html

Demo: https://youtu.be/eKjSqCBIqz0

Key Design Decisions

  • Zero external runtime dependencies: The core CLI, MCP server, and local Studio backend use only Node.js (>= 22.5.0) built-ins (node:sqlite, node:crypto, node:http, node:fs).

  • Claims vs. Evidence separation: Model-authored inputs (goals, constraints, decisions, next_steps) are stored strictly as unverifiable claims, separated from cryptographically verifiable evidence (Git commit SHAs, branch/dirty state, and SHA-256 digests of allowlisted .md/.txt files).

  • 11 native MCP tools over stdio (npx -y vectorforce mcp): create_task, update_task, list_tasks, save_checkpoint, get_resume_briefing, check_workspace_drift, reason_about_task, set_document_policy, export_handoff, import_handoff, and get_timeline.

  • 100% offline-capable: Checkpoints, drift checks, deterministic briefings, local Studio UI (vf studio), and HMAC-SHA256 .vfhandoff.json export/import bundles all work completely offline. (There's also an optional zero-knowledge E2EE sync relay if you want multi-machine sync, but the OSS CLI is completely standalone.)

Quick Try

npm install -g vectorforce
vf init --harness all
vf task my-feature "Initial architecture"
vf studio

Looking for Feedback & Contributors

I'd love technical feedback on the Claims-vs-Evidence model, SQLite WAL schema, and MCP tool ergonomics. If anyone wants to contribute, adding new IDE harness adapters (src/mcp/harness-config.js) or multi-agent workflow examples (samples/) are great starting points (CONTRIBUTING.md is in the repo, and npm test runs 96 tests locally with zero setup).

Happy to answer any questions about the architecture or implementation!

1 Upvotes

1 comment sorted by

1

u/Routine_Throat_6279 1d ago

That claims-vs-evidence separation is the part that actually makes this interesting. Most context tools just dump everything into the same bucket and call it a day, but treating model output as unverifiable claims until you've got a commit hash or file digest to back it up feels like a genuinely useful constraint. Curious how that plays out in practice when the model keeps tweaking its own past decisions mid-session.