Skip to content

AI Voice Agent Prompts

The AI Voice Agent is the main self-service channel for completing a profile. The prompts that drive it are Digital Public Goods (DPGs) in their own right: published, versioned and reusable, like the Signals and Aggregator codebases.

The published agents are for the Blue Dot (jobs) domain. The prompt structure works for any domain: agents for another domain use the same files. The prompts work on any voice platform, so an adaptor can run them on whichever Voice AI service it chooses.

Repository: github.com/Blue-Dots-Economy/AI-Agent-Prompts

Prompt sets are organised per domain, then per agent. The jobs agents sit in the Blue Dots folder:

AgentWho it talks toWhat the call does
KKB — काम की बातJob seekerShows available work clearly so the caller can decide, and captures what they are looking for
DKB — धंधे की बातJob provider (owner of a micro, small or medium enterprise, MSME)Helps the owner keep job postings current and complete
MayaJob seeker / graduateSeeker-facing agent with a dedicated inbound variant for callers who reach in rather than being called
TRRAINJob seeker, post-applicationA short follow-up courtesy call that makes one offer of a free support service and records the answer

This covers the two roles the lifecycle expects, a seeker-side agent and a provider-side agent, plus agents for inbound calls and follow-up after an application.

Each agent directory follows the same file convention:

File patternPurpose
<Agent> <Language>.mdThe main conversation prompt, per language (Hindi, Kannada, …)
<Agent> <Language> Signals.mdThe variant wired to Signals-backed tool calls
<Agent> Inbound*.mdInbound variant — the caller reaches the agent, rather than being called
<Agent> Memory.mdWhat the agent carries across turns and calls
<Agent> Output.mdThe structured output the call must produce

The conversation prompt, the memory contract and the output contract are separate files. An adaptor can change how the agent talks without changing what the call must produce, and the structured output keeps satisfying the verification checks downstream.

The prompts assume nothing about the platform beyond three capabilities:

  1. Telephony in both directions: outbound campaigns and an inbound number the QR code can point at.
  2. Local-language speech: the reference prompts ship in Hindi and Kannada. The adaptor decides which languages to add.
  3. Tool calling: the Signals prompt variants call back into the Signals DPG mid-conversation (for example a get_profile lookup to greet a caller by name).

Beyond those, selection is a commercial and operational decision: cost per minute, regional number availability, latency, and data residency.

A voice DPG connects to Signals the same way an aggregator does. It signs in with a Keycloak service account and writes through the bulk-create paths:

authorization: Bearer <client-credentials token>
x-acting-org-id: <the organisation you act as>

The realm ships a dedicated voice-dpg confidential client for this. It must be listed in KEYCLOAK_SERVICE_CLIENT_IDS on the Signals API. That list is empty by default, so an unlisted DPG is refused.

See Identity & Auth, Keycloak Realm Reference and Keycloak Setup.