Engines and models
The engine is the coding agent that writes the code inside the sandbox. Khala treats it as a replaceable part: the harness, the gates and the evidence are the same whichever engine runs.
Supported engines
Section titled “Supported engines”| Engine | Models | Where inference runs |
|---|---|---|
| Claude Code | Anthropic models | Anthropic or your cloud provider’s hosted offering |
| Codex | OpenAI models | OpenAI or your cloud provider’s hosted offering |
| Antigravity | Google models | |
| OpenCode | Any model behind an OpenAI-compatible endpoint | Your own GPUs or any compatible provider |
OpenCode is the path to self-hosted inference. If you serve open-weight models with vLLM or an equivalent server, the builder can work without sending code or prompts outside your network. See Your own GPUs.
Who chooses
Section titled “Who chooses”Your catalog does. An engine can only use a model your organization has approved, and a model policy can narrow the list for specific agents. Restricted models need an approval. A team cannot select a blocked model.
This is the same catalog that governs the models your agents use in production, so one decision covers both.
What does not change with the engine
Section titled “What does not change with the engine”- The sandbox and its network and credential rules.
- The gates and the held-out tests.
- The budgets.
- The record of the build.
- Delivery by pull request.
What does change
Section titled “What does change”Models differ in how well they write code, how fast and at what cost. An open-weight model on your own hardware keeps everything inside your network; we do not claim it writes code as well as the strongest hosted models. Because the gates are identical, you can measure the difference on your own agents: the same spec, the same tests, a different engine.
Changing engine or model
Section titled “Changing engine or model”It is a catalog change, recorded in the audit log. Builds made before the change keep the stack they were resolved with.