Harness-Anything, a comprehensive CLI toolkit created by GitHub user yb2460, has gained 261 stars for enabling AI agents to programmatically control office applications, design software, and academic tools on Windows. Released on May 27, 2026, the toolkit provides 47 CLI commands for automating WPS Office and Microsoft Office through Component Object Model (COM) interfaces.
47 Commands Cover Office Suite and Professional Software
The system operates through a layered architecture: CLI commands → Click CLI → Core module → COM Bridge → Office Application → Office engine. This Windows COM automation approach mirrors Microsoft Office VBA compatibility, allowing flexible switching between WPS and MS Office by changing ProgID identifiers. Specific functionality includes:
- Writer: Document manipulation covering paragraphs, headings, tables, images, find/replace, and formatting
- Calc: Spreadsheet operations including worksheet management, cell operations, formulas, and merging
- Impress: Presentation control with slide management, text boxes, shapes, backgrounds, and exports
- Export formats: DOCX, XLSX, PPTX, PDF, TXT, HTML, CSV, RTF
Four Specialized Components Extend Beyond Office Automation
Beyond office automation, the toolkit integrates academic research capabilities through Zotero integration with 27 skills for reference management. Vector design automation enables Adobe Illustrator control for programmatic graphics, while raster editing provides Photoshop automation for image processing. This positions harness-anything as a comprehensive agent toolkit for knowledge work rather than single-purpose automation.
Quality Review System and Design Templates
The toolkit includes 4 preset templates, 14 layout options, and a 5-dimension quality review design system that enables structured document generation with built-in quality checks. This systematic approach to document creation complements the broader 2026 trend of AI agent harnesses—persistent execution loops wrapping language models with tools, memory, and autonomy for multi-hour tasks.
Windows-Specific COM Integration Enables Deep Software Control
The COM-based approach means the toolkit is Windows-specific but benefits from deep integration with professional software ecosystems. Unlike generic automation tools that operate through UI manipulation or APIs, the COM interface provides direct access to application object models, enabling more reliable and feature-complete automation. The project has achieved 15 forks on GitHub, indicating developer interest in extending the toolkit's capabilities.
Key Takeaways
- Harness-Anything provides 47 CLI commands for AI agents to control WPS Office and Microsoft Office through Windows COM interfaces
- The toolkit includes four specialized components: office automation, Zotero academic research with 27 skills, Adobe Illustrator vector design, and Photoshop raster editing
- The layered architecture enables flexible switching between WPS and MS Office by changing ProgID identifiers while maintaining compatibility
- A design system with 4 preset templates, 14 layout options, and 5-dimension quality review enables structured document generation
- The COM-based approach provides direct access to application object models rather than relying on UI manipulation or limited APIs