# Financial Verification Assistant

> Rehearse a card services conversation with a voice agent.

Use a public practice phrase to simulate verification, then rehearse reporting an unfamiliar charge or asking to lock a fictional card.

- Author: Agora
- Updated: 2026-11-24
- Guide language: unspecified
- Guide status: available
- Difficulty: Intermediate
- Categories: voice-ai
- Platforms: TypeScript
- Use cases: Financial Services, Voice AI
- Capabilities: Conversational AI, Voice Agent, Agora RTC, Next.js
- [Recipe page](https://recipes.agora.io/recipes/agora-financial-verification-demo)
- [Implementation repository](https://github.com/AgoraIO-Community/agora-financial-verification-demo)
- [Source recipe](https://github.com/AgoraIO-Community/agora-financial-verification-demo/blob/main/RECIPE.md)
- [Raw source Markdown](https://raw.githubusercontent.com/AgoraIO-Community/agora-financial-verification-demo/main/RECIPE.md)
- [All recipes](https://recipes.agora.io/llms.txt)

## Use with Agora CLI

agora init my-agora-financial-verification-demo --recipe agora-financial-verification-demo

## Implementation guide

# Agora Financial Verification Assistant Demo

## 1. What you build

Use public practice phrases to rehearse a card services conversation.

## 2. Prerequisites

Use Node.js 24, pnpm 9.15.9 and an Agora project with Conversational AI enabled.

## 3. Configure the app

Copy `env.local.example` to `.env.local`. Enter the App ID and App Certificate in the fields listed in [README.md](https://github.com/AgoraIO-Community/agora-financial-verification-demo/blob/main/README.md).

## 4. Run the app

Run `pnpm install --frozen-lockfile` and `pnpm dev`. Open the local page and allow microphone access.

## 5. Try a conversation

Say “I would like to practice reporting an unfamiliar card charge.” Then say “Switch the practice scenario to a lost card and a lock request instead.” Ask for a recap of the corrected draft.

## 6. Understand the boundary

The browser session uses fictional reference data and a spoken draft. Do not collect real names, birth dates, card numbers, PINs, passwords, verification codes or transaction data. A public practice phrase does not authenticate anyone. Do not claim that a card was locked, a dispute was filed, a bank was contacted or a call was transferred.

## 7. Customize the scenario

Edit [the workflow](https://github.com/AgoraIO-Community/agora-financial-verification-demo/blob/main/lib/agent-config.ts), [the fictional reference](https://github.com/AgoraIO-Community/agora-financial-verification-demo/blob/main/lib/scenario-knowledge.ts) or [the UI copy](https://github.com/AgoraIO-Community/agora-financial-verification-demo/blob/main/lib/presentation.ts).

## 8. Verify

Run `pnpm run verify`. Exercise the initial request and correction in a real browser call to validate speech behavior.


## Recipe prompt

You are implementing the "Financial Verification Assistant" recipe in this project.

Read the recipe markdown first:
https://raw.githubusercontent.com/AgoraIO-Community/agora-financial-verification-demo/main/RECIPE.md

Use the source repository for cross-reference:
https://github.com/AgoraIO-Community/agora-financial-verification-demo

Build this recipe into the user's app using the markdown as the implementation guide. Inspect related source files through the repository links when the recipe points to them. Ask before installing new dependencies.
