Agent Basics
Learn the fundamentals of managing AI agents in BlackBox, including lifecycle states, creation workflows, organization strategies, and health monitoring.Agent Lifecycle
Every agent in BlackBox has an enabled/disabled toggle that controls its availability and behavior. Understanding this toggle is essential for effective agent management.Enabled State
When you create an agent or toggle it to Enabled, it becomes active:-
Characteristics:
- Agent is fully active and can handle calls
- Configuration changes take effect immediately
- Appears in call routing and web integrations
- Billable when processing calls
- Can receive inbound calls if phone numbers are configured
- Can be used for outbound call campaigns
-
Use Cases:
- Production agents handling real customer interactions
- Active support bots on your website
- Outbound sales or reminder campaigns
- Any scenario requiring immediate availability
Disabled State
When you toggle an agent to Disabled, it becomes temporarily inactive:-
Characteristics:
- Agent stops accepting new calls
- Active calls in progress complete normally
- Configuration is preserved exactly as-is
- No billing for disabled time
- Can be re-enabled at any time
- Historical call data remains accessible
-
Use Cases:
- Temporary service maintenance or updates
- Seasonal agents (e.g., holiday support bots)
- A/B testing alternate configurations
- Emergency pause during issues
Lifecycle Summary: Agents can be toggled between Enabled and Disabled states as many times as needed without losing configuration or historical data. New agents are enabled by default on creation.
Creating Agents
BlackBox provides two primary methods for creating agents: the web dashboard for visual configuration and the REST API for programmatic control.Via Dashboard
The dashboard provides a guided, multi-tab interface for comprehensive agent configuration. Step-by-Step Process:-
Navigate to Agents Page
- Sign in to blackbox.dasha.ai
- Click “Agents” in the main navigation
-
Click “Create Agent” Button
- Located in the top-right corner of the Agents page
- Opens the multi-tab agent creation form
-
Configure Basic Info Tab
- Name: Descriptive identifier (e.g., “Customer Support - NA Region”)
- System Prompt: Define personality and behavior
- Primary Language: Select from 40 supported languages
-
Configure LLM Tab
- Choose vendor:
openai,groq,grok,deepseek,customCompatible - Select model (e.g.,
gpt-4.1-mini,llama-3.3-70b-versatile) - Adjust temperature, maxTokens, topP as needed
- Choose vendor:
-
Configure Voice & Speech Tab
- Choose TTS provider: ElevenLabs, Cartesia, Dasha, Inworld
- Select a voice and preview it
- Adjust speed (if supported by provider)
-
Configure Optional Tabs (as needed)
- Tools: Define custom functions
- MCP Connections: Connect external tool servers
- Phone & SIP: Configure telephony settings
- Schedule: Set business hours
- Features: Enable runtime capabilities
- Webhooks: Configure event notifications
-
Review and Save
- Navigate to Review tab
- Verify all settings
- Click “Save Agent”
-
Enable Agent (when ready)
- Toggle “Allow this agent to take calls” switch
- Agent becomes active immediately
Via API
The REST API provides programmatic control for creating agents in automated workflows. Basic Example (JavaScript):Managing Agents
BlackBox provides comprehensive agent management capabilities through both the dashboard and API.Listing Agents
Via Dashboard:- Navigate to the Agents page to see all agents
- View agent cards showing: Name, status badge (Enabled/Disabled), system prompt summary, feature counts
- Use search bar to find specific agents by name
- Filter by status using the dropdown (All/Enabled/Disabled)
- Toggle between grid and list views
Viewing Agent Details
Via API:Editing Agents
Via Dashboard:- Click on an agent card from the Agents page
- Click “Edit” button
- Modify any configuration in the multi-tab form
- Click “Save Agent” to apply changes
Deleting Agents
Via Dashboard:- Click on an agent card from the Agents page
- Click the three-dot menu on the agent card
- Click “Delete” option
- Confirm deletion in the confirmation dialog
Permanent Deletion: Deleting an agent removes its configuration permanently and cannot be undone. Historical call data is preserved but the agent cannot be restored.
Agent Organization
Effective agent organization is critical when managing multiple agents across different use cases, regions, or campaigns.Naming Conventions
Clear, consistent naming helps teams quickly identify and manage agents. Recommended Patterns:- By Function
- By Region
- By Campaign
- By Language
Support - General InquiriesSupport - Technical IssuesSales - Lead QualificationSales - Demo SchedulingBilling - Payment Support
- Use descriptive prefixes for grouping (e.g., “Support -”, “Sales -”)
- Include language/region when managing multilingual agents
- Add campaign or version identifiers for A/B testing
- Avoid generic names like “Agent 1”, “Test”, “Bot”
- Keep names concise but meaningful (under 50 characters)
Managing Multiple Agents
When operating at scale, consider these strategies: Organizational Strategies:- Functional Separation: Different agents for support, sales, billing
- Regional Deployment: Agents optimized for specific regions/languages
- Load Distribution: Multiple identical agents to handle high call volumes
- A/B Testing: Parallel agents with different configurations
- Specialized Experts: Agents trained for specific product lines or services
additionalData field to store custom metadata:
- Filtering and searching agents
- Cost allocation and reporting
- Team ownership assignment
- Campaign performance tracking
Monitoring Agent Health
Continuous monitoring ensures agents perform optimally and meet business objectives.Key Metrics
Call Volume Metrics:- Calls Handled: Total calls processed (today, week, month)
- Success Rate: Percentage of completed vs failed calls
- Average Call Duration: Mean conversation length
- Queue Depth: Current number of calls waiting
- Response Latency: Time from user speech to agent response
- Completion Rate: Percentage of conversations reaching intended outcome
- Error Rate: Failed calls, timeouts, or system errors
- User Satisfaction: Post-call survey ratings (if configured)
Performance Indicators
Positive Indicators:- High completion rate (above 90%)
- Low error rate (under 5%)
- Consistent response latency (under 2 seconds)
- High user satisfaction (above 4/5 stars)
- Steady call volume without queue buildup
- Increasing error rates
- Rising average call duration (may indicate confusion)
- Low completion rates (users hanging up early)
- Queue depth growing faster than processing
- Inconsistent response times
Health Monitoring Best Practices
- Set Baselines: Establish normal performance ranges for your agents
- Monitor Trends: Watch for gradual degradation over time
- Alert on Anomalies: Configure alerts for sudden metric changes
- Review Transcripts: Regularly sample conversations for quality
- Iterate Configuration: Continuously refine prompts and settings
Next Steps
Now that you understand agent basics:- Configure Advanced Features: LLM Configuration for detailed model tuning
- Optimize Voice: Voice & Speech for TTS and voice selection
- Add Capabilities: Tools & Functions for external integrations
- Monitor Performance: Analytics for comprehensive insights