it235/office-ai-agent
30.6
Weak · 14 November 2026
85.8k
lines of production code
VB.NET
with JavaScript
7
measurements over time
What this system is
This system is a suite of AI-powered Microsoft Office add-ins for Excel, Word, and PowerPoint, built on a shared .NET/VSTO architecture. It enables users to automate document operations, generate data, and translate content through context-aware AI agents that execute via JSON commands or VBA. The platform emphasizes safety and control, featuring step-level user intervention, visual verification for slide designs, and snapshot-based rollback mechanisms to prevent data corruption.
Features
Introduce AI agent navigation docs, Apache 2.0 license, and clean up unused build artifacts
The repository now includes \AGENTS.md\ and \CLAUDE.md\ to guide AI agents on project structure, module boundaries, and VB.NET/VSTO pitfalls, alongside an English \README\_EN.md\ and an \Apache 2.0\ license file. The solution has been updated to version 2.8.0, and the unused \OfficeAgentSetupCustomActions\ project has been removed from the solution and \.gitignore\ to streamline the build.
(repo-wide) · high confidence
Introduce professional design pipeline with visual verification and safe rollback
The PowerPoint add-in now features a dedicated design system supporting four themes (modern-tech, executive-light, editorial-warm, executive-dark) with automatic contrast enforcement. Generated slides are rendered via a new Scene-based pipeline and validated by a visual verifier that checks for pixel flatness, low variation, and text/shape collisions. If verification fails, the system captures a temporary screenshot as evidence and performs a safe rollback of only the newly created slides, ensuring users are not left with corrupted presentations.
PowerPointAi · high confidence
Introduces AI Native Agent architecture with step-level user intervention and structured context
The ShareRibbon shared core now implements a unified AI Native Agent runtime, replacing previous loop controllers with a structured AgentKernel, LoopEngine, and Harness. This change introduces a ReAct-based execution model that generates execution plans and allows users to intervene at the step level—specifically retrying, skipping, or editing the code and description of individual steps—without disrupting the overall plan version. It also adds a three-tier memory system (working, short-term, and long-term) with automatic session message compression, and enforces structured context packing (ContextPack) to provide the agent with bounded, budget-aware document and selection data. Additionally, the diff establishes a safety and approval framework for high-risk tool calls and defines clear ownership boundaries to prevent host-specific COM logic from leaking into the shared library.
ShareRibbon · high confidence
New Excel AI add-in with batch data generation and direct Excel operations
Introduces a new Excel-specific AI add-in that provides AI-driven data analysis and automation. Users can now generate test or sample data in bulk by defining fields and row counts via a dedicated UI, with the service leveraging existing AI platform configurations. The add-in also enables direct Excel operations (such as writing data, applying formulas, formatting, and creating charts) through JSON commands without requiring VBA, and includes a preview-and-confirm mechanism for VBA execution to ensure safety. Context awareness is added via an Excel context provider that analyzes selected ranges and workbook structure to inform AI interactions.
ExcelAi · high confidence
New Word-specific AI add-in with context-aware selection toolbar and translation
Introduces the WordAi add-in, providing AI-driven document processing within Microsoft Word. Key capabilities include a non-intrusive selection toolbar that appears when text is selected, offering quick AI actions without stealing focus. The add-in supports immersive translation of Word documents, preserving formatting and table structures. It also features a context provider that gathers document structure, headings, and selection details to enhance AI interactions. Additionally, it integrates with Deepseek and Doubao chat interfaces for web-based AI assistance.
WordAi · high confidence
New context menu and selection toolbar entry points with snapshot-based undo for Excel, Word, and PowerPoint
Users can now trigger AI actions directly from host-specific entry points: a right-click context menu in Excel (cell ranges), Word (text selection), and PowerPoint (shapes/text/slides), plus a floating action toolbar that appears below selected text in Word. These entries gate actions on valid selections and route them through the standard agent chain. Additionally, Excel and PowerPoint now support a "Undo this run" capability that restores document state using pre-execution snapshots (cell values/formats for Excel, slide text/notes for PowerPoint), providing a safe rollback mechanism where native undo is insufficient. Also in this area: Fixes for Agent write outcomes, preview cancellation, and script safety; Improved VBA execution stability and API call reliability; Refactored AI request handling and introduced Word capability registry.
build · high confidence
New golden-run validation and UI contract check scripts
Added scripts/Compare-GoldenRuns.ps1 to validate and compare golden-set run records (E11), scripts/check-agent-card-ui.js to assert agent-card.js trust and UI contracts (E1-08), scripts/check-history-grouping-ui.js to verify history-manager.js grouping and empty-state behavior (E2-05), and scripts/check-task-package-contract.ps1 to enforce task package reference integrity (E6-03). These scripts provide automated, deterministic checks for golden-run schemas, UI surface contracts, and package catalog references, ensuring that changes to these areas are caught early in the build process. Also in this area: New agent trust surfaces, change logging, and onboarding flow; Fixes for Agent write outcomes, preview cancellation, and script safety; New professional slide design system and visual verification pipeline; AI agent execution now includes safety gating, run tracing, and tool visibility controls; Refactored AI request handling and introduced Word capability registry.
scripts · high confidence
Behavioural changes
Updated OfficeAgent installer project configuration
The OfficeAgent installation project file has been updated to reflect changes in the underlying MSI merge modules and component references. This ensures the installer correctly maps the necessary dependencies and file associations for the application.
OfficeAgent · medium confidence
Dependencies
Dependency and build configuration updates for Office add-ins
This change updates the NuGet dependencies and build configurations for the Excel, PowerPoint, Word, and shared ribbon add-in projects. Key package updates include System.Data.SQLite (2.0.2), Markdig (0.41.1), and various System.\* libraries (e.g., System.Text.Json 8.0.5, System.Memory 4.6.3). The build process now explicitly manages unsigned third-party assemblies (like Markdig) to avoid VSTO manifest signing errors, and adds references to SQLite native libraries for runtime availability.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 30 → 31 (+0.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 16 → 15 (-1.6)
- Architecture 92 → 92 (-0.6)
- Maturity 55 → 62 (+6.9)
- Readiness 15 → 15 (+0.0)
- Security 87 → 86 (-0.2)
Resolved (7)
- Duplicated block (32 lines × 2) (ShareRibbon/Config/PromptManager.vb)
- Duplicated block (9 lines × 2) (PowerPointAi/Design/PowerPointVisualVerifier.Rendered.vb)
- Hotspot: ShareRibbon/Agent/AgentKernel.vb (ShareRibbon/Agent/AgentKernel.vb)
- No tests found
- Off-boarding risk: anonymized user #1
- Projects may be oversized for their cohesion
- check-entry-reachability.readVbArguments (cognitive 22) (scripts/check-entry-reachability.js)
New (134)
- Edited copies of one member (3 members, 10+ corresponding lines) (ExcelAi/DoubaoChat.vb)
- Edited copies of one member (3 members, 10+ corresponding lines) (ExcelAi/HostEntry/ExcelContextMenu.vb)
- Edited copies of one member (3 members, 10+ corresponding lines) (ExcelAi/ThisAddIn.vb)
- Edited copies of one member (3 members, 10+ corresponding lines) (ShareRibbon/Config/ConfigPromptForm.vb)
- Edited copies of one member (3 members, 11+ corresponding lines) (ExcelAi/ChatControl.vb)
- Edited copies of one member (3 members, 11+ corresponding lines) (ExcelAi/ThisAddIn.vb)
- Edited copies of one member (3 members, 11+ corresponding lines) (ShareRibbon/Config/PromptManager.vb)
- Edited copies of one member (3 members, 13+ corresponding lines) (ExcelAi/DoubaoChat.vb)
- Edited copies of one member (3 members, 13+ corresponding lines) (ExcelAi/ExcelJsonCommandSchema.vb)
- Edited copies of one member (3 members, 14+ corresponding lines) (ExcelAi/ThisAddIn.vb)
- Edited copies of one member (3 members, 15+ corresponding lines) (PowerPointAi/Ribbon1.vb)
- Edited copies of one member (3 members, 16+ corresponding lines) (PowerPointAi/Design/PowerPointVisualVerifier.Rendered.vb)
- Edited copies of one member (3 members, 18+ corresponding lines) (ShareRibbon/Services/Reformat/FormattingStandardRegistry.vb)
- Edited copies of one member (3 members, 2+ corresponding lines) (ShareRibbon/Services/Ai/AiGateway.vb)
- Edited copies of one member (3 members, 20+ corresponding lines) (ShareRibbon/Controls/Services/ExecutionPlanRenderer.vb)
- Edited copies of one member (3 members, 23+ corresponding lines) (ShareRibbon/Controls/Services/IntentRecognitionService.vb)
- Edited copies of one member (3 members, 26+ corresponding lines) (ExcelAi/ExcelDirectOperationService.vb)
- Edited copies of one member (3 members, 3+ corresponding lines) (ShareRibbon/Agent/PromptProfileService.vb)
- Edited copies of one member (3 members, 4+ corresponding lines) (ExcelAi/ChatControl.vb)
- Edited copies of one member (3 members, 6+ corresponding lines) (ExcelAi/ChatControl.vb)
- …and 114 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
it235/office-ai-agent was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit a5be0ab7e60d36b9e65a681d6252c0d2d708ab4b — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.