Agix ships three analytics services that operate directly on your spreadsheet columns:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/manusapis/Agix/llms.txt
Use this file to discover all available pages before exploring further.
forecastService projects future values from historical date-indexed data, anomalyService flags rows that fall outside expected statistical bounds, and sentimentService scores text entries and tracks satisfaction trends over time. All three can be combined with the scheduler to run automatically on a recurring basis.
Forecasting
forecastService lives at src/services/analytics/forecast.service.ts and exposes three methods for time-series work.
predict(request)
Generates a forward projection for a numeric column indexed by dates.
decompose(dates, values)
Breaks a time series into its structural components for inspection or charting.
findInfluentialPoints(dates, values)
Returns the historical data points that most heavily shaped the forecast model.
Anomaly Detection
anomalyService lives at src/services/analytics/anomaly.service.ts. It accepts a numeric column and a detection method, then returns every row that falls outside expected bounds.
detect(columnValues, columnName, method)
Detection algorithm to use. Defaults to
"zscore" if omitted.- Z-Score
- IQR
- Isolation Forest
Computes the mean and standard deviation of the column, then flags any row where the absolute z-score exceeds 2.5.Best for normally distributed data where you want to catch values more than 2.5 standard deviations from the centre.
Result type
Sentiment Analysis
sentimentService lives at src/services/analytics/sentiment.service.ts. It scores every text entry in a column and optionally tracks how sentiment shifts across multiple analysis runs.
analyze(columnValues, columnName)
Scores each row as "positive", "negative", or "neutral", and returns an overall column score.
- Customer feedback or NPS comment columns
- Product reviews imported from a web source
- Support ticket subject lines or descriptions
- Employee survey free-text responses
trackTrend(columnName, history)
Compares the last three SentimentResult snapshots in history and classifies the direction of change.
history array. If the most recent overallScore is more than 0.1 higher than the oldest of the three, the trend is "improving". If it drops more than 0.1, it is "declining". Otherwise it is "stable".
Example:
All three analytics services integrate with the scheduler. You can register a daily
refresh-analysis task to re-run forecasts, anomaly checks, or sentiment scans automatically as new data lands in your sheet. See the Scheduler page for a step-by-step example.