sirsi-pantheon

module
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT

README ΒΆ

πŸ›οΈ Sirsi Pantheon

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

Go Version Tests OpenVSX 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 Hypervisor
Glyph Deity Domain What It Does
𓇢 Ra Supreme Overseer The boss β€” orchestrates all deities automatically (planned)
𓁯 The Weaver
Glyph Deity Domain What It Does Dependencies
𓁯 Net (Neith) The Weaver Architecture documentation and decision records None
π“€­ The Code Gods (Governance & Knowledge)

Decision-making, standards, memory, and healing.

Glyph Deity Roles What It Does Dependencies
π“Ÿ Thoth God of Knowledge Cuts AI token waste by 98% via persistent memory None
𓆄 Ma'at Goddess of Order Grades code quality and enforces team standards None
𓁐 Isis The Healer Autonomous remediation engine β€” fixes Ma'at findings (lint, vet, formatting) Ma'at
𓁆 Seshat Goddess of Writing Universal knowledge grafting engine β€” ingests from Gemini, Claude, Chrome, Apple Notes, Google Workspace; exports to Thoth, GEMINI.md, NotebookLM Thoth
π“€° The Machine Gods (Infrastructure & OS)

Infrastructure hygiene, safety, and hardware flow.

Glyph Deity Domain What It Does Dependencies
𓃣 Anubis Judge of Hygiene Finds junk on your computer that cleaning apps miss Horus
π“‚“ Ka Spirit Hunter Detects apps you deleted that are still secretly running Horus
𓁡 Sekhmet Warrior Guardian Watchdog: kills runaway processes & NPU acceleration Hapi
π“‚€ Horus The All-Seeing Eye Shared storage index: walk once, query forever None
𓆣 Khepri The Scarab Network discovery and container audit scavenger None
𓁢 Hapi God of the Flow Detects GPUs, ANE, and hardware accelerators None
𓇼 Seba Star Map Draws a visual map of your infrastructure topology Khepri
𓉑 Hathor Goddess of Dedup Mirror: Finds duplicate files eating your storage None

⚑ Installation β€” All Platforms & Methods

Not sure which tool to use? See the FAQ: Which Pantheon Tool Should I Use?

CLI (macOS / Linux)
# Homebrew (recommended)
brew tap SirsiMaster/tools && brew install sirsi-pantheon

# From source (requires Go 1.22+)
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/

# Install individual deities
brew install SirsiMaster/tools/pantheon-anubis    # Infrastructure hygiene only
brew install SirsiMaster/tools/pantheon-maat      # Code quality only
brew install SirsiMaster/tools/pantheon-thoth     # AI memory only
CLI (Windows)
# From source (requires Go 1.22+)
go install github.com/SirsiMaster/sirsi-pantheon/cmd/pantheon@latest

# Or download binary from GitHub Releases
# https://github.com/SirsiMaster/sirsi-pantheon/releases
VS Code Extension (macOS / Linux / Windows)

Search "Pantheon" in your extension marketplace, or:

# VS Code
code --install-extension SirsiMaster.sirsi-pantheon

# Antigravity / Cursor / Windsurf β€” works on any VS Code-based IDE
# Also available on OpenVSX: https://open-vsx.org/extension/SirsiMaster/sirsi-pantheon
Menu Bar App (macOS only)
# Build from source
go build -o /opt/homebrew/bin/pantheon-menubar ./cmd/pantheon-menubar/

# Auto-start at login
cp cmd/pantheon-menubar/bundle/ai.sirsi.pantheon.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/ai.sirsi.pantheon.plist
MCP Server (any platform with AI IDE)
pantheon mcp    # Starts JSON-RPC 2.0 server over stdio

See MCP Configuration below.

Binary Sizes
Component Download On Disk
CLI (pantheon) 6.6 MB 12 MB
Menu Bar (pantheon-menubar) 2.6 MB 4.5 MB
Extension (.vsix) 40 KB 40 KB
Agent (pantheon-agent) ~1.2 MB 2.1 MB

Getting Started

Get up and running in under a minute. For the full walkthrough, see the Getting Started Guide.

# 1. Install
brew tap SirsiMaster/tools && brew install sirsi-pantheon

# 2. Scan your machine for waste
pantheon scan

# 3. Find ghost apps and duplicates
pantheon ghosts
pantheon dedup ~/Documents

# 4. Set up AI memory in a project
cd ~/my-project && pantheon thoth init && pantheon thoth sync

# 5. Audit code quality and auto-fix
pantheon maat audit
pantheon maat heal

Scan Your Machine
pantheon scan                    # Find infrastructure waste (caches, build artifacts, orphaned files)
pantheon scan --all              # Scan all categories
pantheon scan --json             # Machine-readable output
Find Ghost Apps
pantheon ghosts                  # Detect remnants of uninstalled applications
pantheon ghosts --sudo           # Include system directories
Find Duplicate Files
pantheon dedup ~/Downloads ~/Desktop  # Scan directories for duplicates
Monitor Resources
pantheon guard                   # System resource monitoring and memory pressure
AI Project Memory
pantheon thoth init              # Initialize .thoth/ knowledge system
pantheon thoth sync              # Sync memory from source + git history
pantheon thoth compact -s "..."  # Persist session decisions before context compression
Start MCP Server (any AI IDE)
pantheon mcp                     # JSON-RPC 2.0 over stdio β€” works with Claude, Cursor, Windsurf
Run Governance Audit
pantheon maat audit              # Coverage governance across all modules
pantheon maat audit --skip-test  # Use cached coverage (instant)

Commands

Core (what most users need)
Command Description
pantheon scan Scan for infrastructure waste (caches, build artifacts, orphaned files)
pantheon ghosts Detect remnants of uninstalled applications
pantheon dedup [dirs...] Find duplicate files across directories
pantheon guard Monitor system resources and memory pressure
pantheon mcp Start MCP server for AI IDE integration
pantheon thoth init Initialize AI project memory (.thoth/)
pantheon thoth sync Sync project memory from source + git
pantheon thoth compact Persist session decisions before context compression
pantheon maat audit Governance and coverage auditing
pantheon version Show version
Global Flags
--json      # JSON output for scripting
--quiet     # Suppress non-essential output
--verbose   # Debug logging

πŸ› Architecture

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

Module Deity Role Status
Jackal Anubis Scan engine β€” 64 rules across 7 domains βœ…
Cleaner 𓃣 Anubis Safe deletion with Trash + SHA-256 verification βœ…
Ka π“‚“ Ka Ghost app detection β€” 17 macOS locations βœ…
Mirror 𓉑 Hathor File dedup β€” 27x faster than naive hashing βœ…
Guard 𓁡 Sekhmet RAM audit, zombie process management βœ…
Sight π“‚€ Horus Launch Services + Spotlight repair βœ…
Horus π“‚€ Horus Shared filesystem index β€” walk once, query forever βœ…
Hapi 𓁢 Hapi GPU/Neural Engine/VRAM detection βœ…
Scarab 𓆣 Khepri Network discovery + container audit βœ…
Brain π“Ÿ Thoth On-demand model downloader + classifier βœ…
MCP π“Ÿ Thoth MCP server for AI IDE integration βœ…
Scales 𓆄 Ma'at YAML policy engine + enforcement βœ…
Ma'at 𓆄 Ma'at Coverage, canon, pipeline assessments βœ…
Seba 𓇼 Seba Infrastructure topology graph 🚧
Seshat 𓁆 Seshat Universal knowledge grafting engine βœ…
Isis 𓁐 Isis Autonomous remediation (lint, vet, fmt) βœ…
Neith 𓁯 Net Architecture docs and decision records βœ…

Scan Domains (64 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 infrastructure waste
ghost_report Detect remnants of uninstalled applications
health_check System health summary (cached, <10ms response)
thoth_read_memory Load project context without reading source files
thoth_sync Sync project memory from source + git history
detect_hardware CPU, GPU, Neural Engine, and accelerator detection

π“Ÿ 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.


𓁆 Seshat β€” Universal Knowledge Grafting

Seshat ingests knowledge from multiple sources and exports it to any target in the Sirsi ecosystem.

Chrome Profile Ingestion
pantheon seshat ingest --source chrome                    # Default Chrome profile
pantheon seshat ingest --source chrome --profile "Work"   # Named profile
pantheon seshat ingest --source chrome --all-profiles     # All Chrome profiles
pantheon seshat profiles --source chrome                  # List available profiles
Supported Sources
  • Chrome β€” bookmarks, history, saved tabs (per-profile or all profiles)
  • Gemini β€” conversation exports
  • Claude β€” session memory
  • Apple Notes β€” local note ingestion
  • Google Workspace β€” Docs, Sheets, Drive
Export Targets
  • Thoth β€” merge into .thoth/memory.yaml for AI context
  • GEMINI.md β€” export as Gemini-compatible project memory
  • NotebookLM β€” export for Google NotebookLM ingestion
pantheon seshat export --target notebooklm --output ./export/
pantheon seshat export --target thoth
pantheon seshat export --target gemini

βš–οΈ 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
  • 35 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

πŸ› οΈ Development

Setup
git clone https://github.com/SirsiMaster/sirsi-pantheon.git
cd sirsi-pantheon
git config core.hooksPath .githooks    # Enable pre-push gate
go build ./...
Pre-Push Gate β€” Tiered Depth

Every git push runs a quality gate. The default is fast (~10-30 seconds). Set MAAT_DEPTH to control how deep the gate checks:

Tier Time What Runs When to Use
fast (default) ~10-30s gofmt + go vet + build + tests on changed packages only Every push
standard ~60-90s Fast + Ma'at coverage/canon on changed packages Before PR merge
deep ~3-5 min Standard + full test suite + full Ma'at assessment Pre-release only
git push                          # fast (default) β€” seconds, not minutes
MAAT_DEPTH=standard git push      # standard β€” adds Ma'at on changed pkgs
MAAT_DEPTH=deep git push          # deep β€” full suite (pre-release)
git push --no-verify              # skip gate entirely (use sparingly)

Why tiered? The full Ma'at + test suite takes 3-5 minutes and floods the IDE with terminal output, causing IPC starvation on Electron-based editors. The fast tier runs only what's relevant to your change. CI still runs the full deep suite on every push β€” the local gate catches the 95% case in seconds.

Adding Scan Rules

Implement the ScanRule interface in internal/jackal/rules/. See CONTRIBUTING.md for full guidelines.


πŸ”Œ VS Code Extension β€” Always-On Guardian

The Pantheon extension brings Guardian auto-renice, memory GC, and live metrics into your IDE.

Feature Description
Guardian Auto-Renice Deprioritizes LSP processes (gopls, tsserver, rust-analyzer) to nice +10 / Background QoS
Memory Pressure GC Restarts bloated language servers when >500 MB sustained for 3+ checks
Crashpad Monitor πŸ†• Monitors crash dumps β€” detects Extension Host instability before cascade crashes. No other extension does this.
Status Bar $(eye) PANTHEON 4.8 GB β€” live RAM metrics + crash stability indicator
Command Palette 10 commands: Scan, Guard, Renice, Ka, Thoth, Metrics, Accountability, Crashpad, Settings
Thoth Context Reads .thoth/memory.yaml for instant project context
Thoth Accountability Cold-start benchmark proving 371K tokens saved per session

Install: Search "Pantheon" in extensions, or visit OpenVSX. Works in: VS Code, Antigravity, Cursor, Windsurf β€” any VS Code-based IDE. No AI required. No CLI binary dependency for core features.


πŸ–₯️ Menu Bar App β€” IDE-Independent Monitoring

Native macOS menu bar application that runs independently of any IDE.

Feature Description
System Tray Icon Heavyweight ankh (β˜₯) in macOS menu bar β€” always visible
Live Stats RAM pressure, Git status, branch, accelerator detection
Command Shortcuts Quick-launch scan, guard, ghost hunt from the menu
Auto-Start LaunchAgent with RunAtLoad: true, KeepAlive: true β€” survives reboots

Footprint: 4.5 MB on disk, ~50 MB RSS at runtime. macOS only (12.0+).


πŸ“„ License

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


🏒 Built by Sirsi Technologies

Sirsi Pantheon is built and maintained by Sirsi Technologies β€” the company behind the "Own Your Intelligence" platform for on-device AI infrastructure.

𓃣 Documentation & Registry


Built by Sirsi Technologies. Open source, MIT licensed.

Directories ΒΆ

Path Synopsis
cmd
anubis command
guard command
maat command
pantheon command
pantheon-agent command
Sirsi Pantheon Agent β€” lightweight binary for fleet deployment.
Sirsi Pantheon Agent β€” lightweight binary for fleet deployment.
pantheon-menubar command
Package main β€” pantheon-menubar
Package main β€” pantheon-menubar
scarab command
thoth command
internal
brain
Package brain β€” coreml_stub.go provides no-op stubs when CoreML is unavailable.
Package brain β€” coreml_stub.go provides no-op stubs when CoreML is unavailable.
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 β€” accelerator backward compatibility wrapper.
Package hapi β€” accelerator backward compatibility wrapper.
help
Package help provides rich terminal-formatted guides and web doc launchers for each Pantheon deity.
Package help provides rich terminal-formatted guides and web doc launchers for each Pantheon deity.
horus
Package horus implements the All-Seeing Eye β€” a shared filesystem index that all deities query instead of independently walking the filesystem.
Package horus implements the All-Seeing Eye β€” a shared filesystem index that all deities query instead of independently walking the filesystem.
ignore
Package ignore provides .anubisignore support β€” exclude paths from scanning.
Package ignore provides .anubisignore support β€” exclude paths from scanning.
isis
Package isis implements the autonomous remediation engine for the Sirsi Pantheon.
Package isis implements the autonomous remediation engine for the Sirsi Pantheon.
jackal
Package jackal implements the local scan engine for Sirsi Anubis.
Package jackal implements the local scan engine for Sirsi Anubis.
ka
apps.go implements the full application enumerator for macOS.
apps.go implements the full application enumerator for macOS.
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.
osiris
Package osiris β€” Checkpoint Guardian
Package osiris β€” Checkpoint Guardian
output
Package output β€” Ra Command Center TUI
Package output β€” Ra Command Center TUI
platform
Package platform β€” compute.go
Package platform β€” compute.go
profile
Package profile manages developer profiles and user configuration.
Package profile manages developer profiles and user configuration.
ra
Package ra implements the Ra orchestration pipeline with automatic knowledge feedback through Seshat ingestion and Thoth persistence.
Package ra implements the Ra orchestration pipeline with automatic knowledge feedback through Seshat ingestion and Thoth persistence.
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
Package seba β€” accel.go
Package seba β€” accel.go
seshat
Package seshat implements the Gemini Bridge β€” bidirectional knowledge sync between Gemini AI Mode, NotebookLM, and Antigravity IDE.
Package seshat implements the Gemini Bridge β€” bidirectional knowledge sync between Gemini AI Mode, NotebookLM, and Antigravity IDE.
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.
stele
Package stele implements The Stele β€” an append-only hash-chained event ledger for Pantheon's governance loop (ADR-014).
Package stele implements The Stele β€” an append-only hash-chained event ledger for Pantheon's governance loop (ADR-014).
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