Skip to content

videosdk-live/agent-starter-app-android

Repository files navigation

Agent Starter Android

A starter project for integrating Conversational AI Agents in Android using VideoSDK.

Features

  • Voice & Video Support: Seamless real-time audio and video communication.
  • AI Agent Integration: Talk to an AI Agent directly with real-time feedback and dynamic animations.
  • Live Transcription: View real-time ongoing transcriptions of the conversations within the app.
  • Screen Sharing: Built-in support for sharing your screen during the session.
  • Device Management: Switch between different audio and video devices smoothly.

Prerequisites

  1. Android 8.0 (API level 26) or later
  2. Android Studio (latest stable) with JDK 17
  3. Android Gradle Plugin 9.0.1 and Kotlin 2.0.21 (already pinned in the project)

Create Agent

You can create and configure a powerful AI agent directly from the VideoSDK dashboard — no coding required.

Step 1: Create Your Agent

First, follow our detailed guide to Build a Custom Voice AI Agent in Minutes. This will walk you through creating the agent's persona, configuring its pipeline (Realtime or Cascading), and testing it directly from the dashboard.

Step 2: Get Agent and Version ID

Once your agent is created, you need to get its agentId and versionId to connect it to your frontend application.

  1. After creating your agent, go to the agent's page and find the JSON editor on the right side. Copy the agentId.

  2. To get the versionId, click on the 3 dots beside the Deploy button and click on "Version History". Copy the version ID via the copy button of the version you want.

Getting Started

  1. Clone the repository:

    git clone https://github.com/videosdk-live/agent-starter-app-android.git
    cd agent-starter-app-android
  2. Open the project in Android Studio: Launch Android Studio and open the agent-starter-app-android folder. Let Gradle finish syncing before proceeding.

  3. Set up credentials: Before running the app, you need to configure your authentication details. Copy local.properties.example to local.properties at the project root and supply the required values:

    • authToken: Your authorization token.
    • agentId: The ID of the agent you want to connect to.

    Also, there are two optional values:

    • meetingId: If not specified, then it will create new meeting id and proceed.
    • versionId: If not specified, then it will get the latest version for provided agentId and proceed with the latest versionId.
  4. Build and Run: Connect a physical Android device (or start an emulator running API 26+), select it as the run target, and click the Run button (or press Shift + F10) in Android Studio. You can also install a debug build from the command line with ./gradlew installDebug.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages