Skip to content
Back to skills

Llm And Providers

ASecurity

"Guides agents configuring CrewAI LLM providers, model strings,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
ai-agentspythongoazureapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill llm-and-providers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Llm And Providers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Llm And Providers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-llm-and-providers/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-llm-and-providers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: llm-and-providers
description: "Guides agents configuring CrewAI LLM providers, model strings,
  credentials, base URLs,
  Azure/OpenAI-compatible/Anthropic/Bedrock/Google/Snowflake settings,
  streaming, tool calls, custom BaseLLM implementations, and LiteLLM migration
  caveats."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# LLM and Providers

Use this sub-skill when the task is to configure, validate, migrate, or troubleshoot CrewAI `LLM` objects, provider model strings, API keys, base URLs, structured responses, tool-calling LLM behavior, streaming LLM behavior, context windows, rate-limit knobs, or custom `BaseLLM` implementations.

## Read First

- [Provider reference](references/provider-reference.md) for the current `LLM` constructor shape, provider dispatch rules, model prefixes, credentials, base URL handling, Azure/OpenAI-compatible/Anthropic/Bedrock/Google/Snowflake examples, context-window notes, and LiteLLM fallback rules.
- [Custom LLM](references/custom-llm.md) for implementing `BaseLLM`, required `call()`/`acall()` contracts, function calling, stop words, context windows, error handling, and safe test doubles.
- [Streaming and tool calls](references/streaming-and-tool-calls.md) for `stream=True`, direct `LLM.call()`/`acall()`, Crew/Flow streaming outputs, `function_calling_llm`, response models, and provider compatibility trade-offs.
- [Troubleshooting](references/troubleshooting.md) for missing API keys, wrong prefixes, OpenAI-compatible base URL confusion, streaming/tool-call incompatibility, `response_format` misuse, multimodal mismatch, rate limits, context windows, and LiteLLM migration mistakes.
- [Offline config checker](scripts/check_llm_config.py) for a no-network diagnostic of model/provider/base URL/env-var choices; run `python scripts/check_llm_config.py --help` before using it.

## Boundaries

- Stay here for `LLM(...)` parameters, provider selection, credentials, API keys, base URLs, `api_version`, structured response formats, streaming, direct LLM calls, tool-call provider compatibility, custom LLM classes, and LiteLLM migration.
- Use [../core-runtime/SKILL.md](../core-runtime/SKILL.md) for where to attach `llm`, `manager_llm`, `planning_llm`, `chat_llm`, or `function_calling_llm` on `Agent`, `Crew`, and project runtime definitions.
- Use [../tools-and-mcp/SKILL.md](../tools-and-mcp/SKILL.md) for implementing CrewAI tools, MCP adapters, and tool schema design beyond LLM provider support.
- Use [../files-and-multimodal/SKILL.md](../files-and-multimodal/SKILL.md) for file input payload shapes, upload/cache behavior, MIME constraints, and provider-specific file limits.
- Use [../observability-and-hooks/SKILL.md](../observability-and-hooks/SKILL.md) for tracing, event listeners, transport interceptors, and observability integrations around LLM calls.
- Return to [../../SKILL.md](../../SKILL.md) when a request spans multiple CrewAI capability areas and needs root routing context.

## Safe Defaults

- Prefer explicit `LLM(model="provider/model-name", ...)` objects for non-trivial configuration; plain strings are fine only when defaults and environment variables are already correct.
- Prefer native providers (`openai`, `anthropic`, `gemini`/`google`, `azure`, `bedrock`, `snowflake`, and built-in OpenAI-compatible providers) before adding `crewai[litellm]`.
- Never print, commit, or hard-code real API keys. Use environment variable names or placeholders in examples.
- Validate configuration offline with [scripts/check_llm_config.py](scripts/check_llm_config.py) before running crews that may make network or LLM calls.

Files in this skill

  • SKILL.md3.6 KB
  • references/custom-llm.md7.4 KB
  • references/provider-reference.md10.9 KB
  • references/streaming-and-tool-calls.md7.5 KB
  • references/troubleshooting.md7.6 KB
  • scripts/check_llm_config.py10.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.