Welcome to CAPS! This is a modular Python project using modern tooling.
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -e ".[dev]"# Copy example env file
cp .env.example .env
# Edit .env and add your Google AI API key
# Get your key from: https://makersuite.google.com/app/apikeypython -m caps.main# Run all tests
pytest
# Run with coverage
pytest --cov=caps
# Run specific test file
pytest tests/test_schema_validation.py -vCAPS/
├── src/caps/ # Main package
│ ├── agent/ # LLM intent interpreter
│ ├── schema/ # JSON schema validation
│ └── main.py # CLI entry point
├── tests/ # Test suite
├── config/ # Configuration files
├── pyproject.toml # Project metadata
└── .env # Environment variables (not in git)
✅ Python project infrastructure
✅ Pydantic payment intent schema
✅ Schema validator (Trust Gate 1)
✅ Gemini-based intent interpreter
✅ CLI demo application
✅ Unit and integration tests
- Phase 2: Context Engineering
- Phase 3: Policy Engine
- Phase 4: Control Flow & Execution