Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

3.0 KB
Raw Blame
# pipelex-api: this is the kit's `inference/backends.toml` from the pipelex of this repository, re-synced
# by `make kit-sync`. Only the `enabled` switches are this image's own choice, and the sync keeps them;
# any other edit is reported as drift by `make kit-check`.
#
####################################################################################################
# Pipelex Inference Backends Configuration
####################################################################################################
#
# This file configures the inference backends available to Pipelex.
# Each backend connects to a different AI service provider (OpenAI, Anthropic, Google, etc.).
#
# Documentation: https://docs.pipelex.com
# Support: https://go.pipelex.com/discord
#
####################################################################################################

[anthropic]
enabled = false
api_key = "${ANTHROPIC_API_KEY}"

[azure_openai]
display_name = "Azure OpenAI"
enabled = false
endpoint = "${AZURE_API_BASE}"
api_key = "${AZURE_API_KEY}"
api_version = "${AZURE_API_VERSION}"

[bedrock]
display_name = "Amazon Bedrock"
enabled = false
aws_region = "${AWS_REGION}"

[blackboxai]
display_name = "BlackBox AI"
enabled = false
endpoint = "https://api.blackbox.ai/v1"
api_key = "${BLACKBOX_API_KEY}"

[fal]
display_name = "FAL"
enabled = false
api_key = "${FAL_API_KEY}"

[google]
display_name = "Google AI"
enabled = false
api_key = "${GOOGLE_API_KEY}"

[groq]
display_name = "Groq"
enabled = false
endpoint = "https://api.groq.com/openai/v1"
api_key = "${GROQ_API_KEY}"

[huggingface]
display_name = "Hugging Face"
enabled = false
api_key = "${HF_TOKEN}"

[linkup]
display_name = "Linkup"
enabled = false
api_key = "${LINKUP_API_KEY}"

[minimax]
display_name = "MiniMax"
enabled = false
endpoint = "https://api.minimax.io/anthropic"
api_key = "${MINIMAX_API_KEY}"

[mistral]
display_name = "Mistral AI"
enabled = false
api_key = "${MISTRAL_API_KEY}"

[ollama]
enabled = false
endpoint = "http://localhost:11434/v1"

[openai]
display_name = "OpenAI"
enabled = true
api_key = "${OPENAI_API_KEY}"

[openrouter]
display_name = "OpenRouter"
enabled = false
endpoint = "https://openrouter.ai/api/v1"
api_key = "${OPENROUTER_API_KEY}"

[portkey]
display_name = "Portkey"
enabled = false
endpoint = "https://api.portkey.ai/v1"
api_key = "${PORTKEY_API_KEY}"

[scaleway]
display_name = "Scaleway"
enabled = false
endpoint = "${SCALEWAY_ENDPOINT}"
api_key = "${SCALEWAY_API_KEY}"

[typesafe]
display_name = "TypeSafe"
enabled = false
api_key = "${TYPESAFE_API_KEY}"

[vertexai]
display_name = "Google Vertex AI"
enabled = false                                            # This is the only one we disable because setting it up requires internet access just to get credentials so it fails in CI sandboxes
gcp_project_id = "${GCP_PROJECT_ID}"
gcp_location = "${GCP_LOCATION}"
gcp_credentials_file_path = "${GCP_CREDENTIALS_FILE_PATH}"

[xai]
display_name = "xAI"
enabled = false
endpoint = "https://api.x.ai/v1"
api_key = "${XAI_API_KEY}"

[internal] # software-only backend, runs internally, without AI
enabled = true