AltimateAI / AltimateAI/altimate-code
[FEATURE]: OrcaRouter provider support for altimate-code
- Ngôn ngữ chính
- TypeScript
- Star
- 811
- Fork
- 134
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 50
Mô tả
- [x] I have verified this feature I'm about to request hasn't been suggested before.
### Why this fits altimate-code
altimate-code is the open-source data engineering harness that gives any LLM a deterministic intelligence layer for dbt, SQL, and cloud warehouses. Instead of letting a general coding agent guess at schema, it provides 100+ deterministic tools including SQL anti-pattern detection, column-level lineage, and cross-dialect data parity, so data engineers get answers they can trust across Snowflake, BigQuery, Databricks, and Redshift.
That model-agnostic design is central to how teams run it: altimate supports 35+ providers through a `provider/model-name` config, and its docs recommend pairing an inexpensive model for the read-only Analyst agent with a stronger one for Builder. Offering another provider gives those teams more control over model availability, cost, and latency without leaving the workflow they use every day.
### Proposal
I'm an engineer on the OrcaRouter team. I'd like to propose adding [OrcaRouter](https://www.orcarouter.ai) as an optional provider for altimate-code, sitting alongside existing providers without replacing or changing any of them. It would follow the same shape as the OpenRouter and other OpenAI-compatible entries already in the repo.
OrcaRouter exposes an OpenAI-compatible API and uses standard API-key authentication, which maps cleanly onto altimate's provider config (`provider.` with `apiKey` and `baseURL`). Since CONTRIBUTING says new providers need little or no code and should first be added to the models.dev catalog altimate already reads, the likely integration point is the shared catalog plus an OpenAI-compatible provider entry pointing at OrcaRouter's base URL. This is a proposal for maintainers to evaluate; nothing is implemented or tested yet.
Capabilities that would matter to data teams:
- **Broad model access through one endpoint**: chat, reasoning, and image models from many upstreams behind a single API, so Analyst and Builder agents can each pick an appropriate model without juggling multiple API keys.
- **Automatic routing and provider failover**: keeps long-running SQL analysis and dbt generation jobs from stalling when one upstream provider has an outage.
- **Usage tracking and budgets**: per-team visibility that fits the FinOps mindset altimate already brings to warehouse cost analysis.
OrcaRouter also supports prompt caching, which suits the repeated schema and lineage context these sessions carry. It is already in use across the open-source ecosystem (for example RAGFlow and Dify, and it fits naturally alongside the models.dev/OpenCode catalog projects).
Full transparency: OrcaRouter runs an optional open-source partner program where approved OSS projects can receive a 5% revenue share from OrcaRouter usage attributed to their integration. Participation is not a prerequisite for integrating, and I would follow any disclosure or governance requirements altimate-code prefers.
Other projects built with OrcaRouter are listed at https://www.orcarouter.ai/built-with. I would welcome maintainers' thoughts, and if useful I am glad to submit an implementation PR once approved.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by reading the existing OpenRouter and other OpenAI-compatible provider entries, plus the models.dev catalog path the issue says altimate reads. Check how provider. config maps apiKey and baseURL. Done would require maintainer approval, OrcaRouter added to the shared catalog/provider list, and a tested configuration path for selecting OrcaRouter models.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- sql, typescript
- Lĩnh vực
- ai, data-engineering
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100