sirsi-pantheon

module
v0.4.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2026 License: MIT

README ΒΆ

πŸ›οΈ Sirsi Pantheon

Unified DevOps Intelligence Platform β€” One Install, All Deities.

Go Version Tests MCP Build in Public

"One Install. All Deities."

Sirsi Pantheon is a unified DevOps intelligence platform that brings together every deity in the Sirsi ecosystem into a single, lightweight binary. Install once, get infrastructure hygiene, QA/QC governance, persistent AI knowledge, and more.

The Deities
Deity Domain Description
π“‚€ Anubis Infrastructure Hygiene Scan, judge, and purge waste β€” the foundational module
πŸͺΆ Ma'at QA/QC Governance Coverage, canon verification, pipeline monitoring
π“Ÿ Thoth Persistent Knowledge AI session memory that saves 98.7% of context

Anubis is the foundational module β€” the reason Pantheon exists. It's not being replaced, it's being elevated. Every scan rule, every safety protection, every feature you see here started with Anubis. Pantheon is what happens when one deity proves the architecture works and the others join in.


πŸ—οΈ Why the Rebrand: Binary Size Tells the Story

We analyzed exactly what's inside the binary and discovered something remarkable:

Component Size
Go runtime + stdlib ~10 MB
All 20 Sirsi modules combined ~186 KB
Total binary (stripped) 8.3 MB

All application code β€” 20 modules, 18 commands, 13,813 lines β€” compiles to just 186 KB. That's 1.5% of the binary. The other 98.5% is Go's runtime, which is paid once regardless of module count.

Adding a new deity module costs 2-30 KB. We could double the module count and the binary would grow by ~100 KB. Pantheon isn't a monolith β€” it's a composable platform that happens to ship as a single file.

The rename reflects reality: the binary already contained every deity. Calling it "Anubis" was limiting what it actually is. Pantheon gives every deity equal standing under one roof while honoring Anubis as the foundation.

Size Per Deity Module (compiled)
Module Compiled Size Role
mcp 31.1 KB AI IDE integration
jackal 26.6 KB Scan engine (58 rules)
mirror 19.3 KB File dedup (27x faster)
maat 18.9 KB QA/QC governance
brain 15.6 KB Neural classifier
guard 8.8 KB RAM audit
ka 7.3 KB Ghost app detection
...12 more 2-10 KB each
Total ~186 KB 1.5% of binary

⚑ Quick Start

Install
# From source
go install github.com/SirsiMaster/sirsi-pantheon/cmd/pantheon@latest

# Or clone and build
git clone https://github.com/SirsiMaster/sirsi-pantheon.git
cd sirsi-pantheon && go build -o pantheon ./cmd/pantheon/
Scan Your Machine
pantheon weigh                   # Full scan β€” discover all waste
pantheon weigh --dev             # Developer frameworks only
pantheon weigh --ai              # AI/ML caches only
pantheon weigh --json            # Machine-readable output
Clean What Was Found
pantheon judge --dry-run         # Preview cleanup
pantheon judge --confirm         # Execute cleanup
Hunt Ghost Apps
pantheon ka                      # Find remnants of uninstalled apps
pantheon ka --target "Parallels" # Hunt specific ghost
pantheon ka --clean --dry-run    # Preview ghost cleanup
pantheon ka --clean --confirm    # Release the spirits
Find Duplicate Files
pantheon mirror ~/Downloads ~/Desktop  # Scan directories for duplicates
pantheon mirror --photos --min-size 1MB # Large photo duplicates only
pantheon mirror --json > report.json   # Export results
pantheon mirror                        # Launch GUI (browser-based)
Run QA/QC Governance
pantheon maat                    # Full governance assessment
pantheon maat --coverage         # Test coverage governance
pantheon maat --canon            # Canon document verification
pantheon maat --pipeline         # CI pipeline monitoring

πŸ“‹ All Commands

Command Deity Description
pantheon weigh π“‚€ Anubis Scan workstation for infrastructure waste
pantheon judge π“‚€ Anubis Clean artifacts found by weigh
pantheon ka π“‚€ Anubis Hunt ghost apps β€” find spirits of the dead
pantheon guard π“‚€ Anubis RAM audit, zombie process management
pantheon sight π“‚€ Anubis Launch Services / Spotlight repair
pantheon profile π“‚€ Anubis Machine profiling and system info
pantheon seba π“‚€ Anubis Dependency graph mapper
pantheon hapi π“‚€ Anubis Resource optimizer (GPU, dedup, snapshots)
pantheon scarab π“‚€ Anubis Network discovery + container audit
pantheon install-brain π“‚€ Anubis Download neural classification model
pantheon uninstall-brain π“‚€ Anubis Remove neural weights
pantheon mirror π“‚€ Anubis Duplicate file scanner (GUI + CLI)
pantheon scales enforce π“‚€ Anubis Run hygiene policy enforcement
pantheon book-of-the-dead π“‚€ Anubis Deep system autopsy
pantheon initiate π“‚€ Anubis Grant macOS permissions
pantheon mcp π“Ÿ Thoth Start MCP server for AI IDE integration
pantheon maat πŸͺΆ Ma'at QA/QC governance assessment
pantheon version β€” Show version and deity roster
Global Flags
--json      # JSON output for scripting
--quiet     # Suppress non-essential output
--stealth   # Ephemeral mode β€” delete all Pantheon data after execution

πŸ› Architecture

Pantheon is built on modules named after Egyptian mythology. Every deity maintains its identity while sharing a unified runtime:

Module Deity Codename Role Status
🐺 Jackal Anubis The Hunter Scan engine β€” 58 rules across 7 domains βœ…
π“‚“ Ka Anubis The Spirit Ghost app detection β€” 17 macOS locations βœ…
πŸͺž Mirror Anubis The Reflection File dedup β€” 27x faster than naive hashing βœ…
πŸ›‘οΈ Guard Anubis The Guardian RAM audit, zombie process management βœ…
πŸ‘οΈ Sight Anubis The Sight Launch Services + Spotlight repair βœ…
🌊 Hapi Anubis The Flow GPU detection, dedup, APFS snapshots βœ…
πŸͺ² Scarab Anubis The Transformer Network discovery + container audit βœ…
🧠 Brain Anubis Neural On-demand model downloader + classifier βœ…
πŸ”Œ MCP Thoth Context MCP server for AI IDE integration βœ…
βš–οΈ Scales Anubis The Judgment YAML policy engine + enforcement βœ…
πŸͺΆ Ma'at Ma'at Governance Coverage, canon, pipeline assessments βœ…
Two Binaries
Binary Size Stripped Purpose
pantheon 12 MB 8.3 MB Full CLI β€” all deities, Mirror GUI
pantheon-agent 3.2 MB 2.1 MB Lightweight fleet agent (JSON only)

πŸ“¦ Scan Domains (58 Rules)

Domain Examples
πŸ–₯️ General Mac Caches, logs, crash reports, browser junk, downloads
🐳 Virtualization Parallels, Docker, VMware, UTM, VirtualBox
πŸ“¦ Dev Frameworks Node/npm, Next.js, Rust/Cargo, Go, Python/conda, Java/Gradle
πŸ€– AI/ML Apple MLX, Metal, NVIDIA CUDA, HuggingFace, Ollama, PyTorch
πŸ› οΈ IDEs & AI Tools Xcode, VS Code, JetBrains, Claude Code, Codex, Gemini CLI
☁️ Cloud/Infra Docker, Kubernetes, nginx, Terraform, gcloud, Firebase
πŸ“± Cloud Storage OneDrive, Google Drive, iCloud, Dropbox

🧠 Neural Brain

Pantheon includes an on-demand neural classification engine:

pantheon install-brain             # Download CoreML/ONNX model
pantheon install-brain --update    # Check for latest version
pantheon install-brain --remove    # Self-delete weights

The brain classifies files into 9 categories: junk, project, config, model, data, media, archive, essential, unknown. Currently ships with a heuristic classifier; neural model backends (ONNX Runtime, CoreML) are in development.


πŸ”Œ MCP Server β€” AI IDE Integration

Pantheon doubles as a context sanitizer for AI coding assistants:

pantheon mcp    # Start MCP server (stdio)
Configure Claude Code
// ~/.claude/claude_desktop_config.json
{
  "mcpServers": {
    "pantheon": {
      "command": "pantheon",
      "args": ["mcp"]
    }
  }
}
Configure Cursor / Windsurf
// .cursor/mcp.json
{
  "mcpServers": {
    "pantheon": {
      "command": "pantheon",
      "args": ["mcp"]
    }
  }
}
MCP Tools
Tool Description
scan_workspace Scan a directory for waste
ghost_report Hunt dead app remnants
health_check System health summary with grade
classify_files Semantic file classification
thoth_read_memory π“Ÿ Load project context without reading source files

π“Ÿ Thoth β€” Persistent Knowledge System

Thoth gives AI assistants persistent memory across sessions. Instead of re-reading thousands of lines of source code every time, the AI reads a ~100-line memory file for instant context.

.thoth/
β”œβ”€β”€ memory.yaml      # Layer 1: WHAT β€” compressed project state
β”œβ”€β”€ journal.md       # Layer 2: WHY β€” timestamped reasoning
└── artifacts/       # Layer 3: DEEP β€” benchmarks, audits, reviews
Measured Impact (Dogfooding on This Repo)
Metric Without Thoth With Thoth Savings
Lines read at startup 22,958 297 98.7% fewer
Tokens consumed 275,496 3,564 271,932 saved
Context window used 137.7% (⚠️ doesn't fit) 1.7% 136% preserved
Cost per session (Opus 4) $4.13 $0.05 $4.08 saved

We built Thoth because our own AI sessions were failing β€” the codebase was too large to fit in context. The before/after is measurable. Read the case study β†’


πŸͺΆ Ma'at β€” QA/QC Governance

Ma'at ensures every change meets quality standards:

pantheon maat                    # Full governance assessment
pantheon maat --coverage         # Test coverage thresholds
pantheon maat --canon            # Canon document verification
pantheon maat --pipeline         # CI pipeline health
pantheon maat --json             # Machine-readable output

57 tests, 3 governance domains, per-module threshold enforcement.


βš–οΈ Policy Enforcement

Define infrastructure hygiene policies in YAML:

api_version: v1
policies:
  - name: workstation-hygiene
    rules:
      - id: waste-limit
        metric: total_size
        operator: gt
        threshold: 20
        unit: GB
        severity: fail
        remediation: Run 'pantheon judge --confirm'
pantheon scales enforce                      # Run default policies
pantheon scales enforce -f custom-policy.yaml # Custom policies
pantheon scales validate -f policy.yaml      # Syntax check

πŸͺž Mirror β€” File Deduplication

Mirror finds duplicate files across any directory using a three-phase scan:

  1. Size grouping β€” instant elimination of unique file sizes
  2. Partial hash β€” SHA-256 of first 4KB + last 4KB (8KB per file)
  3. Full hash β€” complete SHA-256 only for files that pass both phases
Why This Matters
Metric Naive approach Pantheon Mirror
56 candidate files (97.8 MB) Reads all 97.8 MB Reads 448 KB partial, then only matched files
Disk I/O 97.8 MB < 2 MB
Time 84 ms 3 ms
Speedup 1x 27.3x
I/O reduction β€” 98.8%

Benchmarked on real ~/Downloads directory, March 2026.


πŸ›‘οΈ Product Tiers

Tier Scope Price
Pantheon Free Single workstation, all commands, Mirror GUI + CLI Free forever
Pantheon Pro Neural brain, importance ranking, semantic search $9/mo
Eye of Horus Subnet sweep (< 100 nodes) $29/mo
Ra Enterprise fleet, SAN/NAS, compliance Contact

πŸ”’ Security & Privacy

  • Rule A11: No Telemetry β€” zero analytics, tracking, or data collection
  • Rule A1: Safety First β€” all destructive ops require --confirm or --dry-run
  • Rule A3: Fixed Agent Commands β€” agent has no shell access
  • Trash-first cleaning β€” every removal goes to Trash with full decision log
  • 29 protected paths β€” system dirs, user content dirs, keychains, and SSH keys are hardcoded as undeletable
  • --stealth mode β€” Pantheon comes, judges, and vanishes (zero footprint)
  • All scanning is local β€” no data leaves your machine

🀝 Contributing

See CONTRIBUTING.md for guidelines. Adding scan rules is straightforward β€” implement the ScanRule interface in internal/jackal/rules/.


πŸ“„ License

MIT License β€” free and open source forever. See LICENSE.


🏒 Sirsi Technologies

Sirsi Pantheon is the DevOps intelligence platform from Sirsi Technologies.

Product Role
Sirsi Pantheon Unified DevOps Intelligence Platform
Sirsi Nexus AI infrastructure platform

πŸ›οΈ One install. All deities. Nothing escapes the Weighing.

Directories ΒΆ

Path Synopsis
cmd
pantheon command
pantheon-agent command
Sirsi Pantheon Agent β€” lightweight binary for fleet deployment.
Sirsi Pantheon Agent β€” lightweight binary for fleet deployment.
internal
brain
Package brain provides on-demand neural model management for Anubis Pro.
Package brain provides on-demand neural model management for Anubis Pro.
cleaner
Package cleaner implements the deletion engine and safety module for Sirsi Anubis.
Package cleaner implements the deletion engine and safety module for Sirsi Anubis.
guard
Package guard provides RAM management and process auditing.
Package guard provides RAM management and process auditing.
hapi
Package hapi provides hardware detection and resource optimization.
Package hapi provides hardware detection and resource optimization.
ignore
Package ignore provides .anubisignore support β€” exclude paths from scanning.
Package ignore provides .anubisignore support β€” exclude paths from scanning.
jackal
Package jackal implements the local scan engine for Sirsi Anubis.
Package jackal implements the local scan engine for Sirsi Anubis.
ka
Package ka implements the Ghost Hunter module for Sirsi Anubis.
Package ka implements the Ghost Hunter module for Sirsi Anubis.
logging
Package logging provides structured logging for Sirsi Anubis.
Package logging provides structured logging for Sirsi Anubis.
maat
Package maat implements the Ma'at QA/QC governance agent for the Sirsi Pantheon.
Package maat implements the Ma'at QA/QC governance agent for the Sirsi Pantheon.
mcp
Package mcp implements a Model Context Protocol (MCP) server for Anubis.
Package mcp implements a Model Context Protocol (MCP) server for Anubis.
mirror
Package mirror provides file deduplication with semantic importance ranking.
Package mirror provides file deduplication with semantic importance ranking.
output
Package output handles terminal rendering for Sirsi Pantheon.
Package output handles terminal rendering for Sirsi Pantheon.
platform
Package platform provides an abstraction layer over OS-specific operations.
Package platform provides an abstraction layer over OS-specific operations.
profile
Package profile manages developer profiles and user configuration.
Package profile manages developer profiles and user configuration.
scales
Package scales implements the Scales policy engine for Anubis.
Package scales implements the Scales policy engine for Anubis.
scarab
Package scarab provides network discovery and fleet scanning.
Package scarab provides network discovery and fleet scanning.
seba
Seba is the keeper of stars and the mapper of the celestial/digital vault.
Seba is the keeper of stars and the mapper of the celestial/digital vault.
sight
Package sight provides Spotlight and Launch Services management.
Package sight provides Spotlight and Launch Services management.
stealth
Package stealth provides ephemeral mode β€” clean-exit functionality.
Package stealth provides ephemeral mode β€” clean-exit functionality.
updater
Package updater provides version checking and advisory notifications.
Package updater provides version checking and advisory notifications.
yield
Package yield implements self-aware resource governance for Pantheon.
Package yield implements self-aware resource governance for Pantheon.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL