How it works
From prompt to production.
Set up mesh
Install gvmesh on your machine. Connect your AI keys and tools via MCP. Your environment. Your credentials. Nothing leaves your stack.
Design first
Write the intent before the code. Every file has an adjacent .ace file. The agent reads design before implementation.
AI builds it
Direct the work via the dashboard or console. The agent reads your ACE files, understands context, and writes code that matches your design intent. Every turn produces a structured work card.
Audit and iterate
Drift detection tracks compliance against ACE methodology. Every turn is logged. You see what changed, why it changed, and whether it matched intent.
Test and ship
Tests are part of the ACE workflow. Git pre-commit hooks enforce coverage. When tests pass and drift is low, you ship with confidence.
Environment
Keys, data, and model.
API keys
Paste your LLM API key into your workspace. The key stays in your environment. Credentials are never exposed in logs or prompts.
Your data
greatVibe reads from your tools. Nothing is stored on Gravient servers. Your data never leaves your stack.
Model config
Works with any LLM that supports API access. Configure via provider settings. Switch models per task. Opus for planning. Sonnet for execution.
Architecture
How it connects.
Your browser talks to konui. konui routes to the AI model via gvmcp. gvmesh handles credentials, sessions, and tool calls. Nothing leaves your machine.
// Every turn produces a structured work card. // The agent calls this at the end of every turn. await gvturn_create({ type: "general", title: "Auth middleware — JWT to session tokens", status: "completed", workType: "feature", workTheme: "Auth hardening: JWT → session tokens across all endpoints", context: { output: "<div>...</div>", choices: [ { label: "Run tests", value: "Run the auth test suite", primary: true }, { label: "Push branch", value: "Push auth-rewrite branch to remote" } ] } });
Node services
What runs on your machine.
Three binaries. Each with a clear job. No cloud dependency for compute.
gvmesh
Data layer daemon. Owns all persistent state. Nothing else touches the database.
gvmcp
AI interface layer. Exposes gvmesh as MCP tools for the AI model. Owns no state. Proxies everything.
konui
Web dashboard and second MCP server. AI console, gvturn graph, flow tracking, drift metrics.
Productivity
Optional Excel and Word drivers. Register automatically at startup. Python/FastAPI.
What you get
Output and observability.
Rich turn cards
Every turn produces a structured work card with output, choices, and status. Not a chat bubble. A traceable work product.
Full session replay
Every tool call, edit, and decision is logged in raw turns. Replay any session. Understand exactly what the agent did and why.
Drift detection
Compliance metrics tracked per session. ACE read rate, test pass rate, interactivity rate. Alerts surface before drift compounds.
Compiled context
gvContext compiles your project knowledge into a deterministic system prompt. SHA-256 tamper detection. Cache-friendly. Consistent across nodes.
Mesh distribution
Run agents across multiple nodes. mTLS-encrypted gossip. Bridge relay for NAT traversal. Session affinity keeps work local.
200+ MCP tools
Connect any tool that speaks MCP. GitHub, Slack, Linear, databases, custom servers. All credential-secured. All health-monitored.
ACE
Agent-Centric Engineering
Every code file has an adjacent .ace file. The agent always sees intent before implementation.
gvMesh
Distributed by design.
greatVibe runs on a peer-to-peer mesh. Agents live on your nodes. Work stays in your environment.
mTLS encryption
All peer-to-peer traffic is encrypted with mutual TLS. CA-only validation. No shared secrets over the wire.
Gossip protocol
Credential distribution, context checksums, and session state propagate via gossip. Fanout 3. 5-second reconciliation cycle.
Bridge relay
NAT traversal via WebSocket bridge. Nodes behind firewalls connect without exposing ports. Bridge falls back automatically.
Session affinity
Active sessions pin to the node where work started. Context stays local. No cross-node state leakage mid-task.
Credential delivery protocol
How API keys reach every node: request → offer → accept → deliver
gvContext
A compiled system prompt.
Your project knowledge is compiled into a deterministic context. Every agent session starts with a complete, consistent picture of your codebase.
Kernel
Platform-level rules compiled into every agent. Output contract, ACE enforcement, safety rails. Cannot be overridden.
SDK & rules
Tool reference, mesh operations, coding standards. Shared across all repos on the node. Updated via context engine.
Product
Your repo's folder.ace, architecture decisions, and team conventions. Compiled per project. Checked into your repo.
Flow (ephemeral)
Active session context injected per turn. Recent gvturns, approved tasks, session ID. Populated at turn start, not stored.
~100
tokens to reinforce ACE rules per turn
~2,000
tokens to fix drift after rules are skipped
SHA-256
tamper detection on compiled context
// Step 1 — compile your project knowledge into a deterministic context await context_compile({ target: "greatvibe-ai-website" }); // → SHA-256: a3f9e2b1c4d7... 47 assets · 12,847 tokens // Step 2 — deploy to CLAUDE.md (agents pick it up on the next turn) await context_activate({ target: "greatvibe-ai-website" }); // → CLAUDE.md written · checksum broadcast to mesh peers
Deterministic compilation means the same source assets produce the same context hash. Prompt cache hit rates improve when context is stable. gvContext checksums propagate via gossip. Every node stays in sync.