Skip to main content

Documentation Index

Fetch the complete documentation index at: https://aimnahai.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Setup Your Agent

Agents are the core of Aimna. Each agent has a system prompt, LLM model, voice settings, and optional functions.

Agent Modes

ModeDescription
VoiceHandles phone calls only
ChatHandles text chat only
BothHandles voice calls and text chat

Configuration

System Prompt

The system prompt defines your agent’s personality, knowledge, and behavior. Write it in natural language:
You are Sarah, a friendly customer service representative for TechCorp.

Your responsibilities:
- Answer questions about our products and pricing
- Help customers troubleshoot common issues
- Collect customer information for follow-ups
- Transfer to a human agent if you can't resolve the issue

Be concise, professional, and empathetic. Never make up information
you don't know — offer to connect them with a specialist instead.

LLM Model

Choose the language model that powers your agent’s responses:
ModelSpeedQualityBest For
GPT-4o MiniFastGoodMost use cases, cost-effective
GPT-4oMediumExcellentComplex reasoning, nuanced conversations
Claude SonnetMediumExcellentLong conversations, detailed analysis

Voice Settings (Voice mode only)

  • TTS Provider: ElevenLabs, OpenAI, or Edge TTS
  • Voice: Select from available voices for the chosen provider
  • STT Provider: Deepgram Nova (recommended) or ElevenLabs Scribe

Functions

Functions let your agent take actions during conversations:
  • Call Transfer — Transfer to a human agent or another AI agent
  • Book Appointment — Check calendar availability and book meetings
  • Send SMS — Send text messages to the caller
  • Extract Variables — Pull structured data from the conversation
  • Custom Function — Call any HTTP endpoint with extracted parameters