2026-11-27 16:21 UTC

OpenAVT prototypes scoped cryptographic authorization for agent voice calls

state: expiredheat: lowuncertainty: mediumrelevance: mediumpersonal-agent-security voice-security agent-authorizationOpenAVT

What is this?

OpenAVT (Open Agent Voice TLS), created by Ketan B. J. and published as an Apache 2.0 Python project, is an experimental prototype for securely authorizing AI agents over voice calls. Its design uses mutual TLS to authenticate endpoints and signed, scoped customer grants to constrain actions; the project says permissions are checked by the business backend, outside the LLM. The repository documents local demos for authorized and rejected requests, including replay, revocation and scope-escalation cases, and reports sub-second handshakes in local tests. These are project-reported results, not evidence of carrier or production deployment: the documented peers run locally, provider identities and real customer login remain future work, and external interoperability is unvalidated. The supplied web results add no independent confirmation.

Why it matters

If agents are to contact businesses and act for people, spoken conversation alone is a weak way to establish identity and authority. OpenAVT explores a security layer that could let a business verify which agent is calling and enforce exactly what the customer permitted—even when the conversation or model is manipulated. That is a useful infrastructure problem to watch, but this project is currently a local prototype, not a demonstrated change to banking, telecom or customer-service systems.

Current assessment

New development: OpenAVT presents an open-source prototype for carrying authenticated identity and scoped permissions through an agent’s voice call. Its repository describes agent enrollment with an Agent Voice Authority, a separate business signer issuing customer grants, mutual TLS 1.3 over audio, and backend enforcement tied to the authenticated peer. The demo reportedly allows reading an order and rejects an address change under the same read-only grant; other local demos claim tests for misuse, replay and revocation. The project reports 0.561 s median and 0.581 s maximum handshake across five fresh local CI calls, and 0.620 s for two independent OpenAI SDK processes. These measurements are project claims on established local audio calls; they exclude call setup and model/speech time and are not Internet or carrier latency guarantees. The repository explicitly calls the work experimental: no public Internet, PSTN/carrier or microphone path is verified; real customer authentication, production certificate operations and provider integrations remain future work. It also cautions that TLS does not prevent prompt injection or data leaks through speech and other agent tools. The significance is architectural: if validated and adopted by businesses, scoped cryptographic authorization could make voice-based agent transactions more accountable and limit what an agent can do, rather than relying on voice or caller ID. No supplied evidence establishes adoption or independent validation; search results do not materially confirm the project’s claims.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-30 16:30 (minted)⭐ origin echo-reconstructedThe project describes TLS over voice for agent-to-business calls, binding authenticated endpoints to signed, scoped permissions; its documen
Ketan B. J. on github (echo) · attributed from hn.story.50305560 · published time unknown
—
10-30 15:43first on hacker news · published · lag ?Personal Agent's Voice Security
ketanbj
—
10-30 15:43amplified on hacker news 👑hn.story.50305560
ketanbj
peak 1 · 0 comments · 104% of case engagement
10-30 16:22our radar first saw it · lag ?discovery anchor: hn.story.50305560—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnPersonal Agent's Voice Security
Retrieved article excerpt

Open article · Retrieved 2026-10-30T16:28:35.108378+00:00

# OpenAVT

[CI](https://github.com/ketanbj/openavt/actions/workflows/ci.yml)
[PyPI](https://pypi.org/project/openavt/)
[Python 3.11+](https://github.com/ketanbj/openavt/blob/main/pyproject.toml)
[Apache 2.0](https://github.com/ketanbj/openavt/blob/main/LICENSE)
[Experimental](https://github.com/ketanbj/openavt#scope)

**Closing the Voice-to-Business trust gap. TLS over voice, built for agents.**

A personal AI agent calls a bank, utility or store on your behalf. The business
needs to verify the agent, the customer it represents and the actions that
customer authorized. Conversation alone cannot establish those permissions.

OpenAVT (**Open Agent Voice TLS**) carries cryptographic identity, encrypted
requests and signed customer permissions through the call's actual audio.
Participating businesses check identity and permission before acting.

**For business teams:** [the problem, value and adoption path](https://github.com/ketanbj/openavt/blob/main/docs/business.md).
**For developers:** [run the demo](https://github.com/ketanbj/openavt#try-the-demo) or [explore the architecture](https://github.com/ketanbj/openavt/blob/main/docs/architecture.md).

## The trust gap

| Risk | OpenAVT's approach |
| --- | --- |
| **Audio prompt injection and hijacking:** an IVR or counterparty's speech can try to redirect an agent or extract data. | Use protected structured requests and enforce signed permissions outside the LLM. Speech cannot expand a grant. |
| **Missing cryptographic identity:** a voice, caller ID or spoken passcode does not prove an agent's key or customer authority. | Mutual TLS authenticates both endpoints; customer grants travel inside TLS rather than being spoken aloud. |
| **Scope creep:** a request to read data can become a request to change an account. | Bind each grant to the agent certificate, customer, business, action and resource; check expiry, revocation and single-use state. |

TLS does not make an LLM immune to prompt injection. These checks constrain
requests at the participating backend; preventing leaks through speech or other
tools still requires controls in the calling agent.

## How it works

1. **Enroll:** the Agent Voice Authority (AVA) issues an agent certificate after key proof.
2. **Delegate:** a separate business signer issues a scoped customer grant.
3. **Call:** mutual TLS 1.3 authenticates the peers through audio and protects requests and responses.
4. **Enforce:** the business checks the grant against the authenticated peer before executing the permitted action.

The current demo allows **reading Alice's order**, then denies an address change
under the same read-only scope. Keys and grant credentials stay out of model inputs.
[Identity and permission details →](https://github.com/ketanbj/openavt/blob/main/docs/authority.md)

## Try the demo

Requires Python 3.11+. No OpenAI key needed.

```
python -m pip install 'openavt[webrtc,authority]'
openavt sdk-demo
```

The demo enrolls an agent, issues customer consent, and establishes a live local
audio call. It accepts one authorized request and rejects seven misuse cases,
including scope escalation, replay and revocation. The peers run in separate Python processes and save a report under `output/`.

For **two real OpenAI voice agents**, [configure `OPENAI_API_KEY` locally](https://github.com/ketanbj/openavt/blob/main/docs/quickstart.md#add-two-openai-voice-agents), then run:

```
python -m pip install 'openavt[agents,authority]'
openavt sdk-demo --agents
```

[Integrate a voice agent or configure Twilio →](https://github.com/ketanbj/openavt/blob/main/docs/integration.md) · [More demos →](https://github.com/ketanbj/openavt/blob/main/docs/quickstart.md)

## PAP sessions and fraud monitoring

OpenAVT works **alongside Personal Agent Protocol (PAP/Poppy)**: PAP supplies
HTTPS discovery, sign-in and account permissions; OpenAVT binds those permissions
to an authenticated audio call and exact requests. The optional adapter targets
PAP draft 0.1 with a negotiated custom voice extension.

```
python -m pip install 'openavt[pap,webrtc]'
openavt pap-demo
```

This local demo reads an order over audio, proposes an exchange, and confirms it
through PAP's HTTPS operations endpoint exactly once. It also verifies fraud
blocking and sign-out before execution. [Integration and supported profile →](https://github.com/ketanbj/openavt/blob/main/docs/pap.md)

A vendor-neutral [fraud adapter](https://github.com/ketanbj/openavt/blob/main/docs/risk.md) supports unsupported callers and
suspicious authenticated requests. It can restrict execution without expanding
permissions. Provider-specific integrations and external PAP interoperability
still require validation with those providers.

## QUIC over voice

The optional QUIC path reuses the audio modems, call adapters and authorization
SDK, with QUIC providing packet loss recovery and mutually authenticated TLS 1.3.
From this checkout:

```
python -m pip install -e '.[quic,webrtc,authority]'
openavt sdk-demo --protocol quic --loss
```

This runs two independent processes with dropped, damaged and duplicated audio
bursts. [QUIC integration, PAP, G.711 provider emulation and limits →](https://github.com/ketanbj/openavt/blob/main/docs/quic.md)

## Sub-second handshakes

Measured on an established local **64 kbps G.711 PCMU** audio call:

| Run | Full mutual TLS handshake | Evidence |
| --- | --- | --- |
| `main` CI, 5 fresh calls, October 11, 2026 | **0.561 s median · 0.581 s max** | [Benchmark](https://github.com/ketanbj/openavt/blob/main/docs/performance/pcm-ci-main.json) |
| Two independent OpenAI SDK processes, WebRTC | **0.620 s** | [SDK results](https://github.com/ketanbj/openavt/blob/main/docs/sdk-verification.json) |

The timer includes both authenticated endpoints and the final audio ACK. It
excludes certificate creation, call setup and LLM/speech time. These local results
are not a carrier or Internet latency guarantee. The fast PCM
profile requires an unchanged digital PCMU path; transcoding or audio processing
can break it. [Measurements and reproduction →](https://github.com/ketanbj/openavt/blob/main/docs/performance.md)

## Scope

This is an **experimental local prototype**. Both peers run on one machine;
public Internet, carrier/PSTN and microphone paths have not been verified.
Ordinary speech is outside the inner TLS session. There is no WebRTC data channel
carrying the protected requests.

Certificates prove registered account/key control. Customer authentication uses
demo credentials; verified provider identities, real customer login and production CA
operations remain future work. Banking, payments and utility integrations are
target use cases; the standalone demo returns a fixed order result, and the PAP demo adds a
simulated exchange with explicit HTTPS confirmation.
[Trust boundaries →](https://github.com/ketanbj/openavt/blob/main/docs/authority.md#trust-boundaries)

## Documentation

| Goal | Guide |
| --- | --- |
| Evaluate the business case and adoption path | [Voice-to-Business trust gap](https://github.com/ketanbj/openavt/blob/main/docs/business.md) |
| Install and choose a demo | [Quickstart](https://github.com/ketanbj/openavt/blob/main/docs/quickstart.md) |
| Understand certificates and customer consent | [Authority and delegation](https://github.com/ketanbj/openavt/blob/main/docs/authority.md) |
| Run a persistent authority | [AVA CLI walkthrough](https://github.com/ketanbj/openavt/blob/main/docs/authority-cli.md) |
| Add a personal agent, business gateway or Twilio call | [SDK integration](https://github.com/ketanbj/openavt/blob/main/docs/integration.md) |
| Connect PAP sessions and voice authorization | [PAP adapter](https://github.com/ketanbj/openavt/blob/main/docs/pap.md) |
| Add voice detection and fraud monitoring | [Fraud adapters](https://github.com/ketanbj/openavt/blob/main/docs/risk.md) |
| Understand the transport | [Architecture](https://github.com/ketanbj/openavt/blob/main/docs/architecture.md) |
| Run QUIC over lossy audio | [QUIC over voice](https://github.com/ketanbj/openavt/blob/main/docs/quic.md) |
| Reproduce the timings | [Performance](https://github.com/ketanbj/openavt/blob/main/docs/performance.md) |
| Inspect tests and evidence | [Verification](https://github.com/ketanbj/openavt/blob/main/docs/verification.md) |
| Build and publish the package | [Releasing](https://github.com/ketanbj/openavt/blob/main/docs/releasing.md) |
ketanbj10
🟧 echo.github ⭐The project describes TLS over voice for agent-to-business calls, binding authenticated endpoints to signed, scoped permissions; its documenKetan B. J.——

Interpretation history

Decision trace