Baton

Workers can fail. The entire job shouldn’t. Baton ensures one agent doesn't collapse the system.

Baton

Created At

ETHGlobal Mumbai

Winner of

ENS

ENS - Best Use of ENSv2 3rd place

Project Description

Imagine you're running a high-priority, high-responsibility job via a fleet of agents or agentic systems and an agent dies. Your job hits a standsill, context and progress remains ambigious and dependent on said agent's trustbase, and when real money is on the line, there is no quick verifiability protocol between claimed transactions and completed transactions.

If only you had an infrastructure solution that could quickly hand over the rest of the incomplete job to the next available agent the moment your first agent dies, verifies and records all transactions on chain, encrypts and stores context on-chain (no sneaky work incase these servers shut temporarily!) and makes sure that just because an agent dies, your job doesn't have to.

Presenting Baton. In one line, our tool helps long-running AI jobs survive worker failure. A buyer defines a job, milestones, and rewards; workers make progress and submit encrypted checkpoints containing manifests and artifacts. A checkpoint remains a candidate until the buyer accepts it (or assigns a contract that does so on their behalf), so an upload alone cannot replace the trusted recovery point or earn a reward. If a worker stops, an alternate worker is authorized for the job, is able to retrieve the accepted checkpoint, verify it, and continue from that state. BATON uses ENSv2’s job-scoped permissions to check worker authority and is building on Arkiv for encrypted, time-bounded checkpoint storage for quick queryability of centralised databases with the transparency of decentralized systems. The goal is to make recovery, ownership, and milestone payments inspectable instead of relying on one worker’s local files.

How it's Made

BATON pairs a React, TypeScript, and Vite buyer console with a Node.js worker runtime and API, plus Solidity escrow contracts for milestones, accepted checkpoints, worker epochs, and payouts. EIP-712 signatures bind approvals and handoffs to the exact job state, while a SQLite ledger makes payment operations auditable and resilient to restarts.

ENSv2’s Permissioned Resolver gives each job scoped worker permissions; Arkiv provides encrypted, queryable checkpoints with controlled lifetimes. The key design choice is that the escrow selects the canonical checkpoint: when a worker fails, its successor can verify that accepted state and carry the job forward while stale workers lose authority.

Our most unconventional design choice was repurposing ENSv2’s hierarchical subregistry system as an agent authority tree, rather than simply using ENS for naming. Jobs become independent namespaces with scoped permissions for their workers and subagents, allowing authority to be delegated, revoked, and transferred as execution changes hands. We effectively turned ENS subregistries into a programmable coordination layer for autonomous agents, making the namespace hierarchy part of the protocol's security model rather than a decorative integration.

background image mobile

Join the mailing list

Get the latest news and updates

Baton | ETHGlobal