VoxMesh

Voice-controlled multi-agent runtime: ENS identities, World ID gating, Arkiv tasks, 0G inference.

VoxMesh

Created At

ETHGlobal Mumbai

Project Description

VoxMesh is a decentralised, voice-driven multi-agent runtime. Every agent has an identity, every task has a trace, every delegation has context, and every execution leaves an auditable outcome.

The problem: Most AI agent systems are black boxes. You can’t tell which agent did what, who authorised it, or whether the output can be trusted. Agents coordinate through private, centralised state, and anyone can trigger sensitive actions.

What it does: You speak or type a command, such as “audit this smart contract”. A Supervisor agent plans the work and splits it into a DAG of tasks. It publishes those tasks as entities on Arkiv. Specialised Research and Security agents discover the tasks, claim them, execute them, and write their results back to Arkiv. The DAG orchestrator supports sequential and parallel steps, conditional skips, retries, timeouts, a call budget and a depth limit. A message bus with correlation IDs and allowlisted tools keeps each agent in its own lane.

How it's Made

Stack: TypeScript end to end. The frontend is React 19, Vite 7, Tailwind 4 and shadcn/Radix. The backend is Node 22 with Express 5. Zod schemas in a shared shared/schemas.ts validate every request body, every query and every LLM output, on both client and server. viem handles wallet and chain work, Playwright drives MetaMask, and Vitest covers unit, integration and e2e tests. The server pushes live trace updates to the UI over SSE.

How the pieces fit: A command, spoken (Web Speech STT/TTS) or typed, hits /api/orchestrator/execute. The Supervisor calls 0G for a JSON plan. The plan then goes through validatePlan(), which checks that each capability is actually offered by an agent discovered from the store, that dependencies reference earlier steps, and that the plan fits the call budget. The LLM only proposes. Deterministic code decides. The orchestrator runs the validated plan as a bounded DAG, with parallel layers, retries, timeouts, a call budget and a depth limit. Dependents of a failed task are marked cancelled.

Arkiv as the coordination layer: Agents never message each other directly. The Supervisor writes all task entities and task.delegate messages in one executeBatch transaction. Each worker queries Arkiv for open tasks matching its capability, claims one (open → claimed), reads its dependencies back from the store, runs, and persists an execution record plus a result message. We defined six schemas: agent, task, execution, message, workflow and identity. Arkiv string attributes are capped at 128 bytes. So each entity has small indexed columns for querying plus a payload bytes column holding the full JSON. All writes go through one serial queue so the signer never races its own nonce. Claims are read-check-write inside that queue, and a second claim gets 409 CONFLICT. A full sequential workflow costs about 7 transactions.

0G: The adapter calls the OpenAI-compatible router with verify_tee: true and captures x_0g_trace.request_id, provider, billing and TEE status. Those are attached to the agent result, the trace, the Arkiv execution record and the workflow summary. A response with no trace ID is rejected, so IDs are never fabricated.

World ID (IDKit v4): The server signs the RP context, so the signing key never reaches the browser, and remembers the nonce. The browser opens the IDKit widget. The server checks that the nonce is issued, unused and unexpired, then forwards the proof unchanged to the World verify endpoint. On success it opens an opaque session and stores an attestation on Arkiv with only a hashed subject. Agent registration and task writes require a verified human.

ENSv2: From the Agents page, the user’s own wallet, with no server-held key, creates voxmesh.<parent>.eth and a hierarchy of supervisor, research and security subnames on Sepolia or Mainnet. Each agent gets text records through a Permissioned Resolver deployed via the Verifiable Factory. grantSetterRoles delegates edit rights for one agent’s endpoint key to a chosen address.

Hacky and notable:

Real MetaMask agent over CDP: The agent attaches Playwright to a separate local Chrome profile with MetaMask installed and a localhost debugging port. It opens a temporary tab and calls eth_sendTransaction through the injected provider. It never touches passwords or seed phrases, and a human approves the final transaction in the wallet. Phone voice commands: Phones only allow speech recognition on HTTPS. So the server generates a self-signed cert for the laptop’s Wi-Fi IP and serves a locked-down phone page. A QR code pairs the phone, and the pairing token sits in the URL fragment so it never reaches the server. The phone listener exposes only a few routes and cannot register agents or reach identity endpoints. Security in depth: Security Agent findings are cross-checked against an independent deterministic static scan, and the risk score is overwritten from validated output instead of trusting the LLM. Each agent has a tool allowlist, and no LLM-generated code is ever executed. Prediction-market demo: Research reads Polymarket’s public Gamma API and persists a snapshot. A Liquidity agent then computes capped two-sided quotes from that stored result. It is simulation-only, with no order endpoint and no wallet access.

background image mobile

Join the mailing list

Get the latest news and updates