Skip to content

Custom Personas (Agents)

Rymi allows you to define distinct behaviors, instructions, and context bounds for different voice agents using "Agents."

Creating a Agent

Using the Web Dashboard or the REST API, you can define a Agent:

json
{
  "name": "Priya - Real Estate Assistant",
  "system_prompt": "You are Priya, a friendly real estate receptionist. Gather the caller's name and property interest."
}

Injecting the Persona

When Rymi receives a new Plivo stream, it reads the agentId context. The Gateway invokes the [AgentLoader] to securely fetch your instructions from the database (caching it in active memory) and injects it strictly into the Google Gemini Live API as the primary context window before the caller utters their first word.

Built for developers who build voice.