/cognigy:llm-providersfrom cognigy
Reference for configuring LLM providers in Cognigy agents: provider names, model strings, connection types, credential resolution, OpenAI-compatible endpoints, and AWS Bedrock models.
Ships in cognigy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
setup_llm creates a brand-new LLM resource and is a last resort. Before calling it, all of these must be true:
list_resources { resourceType: "project" }).list_resources { resourceType: "llm_model", projectId }).connectionId, you attempted to transfer it together with its connection via manage_packages (see the package-management skill).A NiCE-provided model in the target project (isInPlatformLlm: true, shown as "Included by NiCE Cognigy") works without a connection, so it needs no setup_llm and no transfer.
If any step is missing, stop and do it first. To list existing LLMs use list_resources { resourceType: "llm_model", projectId }; to delete one use delete_resource { resourceType: "llm_model", id }.
| provider | modelType examples | Connection type | Notes |
|---|---|---|---|
| openAI | gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini | OpenAIProvider | Requires apiKey (sk-...) |
| anthropic | claude-sonnet-4-0, claude-opus-4-0, claude-3-opus-20240229 | AnthropicProvider | Requires apiKey |
| azureOpenAI | gpt-4o (deployment name) | AzureOpenAIProviderV2 | Requires apiKey, may need connectionId with deployment config |
| gemini-2.0-flash, gemini-1.5-pro | GoogleVertexAIProvider | Requires apiKey | |
| mistral | mistral-small-2503, mistral-medium-latest | MistralProvider | Requires apiKey |
| openAICompatible | custom-model, custom-embedding-model | OpenAICompatibleProvider | Requires apiKey + baseCustomUrl + customModel (see below) |
| awsBedrock | amazon.nova-pro-v1:0, custom-model | AwsBedrockProvider / AwsBedrockProviderIamRole | Requires region + accessKeyId/secretAccessKey or roleArn (see below) |
setup_llm can create different kinds of Cognigy LLM resources. The important distinction is the modelType:
Chat models: used for AI Agents, Knowledge Search, and Answer Extraction.
Examples: gpt-4o, gpt-4o-mini, gpt-4.1, claude-sonnet-4-0, gemini-2.0-flash, mistral-small-2503.
Embedding models: used for knowledge-store vector indexing.
Examples: text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002, luminous-embedding-128, amazon.titan-embed-text-v2:0, Pharia-1-Embedding-4608, gemini-embedding-001, custom-embedding-model.
Speech-to-speech (S2S, also called voice-to-voice or V2V; the model is GPT Live): gpt-live-1, provider openAI only, modelGroup: "voiceToVoice". It is only ever an AI Agent's voice model (manage_agent voiceLargeLanguageModelReferenceId), never a text LLM and never the project default; setup_llm creates it with isDefault: false. On an environment without speech-to-speech, setup_llm returns error: "s2s_not_enabled" and creates nothing. Full recipe: s2s-demo skill.
Chat/completion models are not embedding models. gpt-4o-mini is a chat model, not a valid embedding-model choice for knowledge-store indexing.
When using list_resources { resourceType: "llm_model", projectId }, inspect the returned modelType and select the model by its exact role. Do not infer that all LLMs are interchangeable.
Knowledge Search and Answer Extraction (manage_settings set_knowledge_ai) take same-project llm_model referenceIds that the Cognigy API accepts for that use case — check candidates with list_resources { resourceType: "llm_model", projectId, useCase: "knowledgeSearch" }. Do not call setup_llm as an automatic workaround for a knowledgeSearchModelId failure while same-project candidates still exist.
Use provider openAICompatible for ANY endpoint that speaks the OpenAI API but is not OpenAI itself: vLLM, Hugging Face, LiteLLM, Groq, Together AI, Azure AI Foundry (model router), or self-hosted deployments. Do NOT mislabel these as openAI — without a base URL the connection test hits api.openai.com and fails.
Required parameters:
modelType: exactly custom-model (chat) or custom-embedding-model (embedding) — never the real model namecustomModel: the model name as known by the provider, e.g. llama-3.3-70b-instructbaseCustomUrl: the provider's OpenAI-compatible base URL, e.g. https://my-llm-host.example.com/v1apiKey (or a same-project connectionId)Optional parameters:
customAuthHeader: custom HTTP header name for authentication (e.g. Ocp-Apim-Subscription-Key). When set, the API key is sent in that header instead of Authorization: Bearer <key>.apiType: chatCompletion (default) or responses — only use responses if the provider supports OpenAI's Responses API.Example:
{
"projectId": "<projectId>",
"provider": "openAICompatible",
"modelType": "custom-model",
"customModel": "llama-3.3-70b-instruct",
"baseCustomUrl": "https://my-llm-host.example.com/v1",
"apiKey": "<key>"
}
Notes:
list_resources / get_resource, openAI-compatible models show modelType: "custom-model"; the real model name and endpoint are in the openAICompatible object (customModel, baseCustomUrl, customAuthHeader).Use provider awsBedrock for models hosted on AWS Bedrock (Amazon Nova, Anthropic Claude on Bedrock, Titan embeddings).
Required parameters:
region: AWS region of the Bedrock deployment, e.g. us-east-1modelType: a Bedrock model id from Cognigy's supported list — chat: amazon.nova-pro-v1:0, amazon.nova-lite-v1:0, amazon.nova-micro-v1:0, amazon.nova-2-lite-v1:0; embedding: amazon.titan-embed-text-v2:0. For any other Bedrock model (including Claude) use custom-model and put the model id — or an inference profile id like eu.anthropic.claude-sonnet-4-6 — in customModel. Cognigy's list changes with platform releases (anthropic.claude-3-5-sonnet-20240620-v1:0 was removed in 2026.10); check the deprecations table in the docs if a named id is rejected.apiKey):
accessKeyId + secretAccessKey (access-key auth → AwsBedrockProvider connection) — the standard option, works everywhereroleArn (IAM-role auth → AwsBedrockProviderIamRole connection) — feature-gated: only works when the Cognigy installation has IAM connections enabled for the organisation (FEATURE_ENABLE_IAM_AWS_CONNECTION_WHITELIST); otherwise connection creation is rejected with "This type is not enabled for your installation". Don't steer users here unless they asked for IAM-role auth — default to the key pair.connectionId of an existing same-project connectionOptional parameters:
location: inference-call routing — region (default; requests stay in the given AWS region), geo (routed within a geographic boundary; requires geo), or global (routed worldwide, highest throughput, no data-residency guarantee)geo: required when location is geo — the geographic boundary, e.g. us, eu, apac. The AWS region must lie inside it.Example:
{
"projectId": "<projectId>",
"provider": "awsBedrock",
"modelType": "amazon.nova-pro-v1:0",
"region": "eu-central-1",
"accessKeyId": "<AWS access key id>",
"secretAccessKey": "<AWS secret access key>"
}
When inspecting existing models, the region, routing location/geo, and custom model id are in the awsBedrock object of the response.
Caveat: AWS Bedrock rejects requests with an empty or whitespace-only system prompt (HTTP 400). For AI Agents this applies only when persona, job description, AND instructions are all empty — make sure a Bedrock-backed agent has at least one of them filled.
After creating the model, setup_llm automatically tests the connection by sending a minimal probe to the provider. This catches invalid API keys, wrong model types, and misconfigured providers before they can break downstream flows.
connectionTest.isCredentialsValid: true and the provider's confirmation message.dangerouslySkipConnectionTest: true: the test is not run at all; the model is kept and the response carries a warning that no connectivity check was performed.isDefault: true (the default) makes the new LLM the project default, so AI Agents in the project use it automatically — no extra step.isDefault: false means nothing uses it until you assign it: update_ai_agent { aiAgentId, jobConfig: { llmProviderReferenceId: "<referenceId from the setup_llm response>" } }.If the connection test cannot run in your environment (e.g., air-gapped setup, unsupported custom model provider), you can pass dangerouslySkipConnectionTest: true to skip validation. This is a last resort — it may leave a non-functional model reference that silently breaks agent conversations and knowledge stores. Always prefer fixing the root cause instead. Do not use this to work around a missing, invalid, or cross-project connection.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cognigy/cognigy-plugin --plugin cognigy18 skills in this plugin
/a2a-setupUse when the user explicitly asks for A2A (Agent2Agent), wants an agent to call an external / third-party A2A agent or one in another project or tenant, or wants to expose a Cognigy agent to outside A2A callers. Covers the manage_a2a_server endpoint and the create_tool { toolType: 'a2a' } tool type. NOT for connecting agents that live in the same project — those use the native Handover to AI Agent tool./agent-creationUse when the user wants to build, create, or set up a new Cognigy AI Agent from scratch, or change an agent's settings, skills, tools, knowledge or system prompt, or make it answer faster — covers checking what the environment supports, listing projects, ensuring an LLM exists, creating the agent, testing it, and refining it./agent-red-teamUse when the user wants to red-team, adversarially test, jailbreak-test, or probe the guardrails of a Cognigy AI Agent — covers scoping consent, deriving the agent's policy surface from its config, generating targeted probes, scoring verdicts, and producing a standardised findings report./docs-lookupUse when the user asks how a Cognigy.AI feature, node, endpoint, setting, or concept works, asks for Cognigy documentation, best practices, or release/version behavior, or when you are unsure of platform behavior or valid configuration values and need to consult the official docs before answering or building./environmentsUse when Cognigy tools ask for an "environment", when the user works with several Cognigy environments or tenants (trial, a customer tenant), wants to compare or copy something between environments, or asks how to add another Cognigy environment./flow-nodesUse when adding, editing or debugging custom logic inside a Cognigy tool branch with manage_flow_nodes (code, HTTP Request, if/else and other nodes), or when rendering/visualizing a flow as a diagram — supported node types, config schemas, placement rules, the tool-first workflow, and the render operation.Other plugins' skills for the same job