@yantra

YantraRouter

AI SDK v6 provider for Yantra AI Model Router. Proxies generateText / streamText calls to the Yantra API.

Current version
v1.1.1
code-pluginCommunitysource-linked

@yantra/openclaw-yantrarouter

OpenClaw plugin for Yantra AI — connects directly to the cdecli agent for intelligent automation across 960+ integrations.

✅ No proxy required — works out of the box with OpenClaw CLI and TUI.

Install

openclaw plugins install clawhub:@yantra/openclaw-yantrarouter

Setup

Set your Yantra API key in OpenClaw config:

openclaw config set env.YANTRA_API_KEY "your-api-key"
openclaw gateway restart

Or export it before starting the gateway:

export YANTRA_API_KEY="your-api-key"

Usage

Smoke test (AI SDK)

YANTRA_API_KEY=your-key node examples/smoke.mjs

Available models

Model IDName
yantra/gpt-4.1GPT 4.1
yantra/claude-sonnet-4Claude Sonnet 4
yantra/deepseek-r1DeepSeek R1

Environment variables

VariableDescription
YANTRA_API_KEYBearer token from your Yantra / cdebase dashboard
YANTRA_BASE_URLOverride the agent endpoint (default: https://cdecli-agent.cdebase.dev)

Source

github.com/yantra-app/openclaw-yantra

Source and release

Source repository

yantra-app/openclaw-yantra

Open repo

Source commit

e3e6e2ea6cc73d06386a391b70dcb119c4d23eed

View commit

Install command

openclaw plugins install clawhub:@yantra/openclaw-yantrarouter

Metadata

  • Package: @yantra/openclaw-yantrarouter
  • Created: 2026/05/28
  • Updated: 2026/05/30
  • Executes code: Yes
  • Source tag: main

Compatibility

  • Built with OpenClaw: 2026.3.24-beta.2
  • Plugin API range: >=2026.3.24-beta.2
  • Tags: latest
  • Files: 18