AI connections
AI connections store the provider, model, endpoint, and credential used by nodes at runtime. Add and test them from Settings > AI Connections.
Supported connection families
- Anthropic, OpenAI, Gemini, and Mistral
- OpenAI-compatible hosted endpoints
- Ollama and llama.cpp endpoints
- Claude Code, Codex, Gemini, and GitHub Copilot command-line adapters
For a cloud deployment, use a network-accessible provider or endpoint. A model running only on a developer laptop is not reachable from a remote Orchetree instance.
Resolution order
For each node, the execution engine resolves the first configured connection in this order:
- node default
- tree default
- project default
- global default
Execution fails with a configuration error when none of these levels resolves to a connection.
Credentials
Provider keys are encrypted at rest. They are not returned as plain text by the application and are removed from exported bundles. Configure credentials again after importing a bundle into another environment.
Do not commit provider keys to source control or SDK definitions. Use the Settings interface, environment variables, or the destination platform’s secret manager.
Hosted testing
Free and trial allowances change frequently and are controlled by each provider. Review the current provider terms, rate limits, regional availability, and billing requirements before relying on an allowance.
See Hosted providers for the maintained setup links and usage cautions.