Skip to content

Quick Start Guide โšก

Get CommitVigil running in under 5 minutes.

The fastest way to spin up the full stack (API + Worker + Redis + Postgres):

docker compose up --build

๐Ÿ—๏ธ Local Setup

  1. Install dependencies:
    # Recommendation: Use uv for high-performance dependency resolution
    uv sync
    # OR standard poetry
    poetry install
    
  2. Configure Environment: Create a .env file based on .env.example. > Important: Set API_KEY_SECRET to a secure value for production. Set AUTH_ENABLED=False for local testing without auth.
  3. Run the API:
    poetry run uvicorn src.main:app --reload
    
  4. Run the Worker:
    poetry run arq src.worker.WorkerSettings
    

๐ŸŽฎ Interactive Demos

See the system in action with these pre-configured scenarios:

1. High-Stakes Accountability

Simulates a manager-developer interaction with tone adaptation and safety checks.

./scripts/demo.sh

2. Sales Intelligence & ROI

Simulates a prospecting flow with automated scenario generation and multi-currency ROI.

./scripts/demo_sales.sh


๐Ÿงช Quality and Stability

CommitVigil enforces military-grade engineering standards: - Mock Mode: Set LLM_PROVIDER="mock" in .env to run the entire system with zero token cost. - Strict Typing: The system is fully compliant with mypy strict type checking. Run poetry run mypy src/ to verify correctness. - Coverage: All critical agents maintain a high test coverage threshold.

# Run tests with clean output
uv run pytest