Skip to content
CAI
Software that uses CAICheck a score

it235/office-ai-agent

33.6

Weak · 28 September 2026

78.1k

lines of production code

VB.NET

with JavaScript

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Introduce AI-First architecture and agent navigation documentation

The repository now includes \CLAUDE.md\ and \AGENTS.md\ to define the AI-native architecture and provide a navigation map for AI agents to locate relevant code and rules. The \README\ files (both English and Chinese) have been updated to reflect the AI-First architecture, including the Agent Loop, Harness, and MCP integration. Additionally, a Python script \\_gen\_tools.py\ is added to generate tool definitions for Excel and Word operations, and build scripts are introduced to streamline the build process for code and installer projects.

(repo-wide) · high confidence

Introduce Excel AI add-in with batch data generation, direct Excel operations, and AI chat interfaces

The ExcelAi module is introduced, providing AI-driven data analysis and automation capabilities for Excel. Users can now generate batch test data via a new form and service, execute direct Excel operations (write data, formulas, formatting, charts, etc.) via JSON commands without VBA, and interact with AI models (Deepseek, Doubao) through dedicated chat controls. The add-in also includes an Excel context provider for range and sheet analysis, and exposes COM interfaces for external automation.

ExcelAi · high confidence

Introduce WordAi: AI-driven document processing and text manipulation for Word

A new Word-specific add-in has been added, providing AI-powered capabilities including document proofreading, text formatting, and translation. The add-in integrates with the existing ShareRibbon framework and includes components for chat interfaces, content location, and intent compilation for proofreading and formatting tasks.

WordAi · high confidence

Introduces a shared AI-native agent architecture for Excel, Word, and PowerPoint plugins

The ShareRibbon area now contains a new shared core library that unifies the AI agent runtime, agent kernel, memory, and safety gatekeeping across all Office hosts. Users benefit from a consistent, cross-application AI experience: the plugin can now plan, execute, and observe AI-driven tasks (such as formatting, proofreading, and content generation) using a unified agent loop, context builder, and tool registry. This architecture enables features like multi-step agent execution, structured memory (working, short-term, and long-term), and safety checks for code and Office operations, all while keeping host-specific COM logic separate.

ShareRibbon · high confidence

PowerPoint AI add-in: new architecture for professional slide generation and visual verification

The PowerPointAi project introduces a complete AI-native pipeline for generating and validating PowerPoint slides. A new \AGENTS.md\ documentation outlines the structure, enforcing that the \ProfessionalDeckExecutor\ handles transactional slide creation, the \PowerPointSceneRenderer\ manages COM-based rendering on the UI thread, and the \PowerPointVisualVerifier\ performs post-render checks for text overlap, visual contrast, and pixel-level anomalies. Context is provided by \PowerPointContextProvider\, which safely extracts active slide and selection state, while \DeepseekControl\ integrates a web-based chat interface for user interaction. Regression test fixtures are added to ensure the new design system and rendering logic remain stable.

PowerPointAi · high confidence

Behavioural changes

Added automated guardrails and smoke tests for the AI agent architecture

New PowerShell scripts enforce code quality and architectural constraints for the Office AI agent. The \audit-p0-guardrails.ps1\ script prevents the introduction of oversized VB files, ensures the 'Ralph' UI is not loaded as a product entrypoint, and requires explicit review for \Task.Run\ usage in projects with Office interop. Additional smoke tests (\smoke-\*\) validate the memory pipeline, skills registry, database schema consistency, and AI gateway provider behavior, while \run-golden-l0.ps1\ verifies contract and tool execution logic. These changes introduce automated checks to ensure the AI native agent runtime and shared chat memory architecture remain stable and compliant with design rules.

scripts · high confidence

Added release-hardening and version-audit build scripts

New PowerShell scripts were added to the build system to enforce release quality: AuditVersion.ps1 checks that Assembly, File, and Product versions match the source of truth; AuditInstallerRelease.ps1 and AuditInstallerInputs.ps1 validate the installer project for debug artifacts and missing files; CleanInstallerDebugSymbols.ps1 strips debug symbols from the installer; SignArtifacts.ps1 and VerifySignatures.ps1 handle code-signing and verification; RunReleaseChecks.ps1 orchestrates these checks, MSBuild, and smoke tests. This ensures consistent versioning, clean release builds, and signed artifacts.

build · high confidence

Updated OfficeAgent deployment project file with new component mappings

The OfficeAgent.vdproj file was updated to reflect changes in the deployment project structure, including updated MsmKey and OwnerKey values for various components. This change likely corresponds to internal refactoring or reorganization of the agent's deployment configuration, ensuring that the correct components are mapped during installation or deployment.

OfficeAgent · medium confidence

Dependencies

Updated dependencies and build configuration for Office add-ins

The build configuration for the Excel, PowerPoint, and Word add-in projects has been updated to include new and upgraded NuGet packages. Key additions include SQLitePCLRaw.lib.e\sqlite3 for local database support, Markdig for Markdown processing, and various System.\ packages (e.g., System.Text.Json, System.Memory) to support modern .NET features. The projects now reference a shared 'ShareRibbon' project and include specific build targets to handle unsigned third-party assemblies (like Markdig) in VSTO manifest generation. Additionally, the projects have been updated to version 2.8.0.0, and compiler warnings (CS42358, CS42356) have been suppressed.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 34 → 34 (+0.0)
  • Rubric changed (rubric-2026.08.15 → rubric-2026.09.16) — scores are not directly comparable.

Lenses

  • Code Health 30 → 21 (-8.4)
  • Architecture 92 → 92 (+0.1)
  • Maturity 57 → 56 (-0.8)
  • Readiness 13 → 20 (+6.6)
  • Security 100 → 86 (-13.6)

Resolved (187)

  • (anonymous) (cognitive 21) (ShareRibbon/Resources/js/reformat-template.js)
  • (anonymous) (cognitive 22) (ShareRibbon/Resources/js/message-sender.js)
  • (anonymous) (cyclomatic 20) (ShareRibbon/Resources/js/message-sender.js)
  • Boundary-crossing change coupling: BaseChatControl.vb ↔ ChatControl.vb (ShareRibbon/Controls/BaseChatControl.vb)
  • Boundary-crossing change coupling: ChatControl.vb ↔ BaseChatControl.vb (ExcelAi/ChatControl.vb)
  • Boundary-crossing change coupling: Ribbon1.vb ↔ BaseOfficeRibbon.vb (ExcelAi/Ribbon1.vb)
  • Boundary-crossing change coupling: Ribbon1.vb ↔ BaseOfficeRibbon.vb (PowerPointAi/Ribbon1.vb)
  • Boundary-crossing change coupling: Ribbon1.vb ↔ Ribbon1.vb (ExcelAi/Ribbon1.vb)
  • Boundary-crossing change coupling: Ribbon1.vb ↔ Ribbon1.vb (ExcelAi/Ribbon1.vb)
  • Boundary-crossing change coupling: Ribbon1.vb ↔ Ribbon1.vb (PowerPointAi/Ribbon1.vb)
  • Boundary-crossing change coupling: ThisAddIn.vb ↔ ThisAddIn.vb (ExcelAi/ThisAddIn.vb)
  • Boundary-crossing change coupling: ThisAddIn.vb ↔ ThisAddIn.vb (ExcelAi/ThisAddIn.vb)
  • Boundary-crossing change coupling: ThisAddIn.vb ↔ ThisAddIn.vb (PowerPointAi/ThisAddIn.vb)
  • Build did not complete in the analyzer
  • ClassTooLong: StreamJsonRpcMCPClient (ShareRibbon/Mcp/StreamJsonRpcMCPClient.vb)
  • Duplicated block (10 lines × 2) (ExcelAi/ExcelDirectOperationService.vb)
  • Duplicated block (10 lines × 2) (PowerPointAi/ChatControl.vb)
  • Duplicated block (10 lines × 2) (ShareRibbon/Agent/PromptManager.vb)
  • Duplicated block (10 lines × 2) (ShareRibbon/Config/ConfigApiForm.vb)
  • Duplicated block (10 lines × 2) (ShareRibbon/Controls/Services/HttpStreamService.vb)
  • …and 167 more

New (228)

  • (anonymous)::showComparison (cognitive 26) (ShareRibbon/Resources/js/revision-manager.js)
  • (anonymous)::showComparison (cyclomatic 23) (ShareRibbon/Resources/js/revision-manager.js)
  • Documentation: contradicts the code (docs/project-issues-and-optimization-audit.md)
  • Documentation: no architecture or design documentation (README.md)
  • Duplicated block (10 lines × 2) (ExcelAi/ExcelDirectOperationService.vb)
  • Duplicated block (10 lines × 2) (ExcelAi/ExcelDocumentTranslateService.vb)
  • Duplicated block (10 lines × 2) (PowerPointAi/ChatControl.vb)
  • Duplicated block (10 lines × 2) (ShareRibbon/Config/ConfigApiForm.vb)
  • Duplicated block (10 lines × 2) (ShareRibbon/Services/Reformat/ReformatCoordinator.vb)
  • Duplicated block (10 lines × 2) (ShareRibbon/Services/SkillsDirectoryService.vb)
  • Duplicated block (10 lines × 2) (ShareRibbon/Storage/MemoryRepository.vb)
  • Duplicated block (10 lines × 3) (ExcelAi/ThisAddIn.vb)
  • Duplicated block (10 lines × 3) (ExcelAi/ThisAddIn.vb)
  • Duplicated block (10 lines × 3) (ExcelAi/ThisAddIn.vb)
  • Duplicated block (10 lines × 8) (ExcelAi/ChatControl.vb)
  • Duplicated block (100–111 lines × 2) (ShareRibbon/Config/ReformatTemplateManager.vb)
  • Duplicated block (10–11 lines × 2) (ShareRibbon/Config/ConfigApiForm.vb)
  • Duplicated block (11 lines × 2) (ExcelAi/ChatControl.vb)
  • Duplicated block (11 lines × 2) (ExcelAi/ThisAddIn.vb)
  • Duplicated block (11 lines × 2) (ShareRibbon/Services/Reformat/LegacyTemplateConverter.vb)
  • …and 208 more

Written by watchdog.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 28 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 1fd78d345b9444720f6589f1264c80028729a9f0 — the exact code this score is about.
  • Scored under rubric-2026.09.16 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-24a00d372a4b.