npm
gitlab-ai-provider
#154 of 964 in the AI Agent Index
25 Score
Real usage 55
Momentum —
Attention —
About
A comprehensive TypeScript provider for integrating GitLab Duo AI capabilities with the Vercel AI SDK. This package enables seamless access to GitLab's AI-powered features including chat, agentic workflows, and tool calling through a unified interface.
The provider automatically maps specific model IDs to their corresponding provider models (Anthropic or OpenAI) and routes requests to the appropriate AI Gateway proxy:
For unmapped Anthropic model IDs, the provider defaults to claude-sonnet-4-5-20250929.
The provider supports OpenAI GPT-5 models through GitLab's AI Gateway proxy. OpenAI models are automatically detected based on the model ID and routed to the appropriate proxy endpoint.…
Across sources
31.6k Downloads / week
- Downloads / week 31.6k