A Rust harness that replays recorded agent runs with no network and no tokens — then diffs the two
Tether, an Apache-2.0 Rust project whose tagline is "run agents you don't trust on infrastructure you do," shipped deterministic replay in version 0.4.0 on November 22; the repository is now at 0.5.0 and describes itself as pre-alpha. It wraps an agent someone else wrote and sits between that agent and everything it touches. Policy is declared in TOML rules that allow, deny, or require approval for model calls and tool calls. Built-in tools — `exec`, `read_file`, `write_file`, `list_dir` — run through a process backend that spawns child processes with a limited environment, a confined workspace, timeout enforcement, CPU and file caps, and on Linux memory limits and syscall filtering; the documentation states directly that this is not a security boundary. Everything that happens is written to append-only JSONL traces secured with BLAKE3 hash chains. The replay feature is the one worth the attention: `tether replay` re-issues a recorded run's requests and tool calls in order with no network access and no token cost, answering the agent from the trace, optionally under a changed policy or a changed prompt — and `tether diff` shows exactly where two runs diverge. Because replay reads the recording rather than re-invoking the model, it is deterministic, which makes it usable as a regression suite: assert which tools were called, what the final file contents are, and whether the agent respected its step and cost limits. The trace format is frozen for backward compatibility while the CLI and SDK may still change between releases.
Why it matters
Deterministic replay is the missing primitive in agent development and this is the clearest small implementation of it. The reason agent regressions are so hard to catch is that every test run costs money, takes minutes, and produces a different trajectory, so nobody runs the suite and nobody bisects. Replaying a trace with the model answers served from the recording removes all three obstacles at once and turns "did my policy change break anything" from an experiment into an assertion. The subtle part is what replay actually tests: it does not re-run the model, it re-runs your code against recorded model behavior — which means it catches harness bugs, policy regressions, and tool-handling changes, and cannot catch a model behaving differently after an upgrade. That is the correct division, and it mirrors how HTTP-level recording works in ordinary testing, but it is worth being explicit about so nobody mistakes a green replay suite for model-level confidence. The hash-chained append-only trace is the other quietly good decision, since a tamper-evident log is what makes the recording admissible as evidence of what an agent did rather than just a debugging aid. Take the sandbox disclaimer at face value: pre-alpha software whose own docs decline to call the isolation a security boundary is a development tool, not a containment strategy.
What to do
Record your agent runs in a replayable format whether or not you adopt Tether, because the trace is the prerequisite for every other thing you want — regression tests, bisecting a behavior change, and an audit trail of what the agent actually did. Build a replay suite that asserts on tool-call sequences, final file state, and step and cost limits, since those are the properties that break silently when you edit a prompt or tighten a policy. Be explicit that replay validates your harness and not the model, and keep a separate, smaller suite that actually calls the model for upgrade decisions. Use hash-chained append-only logs for anything you might later need to prove, which is more situations than it sounds like given the week's incidents. And read the sandbox honestly: process-level limits with the docs saying "not a security boundary" means untrusted code still needs a VM or a container underneath, with the harness providing policy and observability rather than isolation.
More from November 24, 2026
- Claude Ship approves pull requests against a policy file — and Anthropic says its own revert rate fell 40%
- Z.ai runs 28 layers twice in GLM-5.4 — the second loop transformer in four days, and no benchmarks
- Cisco and OpenAI open-sourced agent-written eBPF shields — an operator signs each one before it runs
- Chrome just made every WebMCP tool object unserializable — and says more breaking changes are weeks away
- 46% of agent oversight rules existed only in prompts — and a supervisor reading summaries approved 71% of bad plans
- METR measures a 3.6-month doubling — and finds models overrate work produced by models as good as themselves
- Google Search reads your Wallet now, your Drive soon — opt-in, read-only, and a new icon showing what it used
- Claude wrote a 70-page VP ≠ VNP proof and the Lean checker passed — no human mathematician has read it
- Accessibility trees tripled a weak model's computer-use score — and did nothing for the strong ones
Related
- The mod_wsgi maintainer shipped an AI-written Rust server — and gave the agent an MCP deploy-and-rollback loop November 23, 2026
- An MCP server for European law: Opus 5.5 quotes statutes correctly 20% of the time from memory, 99% with it November 23, 2026
- An Apache-licensed Devin alternative that lives in a Slack thread — four green PRs in 56 seconds November 22, 2026