Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ AgentKit is proud to have support for the following protocols, frameworks, walle
<a href="https://superfluid.org" target="_blank"><img src="./assets/protocols/superfluid.svg" width="100" height="auto" alt="Superfluid"></a>
<a href="https://zora.co" target="_blank"><img src="./assets/protocols/zora.svg" width="100" height="auto" alt="Zora"></a>
<a href="https://allora.network" target="_blank"><img src="./assets/protocols/allora.svg" width="100" height="auto" alt="Allora"></a>
<a href="https://dtelecom.org" target="_blank"><img src="./assets/protocols/dtelecom.svg" width="100" height="auto" alt="dTelecom"></a>

### Frameworks

Expand Down
54 changes: 54 additions & 0 deletions assets/protocols/dtelecom.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions typescript/.changeset/dtelecom-voice-provider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@coinbase/agentkit": minor
---

Added dTelecom action provider for decentralized voice services (WebRTC, STT, TTS) with x402 micropayments, and a voice agent example.
1 change: 1 addition & 0 deletions typescript/agentkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@alloralabs/allora-sdk": "^0.1.0",
"@base-org/account": "^2.2.0",
"@coinbase/cdp-sdk": "^1.38.0",
"@dtelecom/x402-client": "^0.1.3",
"@ensofinance/sdk": "^2.0.6",
"@jup-ag/api": "^6.0.39",
"@privy-io/public-api": "2.18.5",
Expand Down
64 changes: 64 additions & 0 deletions typescript/agentkit/src/action-providers/dtelecom/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# dTelecom Action Provider

This provider integrates [dTelecom](https://dtelecom.org) decentralized voice infrastructure into AgentKit, enabling AI agents to create and manage real-time voice sessions with WebRTC, speech-to-text (STT), and text-to-speech (TTS).

## Overview

dTelecom provides decentralized communication infrastructure paid via the [x402 payment protocol](https://www.x402.org/) using USDC on Base. This provider wraps the `@dtelecom/x402-client` SDK to expose all gateway operations as AgentKit actions.

## Setup

No configuration required — the provider uses the default gateway URL (`https://x402.dtelecom.org`) and derives authentication from the EVM wallet provider.

```typescript
import { AgentKit } from "@coinbase/agentkit";
import { dtelecomActionProvider } from "@coinbase/agentkit";

const agentkit = await AgentKit.from({
walletProvider,
actionProviders: [dtelecomActionProvider()],
});
```

## Actions

| Action | Description |
|--------|-------------|
| `buy_credits` | Buy credits with USDC via x402 payment |
| `get_account` | Get account balance and limits |
| `get_transactions` | List credit transactions |
| `get_sessions` | List active and completed sessions |
| `create_agent_session` | Create bundled WebRTC + STT + TTS session |
| `extend_agent_session` | Extend a bundled session |
| `create_webrtc_token` | Create standalone WebRTC room token |
| `extend_webrtc_token` | Extend WebRTC token duration |
| `create_stt_session` | Create standalone STT session |
| `extend_stt_session` | Extend STT session duration |
| `create_tts_session` | Create standalone TTS session |
| `extend_tts_session` | Extend TTS session character limit |

## Supported Languages

| Code | Language |
|------|----------|
| `a` | English (US) |
| `b` | English (UK) |
| `e` | Spanish |
| `f` | French |
| `h` | Hindi |
| `i` | Italian |
| `j` | Japanese |
| `p` | Portuguese (BR) |
| `z` | Chinese (Mandarin) |

## Network Support

This provider supports EVM networks. Payments are processed on Base mainnet using USDC.

## Dependencies

- `@dtelecom/x402-client` — dTelecom gateway SDK

## Example

See the [dtelecom-voice-agent example](../../../examples/dtelecom-voice-agent/) for a complete voice agent using this provider with `@dtelecom/agents-js`.
Loading