Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

check-crewai-api

БесплатноБез исполняемых скриптовНе проверен

Current crewai 1.15.x API versus the 0.x API that coding assistants remember: imports, Agent/Task/Crew parameters and defaults, kickoff variants, CrewOutput…

crewAIIncот crewAIInc★ 51 звезда на GitHub

Об этом скилле

Check CrewAI API

Load this before writing or reviewing crewai code: it maps what you probably remember to what crewai 1.15.x actually accepts.

Verified against crewai 1.15.22 and 1.15.23 on 2026-10-01. Live-tested with real LLMs on 2026-10-01. Run crewai version first; if the major/minor differs from 1.15, re-verify version-sensitive rows with the ask-docs skill before trusting them.


1. Three rules before you write anything

  1. Unknown keyword arguments are silently ignored. Agent, Task and Crew accept and drop parameters that do not exist. Crew(memory_config={...}) and Task(response_format=Model) construct fine and do nothing. A stale parameter name never raises, so check it exists:

    from crewai import Agent, Crew, Task
    
    assert "response_model" in Task.model_fields      # real field
    assert "response_format" not in Task.model_fields  # silently dropped if passed
    assert "memory_config" not in Crew.model_fields    # silently dropped if passed
    print(sorted(Agent.model_fields)[:5])
    
  2. The installed source wins over any doc, tutorial, or memory. That includes the AGENTS.md that crewai create writes into new projects. When a row below matters, check the installed signature (see verify-installed-api.md).

  3. Assert on structured output at the boundary. Several mistakes below fail quietly with out.pydantic is None while the run reports success.


2. Imports

You probably wrote Current 1.15.x form What the wrong form does
from crewai_tools import BaseTool, tool from crewai.tools import BaseTool, tool ImportError: cannot import name 'BaseTool' from 'crewai_tools'
from crewai.flow.flow import Flow, start, listen, persist from crewai.flow import Flow, start, listen, router, or_, and_, persist ImportError: cannot import name 'persist'
from crewai.task import ConditionalTask from crewai.tasks.conditional_task import ConditionalTask ImportError
from crewai.memory import ShortTermMemory, LongTermMemory, EntityMemory from crewai import Memory ImportError (the classes are gone)
from crewai.utilities.events import crewai_event_bus from crewai.events import BaseEventListener, crewai_event_bus ModuleNotFoundError: No module named 'crewai.utilities.events'
from crewai_tools import CodeInterpreterTool No replacement in crewai - use a sandbox tool or service ImportError (removed)

The current top-level and project imports:

from crewai import Agent, BaseLLM, Crew, CrewOutput, Flow, LLM, Memory, Process, Task, TaskOutput
from crewai.project import CrewBase, after_kickoff, agent, before_kickoff, crew, llm, task, tool
from crewai.tools import BaseTool, tool
from crewai.flow import Flow, and_, listen, or_, persist, router, start
from crewai.knowledge.source.string_knowledge_source import StringKnowledgeSource
from crewai.mcp import MCPServerHTTP, MCPServerSSE, MCPServerStdio
from crewai.events import BaseEventListener, crewai_event_bus

3. Agent, Task, Crew parameters and defaults

Parameter Current value Note
Task.expected_output required Task(description=...) alone raises ValidationError ... expected_output Field required
Agent.max_iter 25 Do not assume 15 or 20
Agent.llm None -> resolved at construction From env MODEL, then MODEL_NAME, then OPENAI_MODEL_NAME, else gpt-4.1-mini
Agent.cache True Only permits caching; it does not turn it on
Crew.cache False Tool-result caching is opt-in: set Crew(cache=True)
Crew.memory False
Crew.process Process.sequential Only sequential and hierarchical exist
Task.guardrail_max_retries 3 max_retries is deprecated (DeprecationWarning)
You probably wrote Current form What the wrong form does
Process.consensual Process.sequential or Process.hierarchical AttributeError
Crew(process=Process.hierarchical, ...) with no manager add manager_llm="openai/gpt-4.1-mini" or manager_agent=... ValidationError: Attribute manager_llm or manager_agent is required
Crew(memory=True, memory_config={...}) Crew(memory=Memory(...)) memory_config is silently ignored
Agent(allow_code_execution=True) / code_execution_mode="unsafe" Remove; use a sandbox tool Deprecated no-ops; allow_code_execution=True emits a DeprecationWarning
Crew(function_calling_llm=...) Remove, or set llm per agent Deprecated, DeprecationWarning
Two async_execution=True tasks with the same agent One agent per concurrent async task RuntimeError: Executor is already running. Cannot invoke the same executor instance concurrently.
from crewai import Agent, Crew, Process, Task

researcher = Agent(
    role="Researcher",
    goal="Find facts about {topi
Полный SKILL.md на GitHub

Установить check-crewai-api в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/source-receipts.mdreferences/verify-installed-api.md

FAQ

Что делает скилл check-crewai-api?

Current crewai 1.15.x API versus the 0.x API that coding assistants remember: imports, Agent/Task/Crew parameters and defaults, kickoff variants, CrewOutput fields, LLM model strings and provider extras, structured output (output_pydantic, response_model, response_format), guardrails, unified Memory, knowledge embedders, the `crewai create crew` wizard vs --classic, reset-memories flags, and removed features. Use when writing, reviewing, or debugging any crewai code, before trusting remembered crewai syntax, or when a user pastes errors like `cannot import name 'BaseTool' from 'crewai_tools'`, `cannot import name 'persist'`, `ShortTermMemory`, `Anthropic native provider not available`, `LiteLLM fallback package is not installed`, `got an unexpected keyword argument 'response_format'`, `OPENAI_API_KEY is required`, `If return type is annotated, it must be Tuple[bool, Any]`, or `result.pydantic is None`.

Как установить скилл check-crewai-api?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл check-crewai-api запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить check-crewai-api с