What AI Incident Copilot does
Failed cron jobs, undelivered emails and errors in the log stop being scattered symptoms. Repeats are grouped into one incident, secrets are removed, and an AI model proposes a root cause that you review.
Group Odoo errors, cron failures and mail delivery errors into incidents with AI-assisted root cause diagnosis.
- Cron failures
- Failed emails
- Error log
- Webhook
Features
Cron failures, live
Every failing scheduled action is captured the moment it fails, with its traceback, and counted in the 7-day cron success rate on the dashboard.
Failed emails
Outgoing emails that end in delivery failed are picked up on a schedule and grouped by reason, so one bad mail server is one incident, not hundreds.
Odoo error log
Reads the error records Odoo itself writes to its log table. Nothing is re-logged, nothing is patched into your code.
Webhook for outside tools
Monitoring tools, payment gateways or scripts can POST an error to a URL protected by an API key. Shown to managers on the dashboard, replaceable in one click.
One incident per problem
Volatile details such as record ids, line numbers and memory addresses are stripped before a fingerprint is computed, so repeats are counted instead of listed.
Secrets removed first
Passwords, tokens, API keys, bearer headers, connection-string credentials and private keys are masked before anything is stored or sent to an AI model.
AI diagnosis you review
Summary, likely cause, evidence, affected functionality, investigation steps, suggested fix and its risk. Each evidence line is checked against the captured data and flagged if it cannot be found.
Ask this incident
Ask a follow-up in plain words. The answer is based only on the incident data and every question and answer is kept for audit.
Dashboard and timeline
Open incidents by severity, resolved this week, cron success rate, and a timeline of every occurrence next to the chatter.
AI Connection Layer
One shared AI connection for all Viyug AI apps: provider, API key, request log and budget in one place.
How it works, step by step
01Dashboard
Open incidents by severity, incidents resolved in the last 7 days, the cron success rate and the webhook address for external tools.

02Incident list
Sorted by last occurrence. Severity, status, how often it happened, and the module and model the traceback points to. Repeats are one line.

03Incident detail
Fingerprint, first and last seen, and a business-context line with the number of records of the affected model touched in the last hour. Diagnosis, questions and timeline are one click away.

04AI diagnosis, always a proposal
Likely cause, evidence checked line by line against the captured data, investigation steps, suggested fix and its risk. A human accepts or rejects it; nothing is applied automatically.
05Timeline of occurrences
Every capture with its time and source: cron, mail, log or webhook.
06Ask this incident: history
Questions asked before, with the answers kept as an audit trail.
07Ask this incident: new question
Type a question in plain words. The answer only uses what was captured for this incident, and says so when the data does not contain it.
Included apps
Odoo installs these Viyug Infotech apps together with AI Incident Copilot.
Questions about AI Incident Copilot
What does it need to run?
The AI Connection Layer app (installed as a dependency) with your own OpenAI, Anthropic or Azure OpenAI key. Capture, grouping, redaction and the dashboard work without any AI key; diagnosis and questions need one.
Can the AI make things up?
It is instructed to cite only the data it is given, and each evidence line is compared with the captured traceback and message. Lines that cannot be found are labelled NOT FOUND IN DATA so the reviewer sees them. The result is always a proposal: nothing is changed in your system.
Are my passwords and tokens sent to the AI provider?
Secrets are masked before a traceback is saved, so neither the stored incident nor the AI request contains them. Masking is pattern based: it covers common formats such as password and token assignments, bearer headers, URLs with credentials, private keys and well-known token shapes. Review unusual custom formats before you enable it in production.
How are two errors decided to be the same?
The exception class and the traceback are normalised, removing numbers, quoted values, hex addresses and file line numbers, then hashed. The same failure on record 17 and record 983 is one incident with two occurrences.
What happens when a resolved incident comes back?
It is reopened automatically and a note is added to the chatter.
Who can see what?
Two groups: User can read incidents and use the AI features; Manager can also create and delete incidents and sees the webhook key. Incidents follow multi-company rules.
