-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
ai/providerdocumentationImprovements or additions to documentationImprovements or additions to documentationprovider/communitysupport
Description
Description
Overview
In-line with GitLab’s open-core strategy, we want to officially integrate GitLab Duo with the Vercel AI SDK as an AI Provider, operable with GitLab.com and self-hosted GitLab instances. To streamline our user’s journey across tools, GitLab wants to upstream the required provider packages to this repo.
Technical Underpinning
To achieve this strategy, we’ve built our GitLab AI Provider npmjs package to surface GitLab Duo's AI features and tooling within the Vercel AI SDK. More information exists on the package's README.md but here's the highlights
🌟 Features
- 🤖 Agentic Chat: Native tool calling support via GitLab's Anthropic proxy
- 🔐 Multiple Authentication: Support for OAuth, Personal Access Tokens, and OpenCode auth
- 🌐 Self-Hosted Support: Works with both GitLab.com and self-hosted instances
- 📦 Tool Executors: Built-in Anthropic and GitLab API tool executors
- 🔍 Project Detection: Automatic GitLab project detection from git remotes
- 💾 Smart Caching: Project and token caching for optimal performance
- 🎯 Type-Safe: Complete TypeScript definitions with Zod validation
Next Step(s)
- Upstream the GitLab AI SDK provider package: We will submit a PR to upstream the GitLab AI Provider on the AI SDK community provider page, under MIT license. We also want to list it on the official Vercel AI SDK page.
AI SDK Version
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
vglafirov and Reprazent
Metadata
Metadata
Assignees
Labels
ai/providerdocumentationImprovements or additions to documentationImprovements or additions to documentationprovider/communitysupport