This guide covers the command-line interface (CLI) for Saguaro.
Initialize a new Saguaro project. Creates .saguaro/ directory and config.
saguaro initBuild or update the holographic knowledge graph.
saguaro index
# Options:
# --verbose Show detailed logs
# --clean Force full re-indexingRun in daemon mode, watching for file changes and re-indexing incrementally.
saguaro watchSemantic search.
saguaro query "How is user auth handled?"
# Options:
# --json Output JSON
# --k 10 Number of resultsTools for AI perception.
skeleton <file>: View structural outline.slice <symbol>: View code implementation with dependencies.impact <sandbox_id>: Predict risk of proposed changes.
Predictive modeling throughout the codebase.
volatility: Heatmap of unstable code regions.regression <file>: Predict regression probability.
Check compliance against rules.
saguaro verify .
# Options:
# --fix Auto-fix violations
# --engines Select engines (native, ruff, semantic)Manage semantic history.
snapshot: Save current memory state.diff: Compare current state to last snapshot.
System diagnostics.
saguaro healthAST parsing coverage report.
saguaro coverage