BuildingTransactional Micro-Rollbacks for AI Agent Tool Execution
Описание и применение
Bartholomew обеспечивает атомарные, обратимые операции инструментов для автономных агентов, защищая файловую систему и секреты с помощью микроскопических откатов и криптографических доказательств.
Задача
Autonomous agents often need to execute tools that modify filesystems, databases, or APIs, but a single hallucination or malformed argument can cause catastrophic state changes.
Результат
Bartholomew reduces execution latency to sub‑microsecond levels while preventing filesystem corruption, credential leakage, and providing verifiable execution trails.
Рабочий процесс
- 1. Agent invokes a tool that may mutate state.
- 2. Bartholomew captures an in‑memory snapshot of target paths before mutation.
- 3. If the tool attempts a directory traversal or violates an AST invariant, Bartholomew restores the pristine state in ~2.3µs and deletes orphaned files.
- 4. Bartholomew scrubs inbound tool arguments and outbound outputs for sensitive keys in ~0.82µs.
- 5. Each execution step generates a Merkle receipt signed with Ed25519, chaining state changes.
- 6. The agent receives a diagnostic hint and can retry with corrected parameters.
Доказательства
Bartholomew captures an in‑memory byte snapshot of target paths prior to any mutating tool call
Sub‑5 microsecond Copy‑on‑Write micro‑rollbacks and in‑flight secret scrubbing
Chained Merkle Trajectory Receipts… verified 100% offline with zero network calls
- Дата записи: 2026-09-09T07:45:21.423Z