aiagent.club
中文
npm package

gitlab-ai-provider

Updated 2026-09-12 View source ↗

#39 of 203 by Downloads / week among npm packages

148.0k Downloads / week

GitLab Duo provider for Vercel AI SDK

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.…

Excerpted from www.npmjs.com/package/gitlab-ai-provider

Latest metrics

Downloads / week 148.0k 2026-09-12