AI Agents

XBuddy AI Agents are autonomous background workers that monitor your business data, detect anomalies, and take action — without waiting for a human to notice. From flagging overdue invoices to predicting stockouts, coaching sales reps on at-risk deals to detecting payroll anomalies, AI Agents work continuously across every module while your team focuses on decisions that require judgment.

XBuddy ships with 154 agents across 24 business domains. Each agent runs on a schedule or is triggered by events, produces a structured report, and can take configurable actions such as creating tasks, sending notifications, or updating records.

AI Agents require an active subscription with AI token quota. Go to Settings → Billing to check your usage. Each agent’s token cost is shown in the agent catalog.

📸

[Screenshot: AI Agents — Agent Catalog with Domain Filters]

Placeholder — will be replaced with actual screenshot

How AI Agents Work

Trigger Types

TriggerDescriptionExample
Scheduled (Cron)Runs on a fixed scheduleDaily at 9:00 AM — check overdue invoices
Event-drivenFires when a specific business event occursNew lead created → score and categorize
ManualRun on demand from the agent catalogRun a cash flow forecast before a board meeting
HybridRuns on schedule AND can be triggered manuallyWeekly digest, also run-on-demand

Agent Output Structure

Every agent run produces a structured report with:

  • Statuscompleted, partial, skipped, or failed
  • Summary — a plain-language description of what was found and done
  • Actions Taken — list of entities affected (e.g., tasks created, notifications sent, records updated)
  • Outputs — structured data for visualization (charts, tables, trend lines)
  • Tokens Used — AI token consumption for cost tracking

Running an Agent Manually

  1. Go to Automation → AI Agents
  2. Browse the catalog or filter by domain
  3. Click on an agent and then Run Now
  4. View the run report when complete — find it under Run History

Configuring an Agent

Most agents have configurable parameters:

  • Thresholds — e.g., invoice overdue threshold (days), score cutoff for lead qualification
  • Scope — e.g., which departments, warehouses, or product categories to monitor
  • Actions — toggle on/off: create task, send notification, update record
  • Recipients — who receives notifications from this agent

Go to Automation → AI Agents → [Agent] → Settings to configure.

Agent Catalog by Domain

Finance (20 agents)

AgentWhat It DoesSchedule
Invoice CollectorDetects overdue invoices; sends automated reminders to customersDaily 9 AM
Cash Flow ForecasterProjects 30/60/90-day cash position from AR/AP dataWeekly
Budget Variance AlertFlags departments exceeding budget by configurable thresholdDaily
Tax Compliance AuditorChecks VAT calculations and flags missing declarationsWeekly
Financial Close AssistantTracks month-end close tasks; nudges team on blockersDaily (close period)
Fixed Asset Depreciation MonitorAlerts on assets approaching full depreciationMonthly
Accounts Payable OptimizerIdentifies early payment discounts and payment prioritizationWeekly
Credit Risk ScorerScores customer creditworthiness based on payment historyWeekly
Revenue Leakage DetectorFinds uninvoiced completed orders and service gapsWeekly
FX Exposure MonitorAlerts on open foreign currency invoices with high FX riskDaily

Accounting (7 agents)

AgentWhat It DoesSchedule
Journal Entry ValidatorChecks for unbalanced, duplicate, or suspicious journal entriesDaily
Period Close Status AgentTracks reconciliation tasks; reports blocking itemsDaily (close period)
Recurring Journal MonitorVerifies recurring templates fired correctly each periodMonthly
VAT Filing AssistantAggregates VAT lines and prepares Form 01/GTGT dataMonthly
KPI Alert AgentFires when key financial KPIs cross configured thresholdsDaily
TT99 Compliance CheckerValidates accounting entries against Vietnamese VAS TT200 requirementsMonthly
Bank Reconciliation AssistantIdentifies unmatched bank transactions and suggests matchesDaily

CRM (8 agents)

AgentWhat It DoesSchedule
Lead ScorerScores new leads based on profile and engagement signalsEvent-driven
Deal CoachAnalyzes stalled deals and suggests next best actionsDaily
Contact Auto-LabelerClassifies contacts by industry, size, and engagement levelEvent-driven
Quote Followup AgentDetects quotes without response after configurable days; nudges sales repDaily
Customer Health MonitorTracks engagement signals and flags at-risk accountsWeekly
Upsell Opportunity DetectorIdentifies customers ready for upsell based on usage and lifecycle stageWeekly
Pricing OptimizerAnalyzes win/loss data and recommends price adjustmentsMonthly
Pipeline Health CheckerFlags pipeline stages with low conversion or stale dealsWeekly

Sales (9 agents)

AgentWhat It DoesSchedule
POS Daily ReconciliationReconciles POS sessions vs bank depositsDaily
POS Sales AnalystIdentifies top-selling items, slow movers, and promotion performanceDaily
POS Shrinkage DetectorFlags unusual voids, discounts, or refund patternsDaily
POS Peak Staffing AdvisorAnalyzes traffic patterns and recommends staffing for peak hoursWeekly
Sales Forecast MonitorCompares actual vs forecast and alerts on significant deviationsWeekly
Commission Anomaly DetectorFlags unusual commission calculations before payroll runMonthly
Win/Loss Pattern AnalyzerIdentifies why deals are lost and surfaces coaching opportunitiesMonthly
Quote Conversion TrackerTracks quote-to-order conversion rate by rep and productWeekly
Renewal Risk PredictorFlags expiring contracts at risk of non-renewalWeekly

Customer Success (7 agents)

AgentWhat It DoesSchedule
Churn Prevention AgentDetects early churn signals; triggers outreach playbookWeekly
Health Score Trend AgentTracks health score changes and alerts on significant dropsWeekly
NPS Followup AgentDetects low NPS scores and routes to CSM for follow-upEvent-driven
Expansion Signal DetectorIdentifies customers showing upsell readiness signalsWeekly
Onboarding Milestone TrackerTracks onboarding progress and nudges on overdue milestonesDaily
Lifecycle Transition AgentMoves customers through lifecycle stages based on activityWeekly
Contract Renewal Risk AgentCalculates renewal risk score 90 days before contract endWeekly

HR (11 agents)

AgentWhat It DoesSchedule
Recruitment ScreenerPre-screens applicants and ranks by job match criteriaEvent-driven
Retention Risk PredictorIdentifies employees at risk of leaving based on engagement signalsMonthly
Leave Pattern AnalystDetects unusual leave patterns that may indicate burnoutMonthly
Succession Planning AdvisorIdentifies high-potential employees for succession gapsQuarterly
Performance CoachSuggests coaching actions for underperforming team membersMonthly
Payroll Readiness CheckerVerifies all attendance, leave, and variable pay data before payroll runMonthly
Overtime Compliance MonitorFlags employees exceeding legal overtime limitsWeekly
Salary Band Drift MonitorIdentifies employees whose salary has drifted outside their grade bandQuarterly
Payroll Anomaly DetectorDetects unusual changes in payroll amounts vs previous periodMonthly
Learning Gap DetectorIdentifies skill gaps and recommends training for each employeeQuarterly
HR Policy Compliance AgentChecks HR processes for policy adherence (probation, annual review cycles)Monthly

Performance & OKR (7 agents)

AgentWhat It DoesSchedule
OKR Progress TrackerMonitors key result progress and alerts on at-risk objectivesWeekly
OKR Alignment ValidatorChecks that team OKRs align with company objectivesQuarterly
OKR Check-in NudgerReminds teams to submit OKR check-ins before deadlineWeekly
OKR Cycle SummarizerGenerates end-of-cycle achievement summary reportEnd of cycle
Review Completion MonitorTracks performance review completion rates by managerMonthly
Calibration Bias DetectorDetects rating bias patterns in performance review scoresQuarterly
IDP Milestone TrackerMonitors Individual Development Plan goal completionMonthly

Learning Management (2 agents)

AgentWhat It DoesSchedule
Training Completion MonitorTracks mandatory training completion and flags overdue employeesWeekly
Learning Effectiveness AgentAnalyzes course completion rates and assessment scoresMonthly

Inventory & Supply Chain (10 agents)

AgentWhat It DoesSchedule
Stockout Risk PredictorPredicts which SKUs will stock out in the next 14 daysDaily
Inventory Turnover AnalystIdentifies slow-moving and dead stock for clearance actionWeekly
Vendor Risk AssessorScores vendors by delivery performance and qualityMonthly
PO Cycle Time MonitorFlags purchase orders taking longer than the SLA to deliverDaily
RFQ Response AnalyzerCompares vendor quotes and recommends best value selectionEvent-driven
Goods Receipt ValidatorChecks GRN vs PO quantities and flags discrepanciesEvent-driven
Reorder Point OptimizerRecommends reorder point adjustments based on demand patternsMonthly
Supplier Scorecard AgentGenerates monthly supplier performance scorecardsMonthly
Demand Forecast AgentForecasts demand for the next 30/60/90 days by productWeekly
Three-Way Match ValidatorValidates PO → GRN → Invoice alignment before payment approvalEvent-driven

Manufacturing (7 agents)

AgentWhat It DoesSchedule
Work Order Delay MonitorFlags work orders at risk of missing due dateDaily
Material Shortage PredictorPredicts material shortages before production schedule impactDaily
Production Capacity PlannerAnalyzes work center utilization and identifies bottlenecksWeekly
Quality Defect AnalystIdentifies recurring defect patterns by product, line, or operatorWeekly
NCR Escalation AgentEscalates open NCRs that exceed resolution SLADaily
Inspection Pass Rate MonitorTracks inspection pass rates and alerts on declining trendsWeekly
BOM Variance DetectorIdentifies actual vs planned material consumption variancesWeekly

Field Service (11 agents)

AgentWhat It DoesSchedule
SLA Breach PredictorPredicts which field jobs are at risk of breaching SLADaily
Parts Availability AgentChecks parts inventory before technician dispatchEvent-driven
Contract Renewal PredictorIdentifies expiring service contracts at renewal riskWeekly
Technician Utilization OptimizerAnalyzes technician schedule gaps and recommends optimizationWeekly
Failure Code AnalyzerIdentifies recurring equipment failure patterns for preventive maintenanceMonthly
Smart Dispatch RecommenderRecommends optimal technician assignment based on skills and locationEvent-driven
Customer Satisfaction MonitorAnalyzes post-service feedback and flags low-rated techniciansWeekly
First-Time Fix Rate TrackerMonitors FTFR by technician and equipment typeWeekly
Service Revenue Leakage DetectorFinds uninvoiced completed service ordersWeekly
Preventive Maintenance SchedulerRecommends PM schedules based on failure historyMonthly
Parts Consumption AnalyzerTracks parts usage trends and predicts stockout for common partsMonthly

Quality (3 agents)

AgentWhat It DoesSchedule
NCR Escalation AgentEscalates unresolved NCRs past SLA to quality managerDaily
Inspection Pass Rate MonitorTracks quality inspection pass rates by product and lineWeekly
CAPA Completion TrackerMonitors corrective action deadlines and flags overdue itemsWeekly

Logistics (8 agents)

AgentWhat It DoesSchedule
Shipment Delay PredictorPredicts shipments at risk of late delivery based on carrier dataDaily
Delivery Exception HandlerAutomatically routes failed delivery exceptions to resolutionEvent-driven
Carrier Performance MonitorTracks on-time delivery rates by carrierWeekly
Return Rate AnalystIdentifies high-return products and root cause patternsWeekly
Route Optimization AgentRecommends optimal delivery routes for upcoming shipmentsDaily
Last-Mile TrackerMonitors last-mile delivery status and proactively notifies customersEvent-driven
Freight Cost AnalyzerCompares actual vs contracted freight rates and flags overchargesMonthly
Customs Compliance CheckerValidates shipment documentation for customs requirementsEvent-driven

Distribution (3 agents)

AgentWhat It DoesSchedule
Distribution Route OptimizerRecommends optimal van routes for daily distributionDaily
Van Sales ReconciliationReconciles van sales transactions vs returned goods vs cashDaily
Distributor Performance AgentScores distributors by volume, payment, and return rateMonthly

Projects & Tasks (4 agents)

AgentWhat It DoesSchedule
Project Risk MonitorIdentifies projects at risk based on schedule, budget, and resource signalsWeekly
Task Bottleneck DetectorFinds tasks blocking multiple downstream tasksDaily
Resource Utilization AgentFlags over-allocated and under-utilized team membersWeekly
Approval SLA EnforcerEscalates approval tasks that exceed configured SLA in project workflowsDaily

Analytics (3 agents)

AgentWhat It DoesSchedule
KPI Regression DetectorAlerts when any tracked KPI regresses more than the configured thresholdDaily
Report Delivery MonitorChecks that scheduled reports were delivered successfullyDaily
Data Freshness GuardianAlerts when key data sources haven’t been updated within expected intervalsDaily

Knowledge & Documents (4 agents)

AgentWhat It DoesSchedule
Stale Content DetectorFlags knowledge base articles not updated in 90+ daysMonthly
Search Gap AnalyzerIdentifies searches with no results — content gaps to fillWeekly
Knowledge Coverage AgentMaps documentation coverage against product featuresMonthly
Document Expiry MonitorAlerts on documents with upcoming expiry dates (contracts, certifications)Weekly

Marketing (5 agents)

AgentWhat It DoesSchedule
Campaign Performance AnalyzerTracks campaign ROI and flags underperforming campaignsWeekly
Lead Scorer (Marketing)Scores inbound leads from marketing campaignsEvent-driven
Content Performance TrackerAnalyzes content engagement and recommends high-performing topicsWeekly
Hot Lead Nurture AgentDetects leads showing high intent signals and routes to salesEvent-driven
Marketing Channel OptimizerCompares ROI by channel and recommends budget reallocationMonthly

F&B Vertical (3 agents)

AgentWhat It DoesSchedule
Food Cost MonitorTracks actual vs theoretical food cost by menu itemDaily
Kitchen Throughput AgentAnalyzes kitchen capacity vs order volume and flags bottlenecksDaily
Waste Reduction AgentIdentifies high-waste ingredients and recommends portion controlWeekly

General (1 agent)

AgentWhat It DoesSchedule
Weekly Business DigestGenerates a cross-domain executive summary of the past week’s performanceWeekly (Monday)

Master Orchestrator

The Master Orchestrator is XBuddy’s cross-domain intelligence layer. Rather than running individual agents in isolation, the Orchestrator coordinates 17 domain controllers simultaneously — Finance, Sales, HR, Operations, CRM, Supply Chain, Manufacturing, Logistics, OKR, Performance, Payroll, Knowledge, POS, Customer Success, Field Service, Approvals, and Analytics.

An Orchestrator run produces a unified executive summary with:

  • Domain-by-domain status and key findings
  • Cross-domain risk signals (e.g., sales pipeline drop + finance cash gap + HR attrition = company-level risk)
  • Recommended actions prioritized by impact

Run the Orchestrator from Automation → Orchestrations → Run Now, or schedule it weekly.

Subscription & Token Usage

AI Agents consume AI tokens each time they run. Token usage varies by agent complexity:

Agent TypeTypical Token Cost
Simple monitoring (no AI inference)0 tokens
Pattern detection with AI200–1,000 tokens
Forecasting and scoring500–3,000 tokens
Generative summaries1,000–5,000 tokens

Check your token quota and usage in Settings → Billing → AI Usage. Purchase additional AI Credit add-ons if needed.

FAQ

Q: Can I disable a specific agent?
A: Yes. Go to Automation → AI Agents → [Agent] → Settings and toggle it off. The agent will stop running on its schedule but can still be run manually.

Q: Will agents take action automatically without my approval?
A: By default, agents create tasks and send notifications but do not modify records without explicit configuration. You can enable “auto-action” for specific agents in Settings — for example, auto-updating a lead score or auto-sending a payment reminder.

Q: How do I see what an agent did?
A: Open the agent from the catalog and go to Run History. Each run shows the summary, actions taken (with links to affected entities), outputs, and token cost.

Q: Can I build a custom agent?
A: Custom agent development is available on Enterprise plans. Contact your account manager or the XBuddy team for details.

Q: What happens if an agent fails?
A: Failed runs are logged with an error reason. The agent retries on its next scheduled run. For critical agents, configure an alert notification to your admin team on failure.

Q: Do agents share data across tenants?
A: No. Every agent run is fully isolated to your workspace. Agent data never crosses tenant boundaries.