Air Agents

A novel way to interact with your agents in the spatial and audio domain.

Air Agents

Created At

ETHGlobal Mumbai

Winner of

Hedera

Hedera - "No Solidity Allowed": Build with Hedera SDKs

World

World - World ID Agent Pass 2nd place

Project Description

Air Agents is a project that is developed to enable users to spatially interact with their agents. We define two kinds of agents based on where they are present. We leverage the gyroscopic features of Airpods to obtain head orientation data for starting the interaction, and the microphone as a language interface. You can place agents and use others' agents as well for the same.

The first type is personal (body-anchored) agents. These are agents that you will have "around" you. You can configure these agents to be available around your head. For example, to your left, above your shoulder, or to your right. These agents have access to your data from Apple Health, Notes, Calendar, and To-Do list. This allows you to make tool calls to easily and integrates well with your existing data. By using 0G Private Computer, we ensure the privacy of the data and confidentiality along with the inference made by the agent. Without 0G, we will not be able to privately perform the inference. An alternative would be, to fallback on other inference providers.

The second kind of agent is the geo-tagged agent. This is an agent that is only accessible by being in its vicinity. This type of agent can be either created by you or by another person. The identity of the agent is verified by the World ID Agent Pass. This ensures that you interact with authenticated agents, and the success of any transaction hinges on this authentication. This is particularly useful in commercial scenarios. For instance, a shopkeeper can setup an agent and provide it with a catalog. This will make it easier for you to shop. You can directly say that you are buying a particular item, and the payment will be done through x402, up to a particular limit. Above a certain limit, approval is required on the phone, for payment. Otherwise, the entire process is hands-free. The payment is settled on Hedera, in HBAR or HTC tokens like (USDC), with low fees and fast speed.

We have multiple components in the architecture. Air Agents lets you talk to AI agents hands-free. Each agent sits at its own direction around you, and you turn your head toward one to speak to it. AirPods motion sensors stream your head orientation to the iPhone, which tracks which agent you're facing, detects a nod or shake for yes and no, and plays each agent's voice from its position using HRTF spatial audio. Personal tools like Calendar, Reminders, Maps and Health run on the phone, so private data stays local and is shared with an agent only when it needs it.

The backend runs on Supabase Edge Functions. Your speech goes to Whisper Large v3 on 0G Private Computer for transcription. Then the agent you're facing takes its turn with its own chat model on 0G, with opt-in private, verifiable inference inside TEEs, calling tools on the phone or the server as needed. For purchases, your wallet agent negotiates with a merchant's seller agent over x402. Within its spending limit it pays on its own. Above the limit, you complete a World ID Agent Pass check, and the payment goes through only after the proof is validated on the server. The x402 facilitator verifies and settles each payment on Hedera in USDC, and every transaction is recorded in an HCS topic as a tamper-evident audit log.

How it's Made

Air Agents is a native iPhone app in SwiftUI that uses your AirPods as both the controller and the speaker. A Swift package shares its code with a macOS companion app, where the idea started as Claude Code sessions placed around your head.

We read raw head orientation from CMHeadphoneMotionManager and wrote our own gesture detectors instead of using Apple's system gestures.

  • A double nod means yes and a double shake means no. They're found by counting speed reversals on one axis within a time window.
  • To tell a nod from a shake, we fit a straight line to each axis and compare what's left over (the "wobble") rather than the raw movement, so a nod made mid-turn still counts.
  • Agents "with you" live in left and right windows. You pick one with a quick relative head turn (about 15° in 0.8 s) from wherever you're facing. There's no forward direction to calibrate and nothing to drift. We tried four absolute-position schemes first and scrapped them all.
  • A gesture lesson in Settings records your talking, yeses, nos and turns, and works out personal thresholds from them, kept above the noise of your head moving while you talk. A sensitivity slider scales them.

AVAudioEnginewith an HRTF environment node places each body agent's voice on its side, using neural TTS. Place-based agents deliberately use plain, non-spatial audio. A built-in narrator voice asks "Two places around you: A and B. Which one?" and listens withSFSpeechRecognizer`, using the agent names as recognition hints. Our own matching handles mishearings (sound-alike keys plus edit distance) and ordinals like "the second one", and it keeps asking until it gets an answer.

Supabase provides Postgres with row-level security, auth and Deno edge functions. Geo agents have a location and a radius; walking inside one triggers the prompt, and a double nod opens it.

0G - All agent replies go through the 0G compute router, with a model picker per agent. Agents can be switched to 0G's private TeeML inference tier with no fallback, so sensitive agents never touch a non-private model.

Hedera x402 - Public "shop" agents sell from a menu over an x402-protected endpoint, which answers 402 with USDC payment terms on Hedera testnet. Each user gets a server-held Hedera wallet whose agent signs the USDC transfer itself. Settlement goes through an x402 facilitator, so payment happens by voice with no human approving it. Spending limits apply on top.

World ID - Shop owners verify once to get a verified badge. Purchases above your automatic limit need a fresh World ID check (OIDC with PKCE, max_age=0), verified on our backend, before any money moves. Denied, cancelled or expired checks pay nothing.

Getting all the components integrated has been a challenging task. However, we were able to accomplish the same.

background image mobile

Join the mailing list

Get the latest news and updates

Air Agents | ETHGlobal