Skip to main content
Customer support agents answer questions, troubleshoot issues, and help users - 24/7.

Quick Start

from praisonaiagents import Agent

# Customer support agent
support = Agent(
    name="SupportBot",
    instructions="""You are a helpful customer support agent.

- Greet customers warmly
- Understand their issue fully
- Provide clear solutions
- Be patient and empathetic""",
    memory=True  # Remember conversation
)

support.start("I can't log into my account")

With Knowledge Base

from praisonaiagents import Agent

# Support agent with FAQ knowledge
support = Agent(
    name="SupportBot",
    instructions="Answer questions using the FAQ documentation",
    knowledge=["faq.pdf", "policies.txt"],  # Your docs
    memory=True
)

support.start("How do I cancel my subscription?")
Add your FAQ documents with knowledge=["file.pdf"] for accurate answers.

Support Types

FAQ Bot

Answer common questions

Troubleshooting

Diagnose and fix issues

Ticket Creation

Gather info for tickets

Escalation

Route complex issues

Complete Example

from praisonaiagents import Agent

# Full-featured support agent
support_agent = Agent(
    name="SupportAgent",
    instructions="""You are a customer support agent for a software company.

When helping customers:
1. Greet them warmly
2. Understand their issue completely
3. Provide step-by-step solutions
4. Be patient and empathetic
5. Offer to escalate if needed

Our product features:
- Task management
- Calendar scheduling
- Team collaboration""",
    knowledge=["faq.pdf"],  # Your FAQ docs
    memory=True  # Remember conversation
)

# Handle customer inquiry
support_agent.start("I'm having trouble syncing my calendar")
support_agent.start("I'm using the iPhone app version 3.2")
support_agent.start("That worked! Thank you!")

Troubleshooting Agent

from praisonaiagents import Agent

troubleshooter = Agent(
    name="TechSupport",
    instructions="""You troubleshoot technical issues.

Process:
1. Ask clarifying questions
2. Identify likely causes
3. Provide step-by-step fixes
4. Start with simplest solutions
5. Escalate if unresolved"""
)

troubleshooter.start("The app keeps crashing on my iPhone")

Support Team

from praisonaiagents import Agent, AgentTeam

# Tier 1: Basic questions
tier1 = Agent(
    name="Tier1Support",
    instructions="Handle basic questions and FAQs",
    knowledge=["faq.pdf"]
)

# Tier 2: Technical issues
tier2 = Agent(
    name="TechSupport",
    instructions="Handle technical troubleshooting"
)

# Escalation manager
manager = Agent(
    name="SupportManager",
    instructions="Route issues to appropriate tier"
)

team = AgentTeam(
    agents=[manager, tier1, tier2],
    process="hierarchical"
)

Best Practices

Include FAQs and documentation for accurate answers
Use memory=True for multi-turn conversations
Include empathy in instructions
Define when to escalate to humans

Next: Personal Assistant Agents

Learn how to build agents that help with personal tasks.