Skip to content

@smartpointstech/spt-jujutsu

AI agent coordination for Jujutsu VCS with quantum-ready architecture, QuantumDAG consensus, and zero-dependency deployment

Overview

This package provides native Rust bindings for coordinating AI agents working with the Jujutsu version control system. It includes quantum-resistant cryptographic signing of operations, a QuantumDAG for conflict detection and consensus, and an MCP server for tool integration. The Quantum Bridge module connects Rust agent coordination with the JavaScript DAG layer.

Installation

bash
npm install @smartpointstech/spt-jujutsu

Key Features

  • Agent Coordination -- multi-agent operation management for Jujutsu VCS workflows
  • Quantum-Resistant Signing -- ML-DSA cryptographic operation verification
  • QuantumDAG Consensus -- DAG-based conflict detection, tip tracking, and auto-merge
  • MCP Server -- jj-mcp binary exposing Jujutsu tools via Model Context Protocol
  • Quantum Bridge -- JavaScript bridge between Rust coordination and DAG layer

Dependencies

Key internal dependencies:

  • @qudag/napi-core -- QuantumDAG data structure for DAG operations

Quick Start

typescript
import sptJujutsu from '@smartpointstech/spt-jujutsu';
import { QuantumBridge } from '@smartpointstech/spt-jujutsu/quantum_bridge';

// Use native agent coordination
const coord = new sptJujutsu.AgentCoordination();

// Enable quantum DAG
const bridge = new QuantumBridge(coord);
await bridge.initialize();

API Reference

Exports

ExportTypeDescription
AgentCoordinationclassNative Rust agent coordination engine
QuantumBridgeclassJS bridge to QuantumDAG (via ./quantum_bridge)
spt-jujutsu (CLI)binaryCLI for Jujutsu agent operations
jj-agent (CLI)binaryAlias for the CLI
jj-mcp (CLI)binaryMCP server exposing Jujutsu tools

Released under the MIT License.