Repository navigation
agent-2pc v1.0.0: Flagship Production 1.0 Release
🚀 agent-2pc v1.0.0 Production Flagship Release
Zero dirty state. Zero broken syntax. Zero hallucinated rollbacks.
A high-performance Rust coordinator that brings database ACID transactional finality to autonomous AI agents.
🌟 Flagship Feature Suite
- Crash-Consistent Binary WAL: Hardware-accelerated CRC32 checksums + fsync durability.
- Embedded Native MCP stdio Server: Drop-in Model Context Protocol server for Claude Desktop, Cursor, and Hermes.
- Heterogeneous Adapters:
FsAdapter: Zero-copy CoW reflinks on Linux (ioctl(FICLONE)) + .bak rollback snapshots.SandboxAdapter: Unprivileged Linux user namespace & bubblewrap container isolation.GovernorAdapter: In-kernel velocity governor with instantaneousSIGSTOPfork-bomb/deletion freeze.MicrovmAdapter: Hardware virtualization boundary with memory-caged resource limits.ApiAdapter: Idempotency key lease reservations & automatic compensation endpoints.GitAdapter: Detached ref worktree isolation.
- Optimistic Concurrency Control (OCC): Pre-edit read-set fingerprinting preventing silent overwrites and lost updates.
- Three-Way Semantic Reconciler (
agent-2pc merge): Automatic non-overlapping code merging. - Character Sequence CRDT Engine (
src/crdt.rs): Mathematical convergence with Lamport causal timestamps. - Distributed Multi-Node 2PC Consensus (
ClusterCoordinator): Wire protocol for multi-machine agent clusters. - Turnkey Client SDKs:
- Python SDK (
agent-2pc): Context manager transactional sessions with auto-rollback on exception. - TypeScript SDK (
agent-2pc): Typed async Promise-based client for Node/Bun/Deno.
- Python SDK (
- Live Terminal HUD (
agent-2pc top --watch): Real-time monitoring of in-flight transactions, WAL disk usage, and recovery health.
🧪 Verification & Benchmarks
- 24/24 Tests Passing across all suites.
- 114.4 tx/sec verified 2PC round throughput with physical disk fsync.
- p50 = 1.72ms hardware-accelerated CRC32 Write-Ahead Log durability.
- Zero clippy warnings on Rust 2024 edition.