Overview

Agents represent an abstraction for an AI (usually an LLM) that powers the content generation/understanding layer of the conversation. In other words, Agents are the AI that is actually having the conversation.

Vocode provides agents that work out-of-the-box (see below) and also allows developers to create their own agents.

Default Agent Implementations

All Agents are implemented using the corresponding AgentConfig class.

ChatGPTAgentConfig

The ChatGPTAgentConfig is configured to use the new ChatGPT endpoint from OpenAI.

prompt_preamble
str
required

The initial prompt message.

LLMAgentConfig

The LLMAgentConfig is configured to use the completions endpoint using the simpler text-curie-001 model.

prompt_preamble
str
required

The initial prompt message.

InformationRetrievalAgentConfig

Primarily used for Outbound phone calls, the `InformationRetrievalAgent

recipient_descriptor
str
required

A description for the call recipient.

caller_descriptor
str
required

A description for the caller.

goal_description
str
required

A description for the goal of the call.

fields
List[str]
required

The fields that are to be collected on the call.

To build your own agent, see Create your own AI Agent