Creating Your First Agent

Step-by-step guide to creating and configuring a high-quality AI agent

Creating Your First Agent#

This guide walks you through creating and configuring a high-quality AI agent in AlonChat.

What is an Agent?#

An agent is your AI chatbot. Each agent has its own:

  • Knowledge base (files, text, Q&A, websites, Google Drive, conversations, structured data)
  • AI model (multiple providers and tiers available)
  • System prompt (personality and instructions)
  • Messaging channels (Chat Widget, Facebook Messenger, Instagram, WhatsApp, Telegram, Email, Help Page)
  • AI Actions (Google Calendar, Google Sheets, Google Drive, Email, Leads, Payments, Web Search)
  • Webhooks (send events to external systems)
  • CRM (auto-classified contacts, lead scoring, follow-ups, broadcasts)

Step-by-Step: Creating an Agent#

1. Navigate to Your Project#

From the dashboard:

  1. Select your project (or create one if you haven't)
  2. Click Agents in the sidebar
  3. Click Create New Agent

2. Name Your Agent#

Creating an agent takes one field: the Agent Name.

  • Enter a clear, descriptive name
  • Examples: "Customer Support", "Sales Assistant", "FAQ Bot"
  • This is for your reference -- customers don't see it

The AI model, welcome message, and behavior settings all start with sensible server defaults, so you can get to your knowledge base fast and tune the rest later.

3. Create the Agent#

Click Create Agent. You land directly in Sources, ready to add knowledge.

Configure Later in Settings > AI#

Once the agent exists, open Settings > AI to customize how it responds.

AI Model#

AlonChat supports multiple AI providers. Models and credit costs are managed in your dashboard and updated regularly:

TierCredits per MessageBest For
Budget1Fast responses, high volume, simple queries
Mid-tier5Balanced quality and cost
Premium10-15Complex conversations, nuanced responses
Top-tier25Highest quality, detailed reasoning

Check the model selector in your dashboard for current available models and pricing.

Recommendation:

  • Start with a budget model (1 credit) -- Great quality for most use cases
  • Upgrade to premium when you need more nuanced or complex responses

Welcome Message and Suggested Questions#

  • The welcome message is the first thing customers see when they start chatting. Keep it friendly and clear.
  • Add a few suggested questions (e.g., "What are your pricing plans?", "What are your business hours?") to help customers get started.

System Prompt#

  • Instructions that define your agent's personality and behavior
  • The default works well, but you can customize for specific use cases
  • Example custom prompt:
    Code
    You are a friendly customer support agent for [Company Name].
    Always be polite, concise, and helpful. If you don't know
    the answer, say "I don't have that information right now,
    but I'll connect you with a human agent who can help."
    

Response Creativity (Temperature)#

  • An optional override that controls creativity vs. consistency
  • Defaults to Automatic and is kept low so answers stay consistent and factual -- ideal for customer support
  • Only raise it if you specifically want more varied, conversational phrasing

Next Steps#

After creating your agent:

  1. Add knowledge sources -- Your agent needs content to learn from
  2. Train your agent -- Process the knowledge base
  3. Test in the chat playground -- Verify it works
  4. Set up integrations -- Connect to Facebook, Instagram, WhatsApp, Telegram, and more

Best Practices#

Do's#

  • Start simple: Create a basic agent, test it, then add complexity
  • Use clear initial messages: Tell users what your agent can help with
  • Choose the right model: Budget models (1 credit) handle most use cases well; upgrade for complex needs
  • Keep system prompts focused: Clear, specific instructions work best
  • Test thoroughly: Chat with your agent before deploying to live channels

Don'ts#

  • Don't skip testing: Always test before connecting to live channels
  • Don't crank up Response Creativity for factual Q&A: Leave it on Automatic (kept low) for accuracy
  • Don't create multiple agents for the same purpose: Use one agent with comprehensive knowledge
  • Don't forget to train: Adding sources doesn't automatically train the agent

Common Issues#

"My agent gives generic responses"

  • You haven't added knowledge sources yet -- Add sources
  • You haven't trained the agent -- Click Train Agent
  • Your sources lack specific information -- Add more detailed content

"Training is taking too long"

  • Large files take longer to process
  • Website crawling can take time depending on page count
  • Check the Training Status indicator for progress

"My agent isn't using my knowledge"

  • Make sure you clicked Train Agent after adding sources
  • Check that sources are in "Ready" status (not "Processing" or "Failed")
  • Verify your knowledge is relevant to the questions being asked

Example: Customer Support Agent#

Here's a complete example setup:

Code
Agent Name: Customer Support Assistant

(configured later in Settings > AI)
Welcome Message: Hi! I'm here to help with questions about our
  products, pricing, and support. What can I help you with today?

Suggested Questions:
- What are your pricing plans?
- How do I contact support?
- What's your refund policy?

AI Model: Mid-tier model (balanced quality and cost)
Response Creativity: Automatic (kept low for consistency)

System Prompt:
You are a helpful customer support agent for Acme Corp.
Answer questions using the knowledge base provided.
Be friendly, concise, and accurate. If you don't know
the answer, say "I don't have that information. Let me
connect you with a human agent who can help!"

Sources:
- Text: Pricing information
- Q&A: Common customer questions (50 pairs)
- Website: https://acmecorp.com/docs
- PDF: Product manual

This setup creates a professional, accurate support agent that handles most common questions automatically.