Submission type
UiPath for Coding Agents
Name
Nithin BR
Industry category in which use case would best fit in (Select up to 2 industries)
Information technology and services
Complexity level
Advanced
Summary (abstract)
SpectreAI is an autonomous RPA support system that turns a Slack message into a code fix — no tickets, no manual triage. When an engineer reports a bot failure in Slack, SpectreAI pulls Orchestrator logs, diagnoses the root cause using GPT-4.1 mini, patches the XAML, and opens a Draft PR on GitHub — in under two minutes. Built on UiPath Maestro, Coded Agents, and Context Grounding.
Detailed problem statement
RPA bot failures typically require an engineer to manually triage Orchestrator logs, identify the root cause, locate the relevant code, apply a fix, and raise a PR for review. This cycle can take hours to days, especially for teams managing dozens of bots. Each failure creates an interruption, and the knowledge from resolving it is rarely captured for future use — meaning the same issues get diagnosed from scratch every time.
Detailed solution
Detailed solution
SpectreAI introduces a three-agent pipeline orchestrated by UiPath Maestro:
Slack intake — engineer submits a failure report (transaction ID, process name, description) via a Slack form
Maestro classifies the request as a bug or enhancement and routes accordingly
Investigation Agent (Python Coded Agent) retrieves robot logs from Orchestrator using a 3-layer fallback strategy: queue reference lookup → log message search → parallel SpecificContent scan. It cross-references SpectreKB (a UiPath Context Grounding index of past incidents) and sends logs + KB results to GPT-4.1 mini for a confidence-scored root cause diagnosis
Coding Agent (Python Coded Agent) locates the GitHub repo by process number, fetches the full XAML listing via the Git Tree API (no cloning), makes two LLM calls to identify candidate files and produce a surgical patch, XML-validates the replacement, commits via the GitHub Contents API, and opens a Draft PR with labels and the last committer auto-assigned
SpectreKB learns from every run — both agents upload their outcome and trigger re-ingestion automatically
If confidence is Low, Maestro creates a human review task in Action Center instead of pushing code. Enhancement requests skip investigation and go straight to a Jira ticket.
Narrated video link (sample: https://bit.ly/4pvuNEL)
Expected impact of this automation
Mean time to resolution reduced from hours/days to under 2 minutes for diagnosable failures
RPA engineers spend minutes reviewing a ready PR instead of hours diagnosing from scratch
SpectreKB accumulates institutional knowledge across every resolved incident — diagnosis accuracy improves over time
No silent failures — every case produces either a Draft PR or an Action Center task with full context
UiPath products used (select up to 4 items)
UiPath Action Center
UiPath Coded Agents
UiPath Integration Service
UiPath Maestro
UiPath Orchestrator
UiPath Studio
Automation Applications
Slack, GitHub, Jira
Integration with external technologies
GitHub REST API, GPT-4.1 mini (via UiPath LLM Gateway), Slack, Jira
TO-BE workflow/architecture diagram (file size up to 4 MB)
Other resources
Submission deck - SpectreAI.pptx - Google Slides
GitHub - UipathAgentHackNithin/SpectreAI-Maestro · GitHub
GitHub - UipathAgentHackNithin/SpectreInvestigationAgent: SpectreAI - Intelligent RPA bot investigation agent · GitHub)
GitHub - UipathAgentHackNithin/SpectreCodingAgent: SpectreAI - Autonomous RPA bot code fix agent · GitHub
GitHub - UipathAgentHackNithin/InvoiceProcessing-Performer: Invoice Processing RPA bot - UiPath REFramework · GitHub
