src/kapso/deployment/strategies/. Add one and the registry discovers it; no core code changes.
Strategy structure
Each strategy is a directory with these files:Step 1: Create directory
Step 2: Implement runner
Createrunner.py with a Runner class:
Step 3: Create configuration
Createconfig.yaml:
Step 4: Selector instruction
Createselector_instruction.txt for auto-selection:
Step 5: Adapter instruction
Createadapter_instruction.txt for code adaptation:
Step 6: Register strategy
Create__init__.py:
Runner base class
Strategy registry
Strategies are auto-registered when discovered:Using your strategy
Testing your strategy
Example: HTTP strategy
A strategy that deploys as an HTTP server:Related
Deployment architecture
How a strategy is discovered
Deployment strategies
The five that ship
pip install leeroo-kapso · Every page as plain text: llms.txt.