arize-ai-provider-integration
Original:🇺🇸 English
Translated
INVOKE THIS SKILL when creating, reading, updating, or deleting Arize AI integrations. Covers listing integrations, creating integrations for any supported LLM provider (OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Vertex AI, Gemini, NVIDIA NIM, custom), updating credentials or metadata, and deleting integrations using the ax CLI.
22installs
Sourcearize-ai/arize-skills
Added on
NPX Install
npx skill4agent add arize-ai/arize-skills arize-ai-provider-integrationTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Arize AI Integration Skill
Concepts
- AI Integration = stored LLM provider credentials registered in Arize; used by evaluators to call a judge model and by other Arize features that need to invoke an LLM on your behalf
- Provider = the LLM service backing the integration (e.g., ,
openAI,anthropic)awsBedrock - Integration ID = a base64-encoded global identifier for an integration (e.g., ); required for evaluator creation and other downstream operations
TGxtSW50ZWdyYXRpb246MTI6YUJjRA== - Scoping = visibility rules controlling which spaces or users can use an integration
- Auth type = how Arize authenticates with the provider: (provider API key),
default(proxy via custom headers), orproxy_with_headers(bearer token auth)bearer_token
Prerequisites
Three things are needed: CLI, an API key (env var or profile), and a space ID.
axInstall ax
If is not installed, not on PATH, or below version , see ax-setup.md.
ax0.8.0Verify environment
Run a quick check for credentials:
macOS/Linux (bash):
bash
ax --version && echo "--- env ---" && if [ -n "$ARIZE_API_KEY" ]; then echo "ARIZE_API_KEY: (set)"; else echo "ARIZE_API_KEY: (not set)"; fi && echo "ARIZE_SPACE_ID: ${ARIZE_SPACE_ID:-(not set)}" && echo "--- profiles ---" && ax profiles show 2>&1Windows (PowerShell):
powershell
ax --version; Write-Host "--- env ---"; Write-Host "ARIZE_API_KEY: $(if ($env:ARIZE_API_KEY) { '(set)' } else { '(not set)' })"; Write-Host "ARIZE_SPACE_ID: $env:ARIZE_SPACE_ID"; Write-Host "--- profiles ---"; ax profiles show 2>&1Read the output and proceed immediately if either the env var or the profile has an API key. Only ask the user if both are missing. Resolve failures:
- No API key in env and no profile → AskQuestion: "Arize API key (https://app.arize.com/admin > API Keys)"
- Space ID unknown → run to list all accessible spaces and pick the right one, or AskQuestion if the user prefers to provide it directly
ax spaces list -o json
List AI Integrations
List all integrations accessible in a space:
bash
ax ai-integrations list --space-id SPACE_IDFilter by name (case-insensitive substring match):
bash
ax ai-integrations list --space-id SPACE_ID --name "openai"Paginate large result sets:
bash
# Get first page
ax ai-integrations list --space-id SPACE_ID --limit 20 -o json
# Get next page using cursor from previous response
ax ai-integrations list --space-id SPACE_ID --limit 20 --cursor CURSOR_TOKEN -o jsonKey flags:
| Flag | Description |
|---|---|
| Space to list integrations in |
| Case-insensitive substring filter on integration name |
| Max results (1–100, default 50) |
| Pagination token from a previous response |
| Output format: |
Response fields:
| Field | Description |
|---|---|
| Base64 integration ID — copy this for downstream commands |
| Human-readable name |
| LLM provider enum (see Supported Providers below) |
| |
| Allowed model list, or |
| Whether default models for this provider are allowed |
| Whether tool/function calling is enabled |
| Authentication method: |
Get a Specific Integration
bash
ax ai-integrations get INT_ID
ax ai-integrations get INT_ID -o jsonUse this to inspect an integration's full configuration or to confirm its ID after creation.
Create an AI Integration
Before creating, always list integrations first — the user may already have a suitable one:
bash
ax ai-integrations list --space-id SPACE_IDIf no suitable integration exists, create one. The required flags depend on the provider.
OpenAI
bash
ax ai-integrations create \
--name "My OpenAI Integration" \
--provider openAI \
--api-key "sk-..."Anthropic
bash
ax ai-integrations create \
--name "My Anthropic Integration" \
--provider anthropic \
--api-key "sk-ant-..."Azure OpenAI
bash
ax ai-integrations create \
--name "My Azure OpenAI Integration" \
--provider azureOpenAI \
--api-key "AZURE_API_KEY" \
--base-url "https://my-resource.openai.azure.com/"AWS Bedrock
AWS Bedrock uses IAM role-based auth instead of an API key. Provide the ARN of the role Arize should assume:
bash
ax ai-integrations create \
--name "My Bedrock Integration" \
--provider awsBedrock \
--role-arn "arn:aws:iam::123456789012:role/ArizeBedrockRole"Vertex AI
Vertex AI uses GCP service account credentials. Provide the GCP project and region:
bash
ax ai-integrations create \
--name "My Vertex AI Integration" \
--provider vertexAI \
--project-id "my-gcp-project" \
--location "us-central1"Gemini
bash
ax ai-integrations create \
--name "My Gemini Integration" \
--provider gemini \
--api-key "AIza..."NVIDIA NIM
bash
ax ai-integrations create \
--name "My NVIDIA NIM Integration" \
--provider nvidiaNim \
--api-key "nvapi-..." \
--base-url "https://integrate.api.nvidia.com/v1"Custom (OpenAI-compatible endpoint)
bash
ax ai-integrations create \
--name "My Custom Integration" \
--provider custom \
--base-url "https://my-llm-proxy.example.com/v1" \
--api-key "optional-key-if-needed"Supported Providers
| Provider | Required extra flags |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
Optional flags for any provider
| Flag | Description |
|---|---|
| Comma-separated list of allowed model names; omit to allow all models |
| Enable or disable the provider's default model list |
| Enable or disable tool/function calling support |
After creation
Capture the returned integration ID (e.g., ) — it is needed for evaluator creation and other downstream commands. If you missed it, retrieve it:
TGxtSW50ZWdyYXRpb246MTI6YUJjRA==bash
ax ai-integrations list --space-id SPACE_ID -o json
# or, if you know the ID:
ax ai-integrations get INT_IDUpdate an AI Integration
updatebash
# Rename
ax ai-integrations update INT_ID --name "New Name"
# Rotate the API key
ax ai-integrations update INT_ID --api-key "sk-new-key..."
# Change the model list
ax ai-integrations update INT_ID --model-names "gpt-4o,gpt-4o-mini"
# Update base URL (for Azure, custom, or NIM)
ax ai-integrations update INT_ID --base-url "https://new-endpoint.example.com/v1"Any flag accepted by can be passed to .
createupdateDelete an AI Integration
Warning: Deletion is permanent. Evaluators that reference this integration will no longer be able to run.
bash
ax ai-integrations delete INT_ID --forceOmit to get a confirmation prompt instead of deleting immediately.
--forceTroubleshooting
| Problem | Solution |
|---|---|
| See ax-setup.md |
| API key may not have access to this space. Verify key and space ID at https://app.arize.com/admin > API Keys |
| Run |
| Verify with |
| Credentials were not saved — re-run |
| Evaluator runs fail with LLM errors | Check integration credentials with |
| Cannot change provider after creation — delete and recreate with the correct provider |
Related Skills
- arize-evaluator: Create LLM-as-judge evaluators that use an AI integration → use
arize-evaluator - arize-experiment: Run experiments that use evaluators backed by an AI integration → use
arize-experiment
Save Credentials for Future Use
At the end of the session, if the user manually provided any credentials during this conversation and those values were NOT already loaded from a saved profile or environment variable, offer to save them.
Skip this entirely if:
- The API key was already loaded from an existing profile or env var
ARIZE_API_KEY - The space ID was already set via env var
ARIZE_SPACE_ID
How to offer: Use AskQuestion: "Would you like to save your Arize credentials so you don't have to enter them next time?" with options / .
"Yes, save them""No thanks"If the user says yes:
-
API key — See ax-profiles.md. Runto check the current state, then use
ax profiles showorax profiles createwith the appropriate flags to save the key (and region if relevant).ax profiles update -
Space ID — See ax-profiles.md (Space ID section) to persist it as an environment variable.