Architecture
The Harness
Cadela is being designed as a modular system of independent layers that compose together — model routing, agent roles, project skills, and workflow pipelines.
Layer 1
Model routing
The router decides where each task executes based on configurable policy. Local models for privacy and speed. API models for capability and scale.
Layer 2
Agent system
Agents are specialized roles with their own system prompts, tool access, and execution rules — working together in coordinated workflows.
Layer 3
Skills, rules & tools
Projects define their own behavior through composable skills, behavioral rules, and tool access. The harness adapts per repository without manual reconfiguration.
Layer 4
Workflow engine
The workflow engine sequences agent calls, tool executions, and user checkpoints into reproducible pipelines.