Skip to main content

EVA Client SDK

Help Devices Listen, See, and Respond Naturally​

EVA Client SDK is a client-side agent solution for natural voice and visual interaction. It combines cloud model inference through EVA Gateway with on-device inference and media processing, covering VAD, ASR, LLM, TTS, echo cancellation, and multimodal camera input to deliver integrated audio and video interaction across the device and cloud.

Build natural conversational products for browsers, desktop applications, mobile apps, and smart hardware without separately managing recording, speech recognition, LLM requests, speech synthesis, audio playback, and interruptions.

Use Cases​

  • AI voice assistants: Add natural voice Q&A and continuous conversations to web, desktop, or mobile applications.

  • Customer support and reception: Let users ask questions by voice and follow up or interrupt while an answer is playing.

  • Digital humans and virtual characters: Combine streaming text, speech synthesis, and visual input for more natural real-time interactions.

  • Smart glasses and wearables: Use voice and camera input to understand what users see and provide information on the go.

  • Robotics and smart hardware: Provide a unified pipeline for listening, speaking, understanding, and interaction.

EVA Client SDK provides implementations for different client environments. TypeScript, Python, Flutter, and C++ versions are currently available.

Why EVA Client SDK​

  • A complete agent pipeline: Connect recording, VAD, ASR, LLM, TTS, and playback with one SDK, reducing integration work and state management across services.

  • Natural interruptions: Stop the current response and audio playback when the user speaks, making multi-turn conversations feel more natural.

  • On-device perception and processing: Run VAD, media capture, and echo cancellation on the device to reduce unnecessary data transfers and improve responsiveness.

  • Voice and vision together: Include the current camera view alongside voice and text so the agent can answer questions such as “What am I looking at?”

  • Unified model access: Use ASR, LLM, and TTS models through EVA Gateway without maintaining a separate integration for each model.

  • Observable and controllable behavior: Receive real-time transcripts, streaming responses, playback, interruption, error, and latency information. Control the microphone, TTS, and camera as needed.

Evolving Agent Capabilities​

Natural voice conversation is the SDK's current core mode. Future releases will extend the same device-and-cloud architecture with:

  • More processing modes: Support scenarios such as meeting notes and real-time translation, so developers can choose the agent workflow that fits their product.

  • More on-device inference: Bring suitable models to the device to reduce network dependency and improve responsiveness, data boundaries, and behavior on unreliable networks.

  • More languages and platforms: Expand beyond the released TypeScript, Python, Flutter, and C++ SDKs so more devices can share consistent agent capabilities and interaction semantics.

These capabilities will be released progressively across platform SDKs. Check each version's release notes for its supported features.

Prerequisites​

Before integrating EVA Client SDK, make sure:

  • The device is connected to the internet.

  • You have an authorized EVA Gateway API Key.

  • The device has the microphone, speaker, or camera your product requires, and the application has permission to access them.

Choose an SDK​

Once the prerequisites are met, choose the SDK for your target platform.

TypeScript​

Status: Released

For web applications, Electron desktop applications, and JavaScript/TypeScript runtimes with Web Audio and media capabilities. The build environment requires Node.js >=22 (LTS).

Browser access to the microphone and camera requires a secure context. Use HTTPS in production; localhost is supported for local development.

Install the SDK:

npm install @autoark-ai/eva-client-sdk-ts

Run the Official Demo​

Run the TypeScript browser demo from EVA SDK Examples:

git clone https://github.com/AutoArk/eva-sdk-examples.git
cd eva-sdk-examples/client-sdk/ts/browser-conversation-agent
npm ci
npm run dev

Open the local URL printed in the terminal, click the button to start a session, and enter your EVA Gateway API Key. The key is kept only in the current page's memory and is cleared when the page reloads.

The demo includes voice and text input, real-time transcription, streaming responses, multi-turn context, natural interruptions, TTS, microphone controls, and optional multimodal camera Q&A.

Flutter​

Status: Released

For iOS and Android apps, providing mobile voice interaction consistent with the EVA Agent contract. Suitable for teams building mobile voice assistants, customer support, digital humans, or device control apps.

Android supports arm64 devices running API 24 or later and requires Java 17 to build. iOS supports arm64 physical devices running iOS 15.1 or later and the Apple Silicon arm64 Simulator, with plugins integrated through CocoaPods. Declare and request microphone and camera permissions as required by each platform.

Install the SDK:

flutter pub add autoark_eva_client_sdk
flutter pub get

Run the Official Demo​

Run the Flutter mobile demo from EVA SDK Examples:

git clone https://github.com/AutoArk/eva-sdk-examples.git
cd eva-sdk-examples/client-sdk/flutter/conversation-agent
flutter pub get
flutter devices
flutter run --release -d <device-id>

After launching the app, enter your EVA Gateway API Key to start a voice session. The key is kept only in the current app process and is cleared when the app closes. Accept the Android or iOS permission request when first using the microphone or camera.

The demo includes voice and text input, real-time transcription, streaming responses, multi-turn context, natural interruptions, TTS, microphone controls, multimodal camera Q&A, Emotion, Command, and session stop/restart.

C++​

Status: Released

For native desktop applications, Linux ARM64 embedded devices, and smart hardware. Prebuilt packages are available for Apple Silicon macOS ARM64 and Linux ARM64.

The official terminal demo includes voice conversation, natural interruptions, echo cancellation, and optional multimodal camera Q&A. See the Quickstart for environment requirements and setup steps.

Python​

Status: Released

For macOS, Linux devices, and edge environments with a Python runtime. Suitable for quickly building voice assistants, device interaction prototypes, and industry applications. The build environment requires CPython >=3.11.

Install the SDK:

uv add autoark-eva-client-sdk

To use the microphone, speaker, and camera features in the official demo directly, install the corresponding extras:

uv add "autoark-eva-client-sdk[pyaudio,camera]"

Run the Official Demo​

Run the Python terminal demo from EVA SDK Examples:

git clone https://github.com/AutoArk/eva-sdk-examples.git
cd eva-sdk-examples/client-sdk/python/voice-dialogue-agent
python3 check_env.py
uv sync --frozen

check_env.py checks Python, the C compiler, and PortAudio, and suggests commands to fix missing dependencies. Once your EVA Gateway API Key is ready, follow the Demo README to start the demo using a key file. The demo includes microphone input, real-time transcription, streaming responses, TTS playback, natural interruptions, native AEC, emotion recognition, Command, and optional multimodal camera Q&A.

Q&A​

Does the SDK support camera input and multimodal Q&A?​

Yes. The SDK can enable the camera on demand, capture an image during the current voice turn, and send it with the recognized user speech to a multimodal LLM. The camera is off by default; applications can enable or release it as needed.

How do I switch models?​

When creating an Agent, configure asr.model, llm.model, tts.model, and tts.voice individually. Available models and combinations depend on the current EVA Gateway environment.

Is voice conversation the only supported mode?​

Natural voice conversation is the core mode in the currently released versions. Future releases will add modes such as meeting notes and real-time translation. These modes will reuse the same media, model access, and event mechanisms, so developers do not need to rebuild the entire pipeline.

Can the SDK run entirely offline?​

Fully offline operation depends on the target device's compute capacity, available resources, and the inference requirements of the selected models. EVA Client SDK will progressively offer more on-device inference, with documented capabilities, configuration requirements, and support for mainstream hardware. Models unsuitable for on-device execution can still use cloud inference through EVA Gateway. Check the release notes for the relevant platform and version for current support.

Can users interrupt the Agent while it is speaking?​

Yes. When the user starts speaking again or submits new text, the Agent stops its current response and TTS playback and begins processing a new turn.

Can I safely store an API Key in the browser?​

Credentials in a browser are always visible to the person using the page. Do not embed long-lived, unrestricted API Keys in public source code or static bundles. Use credentials that can be rotated, have usage limits, and grant only the necessary permissions, and design an appropriate issuance and revocation strategy at the application layer.

Which platforms are currently supported?​

TypeScript, Python, Flutter, and C++ SDKs have been released. TypeScript supports the web, Electron, and JavaScript/TypeScript runtimes with Web APIs. Python supports macOS, Linux, and edge environments with a Python runtime. Flutter supports Android and iOS mobile apps. C++ currently supports Apple Silicon macOS and Linux ARM64 devices. See Choose an SDK above for installation instructions and Quickstarts.