Agents Overview
Agents are the core AI entities in PLai Framework. Each agent is a specialized AI assistant that can chat with users, use tools, access datasources, and execute complex workflows.What are Agents?
Agents in PLai Framework are intelligent AI assistants that can:Chat & Interact
Engage in natural language conversations with users
Use Tools
Execute actions through connected tools and APIs
Access Data
Query datasources and knowledge bases
Process Requests
Handle batch operations and complex workflows
Agent Features
Core Capabilities
Every agent in PLai Framework includes:- Natural Language Processing: Powered by advanced LLMs
- Tool Integration: Connect to 6+ different tool types
- Memory & Context: Maintain conversation history and context
- Customizable Personality: Define behavior through system instructions
- Multi-Modal Support: Handle text, images, and other media types
Advanced Features
- Analytics
- Answer Filters
- Guardrails
- Real-time conversation analytics
- Performance metrics and insights
- Custom reporting and filtering
- Progress tracking for batch operations
Agent Configuration
Basic Settings
Each agent has fundamental configuration options:Identity & Behavior
Identity & Behavior
- Name: Human-readable agent identifier
- Description: Purpose and capabilities summary
- System Instructions (Prompt): Core personality and behavior guidelines
- Avatar: Visual representation for chat interfaces
Model Configuration
Model Configuration
- LLM Provider: OpenAI, Anthropic, Google, Groq, Together AI, OpenRouter, etc.
- Model Selection: GPT-4, Claude, Gemini, Llama, and other models
- Temperature: Response creativity and randomness
- Max Tokens: Response length limitations
- RouteLLM: Smart model routing for cost optimization
- Streaming: Enable real-time response streaming for interactive conversations
- Language Detection: Automatically detect and respond in the userβs language from the first question
- Structured Output: Define JSON schemas for consistent, structured responses
Capabilities
Capabilities
- Tools: Available actions and integrations
- Datasources: Knowledge bases and data access
- File Upload: Document processing capabilities
- Voice Input: Audio conversation support
Advanced Model Configuration
Response Streaming
Enable real-time response streaming to provide progressive, interactive conversations with your users.- Overview
- Use Cases
- Compatibility
What is Streaming?Streaming allows the agent to send responses progressively as theyβre generated, rather than waiting for the complete response. This creates a more interactive and responsive user experience.Benefits:
- Improved user experience with instant feedback
- Reduced perceived latency
- Better for long-form responses
- Real-time interaction feeling
Language Detection
Automatically detect and adapt to your userβs language based on their first question.- Overview
- Use Cases
- Compatibility
How it Works:When enabled, the agent analyzes the userβs first message to detect the language being used. The agent then automatically responds in the same language throughout the conversation.Benefits:
- Seamless multi-language support
- No manual language configuration needed
- Improved global user experience
- Automatic language consistency
Structured Output
Define JSON schemas to enforce consistent, parseable response formats.- Overview
- Requirements
- Use Cases
- Examples
What is Structured Output?Structured Output allows you to define a JSON schema that the agent must follow in its responses. This ensures consistent, predictable, and easily parseable outputs.Benefits:
- Guaranteed response format
- Easy integration with external systems
- Automatic validation
- Consistent data extraction
Agent Types & Use Cases
Customer Support Agents
Data Analysis Agents
Content Creation Agents
Research Agents
RouteLLM Integration
RouteLLM automatically routes requests to the most appropriate model based on complexity and cost.RouteLLM Benefits
- Cost Optimization: Use cheaper models for simple tasks
- Performance: Route complex queries to advanced models
- Automatic: No manual configuration required
- Transparent: Full visibility into routing decisions
Getting Started
Ready to create your first agent?Next Steps
Create Your First Agent
Step-by-step agent creation guide
Agent Settings
Configure advanced agent features
Analytics
Monitor and analyze agent performance
First Agent Tutorial
Complete walkthrough with examples
Common Questions
How many agents can I create?
How many agents can I create?
The number of agents depends on your subscription plan. Free plans typically allow 3 agents, while premium plans offer unlimited agents.
Can agents communicate with each other?
Can agents communicate with each other?
Currently, agents operate independently. Multi-agent workflows are on our roadmap for future releases.
What happens to conversation history?
What happens to conversation history?
Conversation history is stored securely and can be accessed through the analytics dashboard. Data retention policies vary by plan.
Can I export agent configurations?
Can I export agent configurations?
Yes, agent configurations can be exported as JSON files for backup or migration purposes.