#14035: Feature: Implement EU compliant gateway Cortecs
docs
cli
commands
agents
stale
Cluster:
Provider Support Enhancements
### Integrating Cortecs Gateway
This pull request integrates the GDPR-compliant router [cortecs](https://cortecs.ai/), which supports all major European providers, including OVHCloud, Scaleway, Ionos, Mistral, and more.
As suggested in #10419, natively supporting EU-providers would be beneficial.
### Implementation
The implementation closely follows that of the other OpenAI-compatible providers. The tests ran without issues. In addition, the integration was tested with all models manually. Our API was configured to filter for OpenClaw-compatible models, so they can be fetched properly within the system.
<img width="662" height="934" alt="image" src="https://github.com/user-attachments/assets/52949e87-f7b5-491c-848d-603ba8a66322" />
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds first-class support for the Cortecs EU/GDPR-compliant gateway as an OpenAI-compatible provider. It introduces Cortecs model discovery (`src/agents/cortecs-models.ts`), wires `CORTECS_API_KEY` into auth resolution and implicit provider detection, and extends the onboarding/auth-choice flows (interactive and non-interactive) to configure Cortecs and set a default `cortecs/gpt-oss-120b` model. Documentation is updated to list Cortecs and provide setup instructions.
Overall, the change follows existing provider patterns (Venice/Synthetic/etc.) and integrates at the expected seams: env var auth mapping, implicit providers, onboarding option plumbing, and model compatibility normalization for OpenAI-completions providers.
<h3>Confidence Score: 4/5</h3>
- Mostly safe to merge once the remaining debug output is removed.
- Integration is localized and follows existing provider/onboarding patterns, with model discovery guarded in tests and auth wiring consistent with other providers. The main merge blocker spotted is a stray `console.log` added to the Venice config path, which will produce noisy output in normal CLI runs and may expose configuration details.
- src/commands/onboard-auth.config-core.ts
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#10424: feat: Add OVHcloud AI Endpoints as a provider
by eliasto · 2026-02-06
78.3%
#21520: feat(onboard): add Cencori provider.
by bolaabanjo · 2026-02-20
75.5%
#12059: feat(agents): Add Azure AI Foundry credential support
by lisanyambere · 2026-02-08
75.4%
#9123: Feat/smart router backport and custom model provider
by JuliusYang3311 · 2026-02-04
75.2%
#15742: feat: add Edgee AI Gateway as provider
by manthis · 2026-02-13
75.1%
#2429: added cerebras as a model provider.
by kkkamur07 · 2026-01-26
74.9%
#20587: feat: add Tetrate Agent Router Service provider
by RicHincapie · 2026-02-19
74.9%
#7113: feat(providers): add CommonStack provider support
by flhoildy · 2026-02-02
74.6%
#13295: feat: add Eternal AI provider integration
by peterparkernho · 2026-02-10
74.5%
#15991: feat: add Novita AI provider support with dynamic model discovery
by Alex-wuhu · 2026-02-14
74.2%