← Back to Leaderboard
Tsaasagelabs

saasagelabs/twring

A self-hostable voice gateway for calling existing AI agents and getting callbacks

Engineering Health (Methodology)
A+ · 88/100
Maintenance Activity
● Updated today
Latest Release
selfhost-v1.0.5
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption13/25
Release Cadence20/20
License Clarity20/20
Self-Hosted
Total Stars
★ 23
24h Growth
+0
7d Growth
+7
Forks
5

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

saasagelabs/twring Star History (2026-11-02 - 2026-12-03) DAILY STAR HISTORY (32-DAY D1 TELEMETRY) +22 in 31d · avg +1/day 27 14 0 2026-11-02: ★ 12026-11-04: ★ 42026-11-06: ★ 42026-11-08: ★ 52026-11-10: ★ 52026-11-12: ★ 52026-11-14: ★ 52026-11-16: ★ 162026-11-18: ★ 162026-11-20: ★ 162026-11-22: ★ 162026-11-24: ★ 162026-11-26: ★ 162026-11-28: ★ 162026-11-30: ★ 192026-12-03: ★ 23 ★ 23 11-02 11-17 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Twring is a TypeScript monorepo that adds a mobile voice layer to agents users already run. The Expo/React Native client in apps/mobile joins a LiveKit room. The server in apps/gateway handles calls, agent connections, chats, and rings. It turns incoming speech into text, sends it to the connected agent, and streams the agent’s reply back as synthesized audio. The agent retains its own model, memory, tools, and responsibility for execution.

The repository separates machine linking into apps/connector and locked-phone wakeups for self-hosted gateways into apps/relay. Shared contracts, configuration, agent adapters, and push code live in packages/. The integration surface covers named agents and agents with their own web address; AI-app custom connectors expose ringing and messaging without the live call path. The workspace declares Node.js 24 or newer and uses pnpm.

Key Capabilities & Differentiators

Twring supports app-to-agent calls and agent-initiated callbacks for events such as a finished job or a pending approval. During a call, partial speech recognition updates the interface, and the gateway starts synthesizing the agent’s text as it arrives. Users can interrupt playback by speaking and answer approval requests by voice or tap. The call layer also handles continuity across network changes; it does not execute the agent’s tools.

Live calls are supported for Hermes, Claude Code, Codex, Gemini CLI, and agents reachable at their own web address. The speech backends are Deepgram or xAI for recognition, and Cartesia, Deepgram, or xAI for synthesis. iPhone and Android share a React Native codebase. Claude and ChatGPT custom connectors can initiate rings and send messages, but cannot take live calls through that integration.

Trade-offs & Limitations

Compared with a standalone voice assistant, Twring lets teams reuse their existing agent’s model, memory, and tools instead of migrating them into a new runtime. The flip side is that the gateway cannot compensate for slow agent responses or define the agent’s execution policy. In-call approval is an interface to the connected agent, not a substitute for tool permissions and approval enforcement on the agent side. For teams that only need completion alerts, a messaging integration is simpler to operate.

Self-hosting gives operators control of chat and file storage, but the voice path still uses external speech providers and requires a working LiveKit media path. Locked-screen callbacks add another dependency in the ring relay. Plan around concurrent calls and network quality, and verify callback delivery and interruption behavior on actual devices before rollout. If policy requires speech to stay on premises, the external speech path described here does not meet that requirement.

Hardware & Deployment Guide

The self-hosted kit targets a Linux machine or VPS. The deploy/selfhost directory contains the installer, twring command, and Compose files. The published quickstart pipes a downloaded installer into sudo sh, so inspect the script before running it with elevated privileges. Pair the phone by scanning the setup code, supply your own speech account, and plan for network access to the speech provider. Self-hosting keeps chats and files on your server; it is not an offline voice deployment.

The hosted route requires an invite and distributes the iPhone build through TestFlight and Android through a download link; it also accepts user-supplied speech credentials, which are validated and stored encrypted on the server. For source development, use Node.js 24 or newer, enable Corepack, and install with pnpm; the workspace exposes type checking, lint, and test scripts. The self-host release line includes selfhost-v1.0.5. The separate Hermes v0.2.1 release uses marketplace-based installation, so the version selected by Hermes depends on the marketplace listing.

Media path: The Expo/React Native app carries live audio through LiveKit; the gateway bridges the call to the agent.
Speech providers: Deepgram and xAI handle speech recognition; Cartesia, Deepgram, and xAI handle synthesis.
Turn-taking: Partial transcripts drive the call UI, streamed agent text feeds synthesis, and speaking over the agent stops playback.
Mobile callbacks: The separate ring relay wakes locked phones for self-hosted gateways; users can approve or deny requests by voice or tap.
Integration boundary: Hermes, Claude Code, Codex, Gemini CLI, and web-reachable agents can take calls; custom AI-app connectors can ring and message only.
Self-hosting: deploy/selfhost contains the installer, twring CLI, and Compose files; mobile pairing uses a scannable code.
Best For

Teams or individuals already running agents who want live mobile conversations, callbacks, and human approvals without replacing the agent runtime.

Skip If

You require offline speech, standard telephone-number calling, or a voice platform that owns model inference and tool execution.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-Hosted
curl -fsSL https://twring.com/install.sh | sudo sh

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
twring ★23+7TypeScriptApache-2.0A self-hostable voice gateway for calling existing AI agents and getting callbac
voicebox61.8k+437PythonMITLocal-first voice studio with multi-engine speech synthesis, dictation and MCP.
speech-to-speech13.9k+137PythonApache-2.0A modular speech cascade for self-hosted voice agents over OpenAI Realtime
hyperframes95.5k+4.4kTypeScriptApache-2.0HTML timelines for editable video projects and frame-by-frame rendering

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/saasagelabs/twring.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

saasagelabs/twring Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about twring

How do I connect an existing agent, and what runs where?

Link the machine running the agent through the connector, or use an agent reachable at its own web address. Twring converts call audio to text and synthesizes the streamed reply; the agent still owns the session, tools, and execution. A custom connector in Claude or ChatGPT is a separate integration that supports rings and messages, not live calls.

Does the self-hosted gateway need a GPU, and how should I size it?

No local GPU or fixed VRAM requirement is listed for the voice gateway. The documented path uses LiveKit and external speech APIs. Size the host around concurrent calls, media traffic, and network headroom, and size the connected agent separately. No measured capacity or minimum host size is available from the supplied specifications.

Can I self-host or redistribute Twring commercially?

The repository is listed as Apache-2.0, which permits commercial use and modification subject to its terms. For redistribution, review the applicable license and notice obligations in LICENSE, LICENSES/, and LICENSING.md, and check TRADEMARKS.md before reusing project branding. Speech-provider and mobile distribution terms are separate from the source license.

When is Twring a better choice than a standalone voice assistant or a messaging integration?

Use Twring if the hard part is making an existing agent reachable by phone, including callbacks and in-call approvals. A standalone voice assistant is a better fit when the voice product should also own model selection, memory, and tools. If you only need asynchronous alerts and replies, a messaging integration avoids the live media and speech stack.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining saasagelabs/twring? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature saasagelabs/twring on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare