Agent Analytics
Usage stats, performance metrics, cost tracking
Agent Analytics
Track your AI agents' performance, understand usage patterns, and optimize costs with comprehensive analytics. Monitor success rates, response times, and team productivity gains from automation.
Understanding Agent Analytics
Why Monitor Agent Performance?
Agent analytics help you:
- Measure ROI - Quantify time and cost savings from automation
- Identify Issues - Spot failing agents or poor performance
- Optimize Configuration - Data-driven decisions for better results
- Track Costs - Monitor API usage and associated expenses
- Improve Over Time - Continuous improvement based on metrics
Analytics Dashboard Overview
Access agent analytics from:
- Navigate to AI Agents in the sidebar
- Select an agent
- Click the Analytics tab
Key metrics displayed:
- Total actions performed
- Success rate percentage
- Average response time
- Cost per action
- Most common operations
- Usage trends over time
Core Metrics
Action Success Rate
Percentage of agent actions that completed successfully.
Calculation: (Successful actions / Total actions) × 100
Good success rates:
- 95-100%: Excellent - Agent is well-configured
- 85-94%: Good - Minor issues or edge cases
- 70-84%: Fair - Needs optimization
- Below 70%: Poor - Requires immediate attention
View details:
- Click on success rate metric
- See breakdown by action type
- Filter by date range
- Export detailed logs
Response Time
Average time from agent trigger to action completion.
Typical response times:
- Simple tasks (labeling): 1-3 seconds
- Task creation: 2-5 seconds
- Complex analysis: 5-15 seconds
- Knowledge base queries: 3-10 seconds
Factors affecting speed:
- AI model selected (GPT-4 slower than GPT-3.5)
- Knowledge base size
- Complexity of instructions
- API response times
Improving response time:
- Use faster models for simple tasks
- Reduce knowledge base size
- Simplify agent instructions
- Upgrade to Pro for better performance
Actions Per Day
Total number of actions your agent performs daily.
Use this metric to:
- Track adoption and usage
- Identify usage spikes or drops
- Plan capacity and costs
- Validate automation value
Compare periods:
- View daily, weekly, or monthly trends
- Compare to previous periods
- Identify seasonal patterns
- Measure growth over time
Cost Per Action
Average cost in API credits per agent action.
Cost factors:
- AI model selected (premium models cost more)
- Knowledge base retrieval
- Response length
- Number of retries
Optimize costs:
- Use appropriate model for task complexity
- Reduce unnecessary knowledge base queries
- Set concise response length requirements
- Fix errors to reduce retry costs
Performance Analytics
Action Type Breakdown
See which actions your agent performs most:
Common action types:
- Task creation
- Task updates
- Label assignment
- Priority setting
- Team member assignment
- Comment posting
- Status changes
View breakdown:
- Navigate to Analytics → Actions
- See pie chart of action distribution
- Click any action type for details
- Filter by date range or project
Use insights to:
- Identify primary use cases
- Validate agent purpose alignment
- Discover unexpected usage patterns
- Optimize for most common actions
Success vs. Failure Analysis
Understand why agent actions fail:
Common failure reasons:
- Invalid data (missing required fields)
- Permission issues (insufficient access)
- Rate limits exceeded
- External API errors
- Knowledge base queries timeout
- Malformed agent responses
Analyze failures:
- Click Failed Actions in analytics
- Review error messages and details
- Identify patterns in failures
- Export failure logs for deeper analysis
Address failures:
- Fix permission issues
- Add data validation to instructions
- Improve knowledge base organization
- Adjust rate limits
- Refine agent instructions
Time-Based Performance
Track performance trends over time:
Available views:
- Last 24 hours (hourly breakdown)
- Last 7 days (daily breakdown)
- Last 30 days (daily breakdown)
- Last 90 days (weekly breakdown)
- Custom date range
Identify patterns:
- Peak usage times
- Performance degradation
- Sudden failure spikes
- Usage growth or decline
- Seasonal variations
Example insights:
- "Agent fails more often on Monday mornings" → might need better error handling for weekend data
- "Response time increases at month-end" → likely processing more complex tasks
- "Success rate dropped after recent update" → configuration issue to investigate
Usage Statistics
Total Actions Over Time
Track cumulative agent actions:
Visualizations:
- Line graph showing total actions
- Stacked area chart by action type
- Bar chart comparing periods
- Cumulative sum over time
Compare agents:
- View all agents on one chart
- Identify most-used agents
- Compare efficiency between agents
- Benchmark performance
Active vs. Idle Time
See when your agent is working:
Metrics:
- Active hours per day
- Peak usage times
- Idle periods
- Usage consistency
Use cases:
- High idle time: Consider expanding agent responsibilities
- Consistent usage: Agent solving real problems
- Peak times identified: Optimize infrastructure for those periods
- Sporadic usage: May not be well understood or trusted by team
User Engagement
Track which team members use or benefit from the agent:
Metrics available:
- Number of users triggering agent
- Tasks created/updated per user
- User satisfaction ratings
- Adoption rate over time
Improve engagement:
- Share success stories with team
- Provide training on agent capabilities
- Gather feedback from low-engagement users
- Adjust agent behavior based on needs
Cost Tracking
Total Cost Overview
Monitor cumulative spending on agent operations:
Cost components:
- AI model API calls
- Knowledge base processing
- Storage for agent data
- Integration API calls
View by:
- Per agent
- Per time period
- Per action type
- Per project
Cost Trends
Understand spending patterns:
Daily cost tracking:
- Graph showing daily costs
- Compare to previous periods
- Identify cost spikes
- Project future costs
Budget alerts:
- Set monthly budget for agent
- Receive notifications at 50%, 75%, 90% of budget
- Agent pauses automatically at 100% (optional)
- Review and adjust budget as needed
Cost Optimization Insights
Automated recommendations to reduce costs:
Common suggestions:
- "Switch to GPT-3.5 for simple categorization (60% cost reduction)"
- "Reduce knowledge base queries by caching common information"
- "Remove unused agent that cost $15 last month"
- "Batch operations to reduce API calls"
Implement recommendations:
- Review suggestion details
- Estimate impact on performance
- Apply change
- Monitor results
- Roll back if needed
Cost per Productivity Gain
Calculate ROI of your agents:
Formula: Time saved by agent × Hourly rate / Agent cost
Example calculation:
- Agent processes 100 emails/day
- Each email took 2 minutes manually = 200 minutes saved
- Team member hourly rate: $50
- Daily value: (200/60) × $50 = $167
- Agent daily cost: $5
- ROI: ($167 / $5) = 3,340% or 33x return
Track ROI:
- Navigate to Analytics → ROI Calculator
- Input time saved per action
- Set team member hourly rate
- View calculated ROI
- Export report for stakeholders
Advanced Analytics
Conversion Funnels
Track agent performance through multi-step workflows:
Example funnel:
- Email received → 100%
- Email processed → 95%
- Task created → 90%
- Task assigned → 85%
- Task completed → 70%
Identify drop-offs:
- Where does the process fail most?
- Which steps need optimization?
- Are agents passing appropriate tasks forward?
A/B Testing Agents
Compare two agent configurations:
Setup A/B test:
- Create two versions of an agent
- Split traffic 50/50
- Run for defined period (1-2 weeks)
- Compare performance metrics
- Deploy winning configuration
Test scenarios:
- Different AI models (GPT-4 vs Claude 3)
- Temperature settings (0.3 vs 0.7)
- Instruction variations
- Different knowledge bases
Metrics to compare:
- Success rate
- Response time
- Cost per action
- User satisfaction
- Quality of outputs
Custom Reports
Create tailored analytics reports:
Build custom reports:
- Navigate to Analytics → Custom Reports
- Select metrics to include
- Choose date range
- Add filters (project, user, action type)
- Save report template
- Schedule automated delivery
Report types:
- Executive summary (high-level metrics)
- Technical deep-dive (detailed logs and errors)
- Cost analysis (spending breakdown)
- ROI report (productivity gains)
- Compliance report (audit trail)
Data Export
Export analytics data for external analysis:
Export formats:
- CSV (spreadsheet analysis)
- JSON (programmatic access)
- PDF (sharing with stakeholders)
- Excel (advanced analysis with charts)
Export process:
- Select date range
- Choose metrics to export
- Select format
- Click Export
- Download file
API access:
# Get agent analytics via API
curl https://api.verk.com/v1/agents/{agent_id}/analytics \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"start_date": "2024-01-01",
"end_date": "2024-01-31",
"metrics": ["success_rate", "response_time", "cost"]
}'
Team-Wide Analytics
Organization-Level Metrics
View analytics across all agents:
Aggregate metrics:
- Total actions across all agents
- Combined cost savings
- Overall success rates
- Most effective agents
- Adoption by team members
Compare agents:
- Side-by-side performance comparison
- Benchmark against organization average
- Identify top performers
- Find underutilized agents
Agent vs. Human Work
Understand the balance between automated and manual work:
Metrics tracked:
- Tasks created by agents vs. humans
- Tasks updated by agents vs. humans
- Time saved through automation
- Work patterns and trends
Visualizations:
- Stacked bar chart (agent vs human work)
- Trend lines over time
- Percentage automation by project
- Team member workload distribution
Use insights to:
- Identify opportunities for more automation
- Validate agent value to stakeholders
- Balance automation with human oversight
- Plan future automation initiatives
Team Productivity Impact
Measure how agents affect team performance:
Key indicators:
- Task completion velocity
- Time to task completion
- Workload distribution
- Team satisfaction scores
Before vs. After analysis:
- Baseline metrics before agent deployment
- Current metrics with agent active
- Calculate improvement percentage
- Project long-term impact
Alerts and Notifications
Performance Alerts
Get notified when agent performance changes:
Alert triggers:
- Success rate drops below threshold (e.g., 85%)
- Response time exceeds limit (e.g., 30 seconds)
- Error rate spikes above normal
- Agent stops working entirely
- Unusual usage patterns detected
Configure alerts:
- Agent settings → Alerts
- Choose metrics to monitor
- Set threshold values
- Select notification channels (email, Slack)
- Enable/disable alerts
Cost Alerts
Monitor spending and prevent budget overruns:
Budget notifications:
- Daily spending limit
- Monthly budget threshold
- Cost per action limit
- Unusual cost spikes
Auto-pause options:
- Pause agent at budget limit
- Require approval to continue
- Switch to cheaper model automatically
- Notify admin for decision
Anomaly Detection
Automatic detection of unusual patterns:
Anomalies flagged:
- Sudden success rate drop
- Unexpected action type
- Unusual usage time
- Cost spike
- Performance degradation
Anomaly notifications:
- Email digest of anomalies
- Real-time Slack alerts
- In-app notification badge
- Weekly summary report
Best Practices
Monitor Regularly
Establish a monitoring routine:
Daily:
- Check critical agent status
- Review any failure alerts
- Verify cost tracking
Weekly:
- Review success rates and trends
- Analyze top actions performed
- Check cost vs. budget
- Review user feedback
Monthly:
- Comprehensive performance review
- ROI calculation and reporting
- Identify optimization opportunities
- Plan improvements for next month
Set Meaningful Baselines
Establish benchmarks for comparison:
Initial baselines:
- First week metrics
- Expected performance ranges
- Acceptable cost parameters
- Success rate targets
Update baselines:
- Quarterly based on improvements
- After significant configuration changes
- As usage patterns evolve
- When expanding agent responsibilities
Act on Insights
Don't just collect data—use it:
Action plan:
- Review weekly metrics
- Identify 1-2 areas for improvement
- Implement changes
- Monitor impact for 1-2 weeks
- Iterate based on results
Common optimizations:
- Adjust agent instructions
- Change AI model
- Update knowledge base
- Modify tool permissions
- Refine trigger conditions
Share Results
Communicate agent value to stakeholders:
Monthly reports:
- Executive summary (1 page)
- Key metrics and trends
- Cost savings calculation
- Success stories
- Plans for next month
Quarterly reviews:
- Comprehensive performance analysis
- ROI across all agents
- Team feedback summary
- Strategic recommendations
- Budget requests for expansion
Continuous Improvement
Use analytics for ongoing optimization:
Improvement cycle:
- Measure: Track current performance
- Analyze: Identify improvement opportunities
- Hypothesize: Predict impact of changes
- Test: Implement changes carefully
- Validate: Measure results
- Iterate: Continue refining
Track improvements over time:
- Document what changes were made
- Record before/after metrics
- Calculate impact of each change
- Share learnings with team
Troubleshooting Analytics
Missing or Incomplete Data
Common causes:
- Analytics not enabled (check settings)
- Date range selected has no activity
- Agent recently created (limited history)
- Data retention period exceeded
Solutions:
- Verify analytics are enabled in agent settings
- Expand date range to include activity
- Wait for more data to accumulate
- Check organization data retention policy
Inaccurate Metrics
Common causes:
- Time zone mismatch
- Caching delays (up to 15 minutes)
- Filtered view applied
- Partial data export
Solutions:
- Check time zone settings in profile
- Refresh page to update cached data
- Clear all filters and reapply
- Export full dataset for verification
Performance Dashboard Loading Slowly
Common causes:
- Large date range selected
- Too many agents displayed
- Complex custom report
- Browser cache issues
Solutions:
- Reduce date range to recent period
- View agents individually
- Simplify custom report
- Clear browser cache
- Use data export for heavy analysis
Related Documentation
- Agent Configuration - Optimize agent setup
- Creating AI Agents - Get started with agents
- Team Performance Analytics - Broader team metrics
- Custom Reports - Advanced reporting
Questions about agent analytics? Check our FAQ or contact support.