Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
↓ 1 callers
Method
_handle_completion
Handle non-streaming content generation.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1270
↓ 1 callers
Method
_handle_completion
Handle non-streaming message completion.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:1105
↓ 1 callers
Method
_handle_completion
Handle non-streaming chat completion.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2356
↓ 1 callers
Method
_handle_conditional_task
( self, task: ConditionalTask, task_outputs: list[TaskOutput], futures: list[t
lib/crewai/src/crewai/crew.py:1657
↓ 1 callers
Method
_handle_crew_planning
Handles the Crew planning by creating detailed step-by-step plans for each task. Returns: A PlannerTaskPydanticOutput containing
lib/crewai/src/crewai/utilities/planning_handler.py:58
↓ 1 callers
Method
_handle_execution_error
Handle execution errors with retry logic (sync path). Args: e: The exception that occurred. task: The task being exec
lib/crewai/src/crewai/agent/core.py:936
↓ 1 callers
Method
_handle_execution_error_async
Handle execution errors with retry logic (async path). Args: e: The exception that occurred. task: The task being exe
lib/crewai/src/crewai/agent/core.py:957
↓ 1 callers
Function
_handle_push_error
Handle push notification errors with consistent event emission. Args: error: The exception that occurred. error_msg: Formatted er
lib/crewai/src/crewai/a2a/updates/push_notifications/handler.py:47
↓ 1 callers
Method
_handle_pydantic_model
(obj: BaseModel)
lib/crewai/src/crewai/utilities/crew_json_encoder.py:44
↓ 1 callers
Method
_handle_regular_feedback
Process regular feedback with iteration loop. Args: current_answer: The agent's current answer. initial_feedback: Ini
lib/crewai/src/crewai/core/providers/human_input.py:237
↓ 1 callers
Method
_handle_regular_feedback_async
Process regular feedback with async iteration loop. Args: current_answer: The agent's current answer. initial_feedbac
lib/crewai/src/crewai/core/providers/human_input.py:289
↓ 1 callers
Method
_handle_response
Return the scraped content, or report why there is none. The oxylabs SDK logs transport and validation errors and hands back an empty
lib/crewai-tools/src/crewai_tools/tools/oxylabs_base_tool/oxylabs_base_tool.py:244
↓ 1 callers
Method
_handle_responses
Handle non-streaming Responses API call.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1239
↓ 1 callers
Function
_handle_run_error
Handle subprocess errors with appropriate messaging. Args: error: The subprocess error that occurred entity_type: The type o
lib/cli/src/crewai_cli/run_crew.py:1386
↓ 1 callers
Method
_handle_streaming_callbacks
Handle callbacks with usage info for streaming responses. Args: callbacks: Optional list of callback functions usage_
lib/crewai/src/crewai/llm.py:1245
↓ 1 callers
Method
_handle_streaming_completion
Handle streaming content generation.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1308
↓ 1 callers
Method
_handle_streaming_completion
Handle streaming chat completion.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1179
↓ 1 callers
Method
_handle_streaming_completion
Handle streaming message completion.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:1259
↓ 1 callers
Method
_handle_streaming_completion
Handle streaming chat completion.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2646
↓ 1 callers
Method
_handle_streaming_response
Handle a streaming response from the LLM. Args: params: Parameters for the completion call callbacks: Optional list o
lib/crewai/src/crewai/llm.py:863
↓ 1 callers
Method
_handle_tool_use_conversation
Handle the complete tool use conversation flow. This implements the proper Anthropic tool use pattern: 1. Claude requests tool use
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:1550
↓ 1 callers
Method
_handle_training_feedback
Process training feedback (single iteration). Args: initial_answer: The agent's initial answer. feedback: Human feedb
lib/crewai/src/crewai/core/providers/human_input.py:215
↓ 1 callers
Method
_handle_training_feedback_async
Process training feedback asynchronously (single iteration). Args: initial_answer: The agent's initial answer. feedba
lib/crewai/src/crewai/core/providers/human_input.py:267
↓ 1 callers
Function
_has_crewai_table
True if ``[tool.crewai]`` exists, even when empty. Distinguishes "declared but empty" from "absent", which :func:`get_crewai_project_config`
lib/crewai-core/src/crewai_core/project.py:324
↓ 1 callers
Method
_has_custom_openai_endpoint
Return whether a custom endpoint is configured explicitly or by env.
lib/crewai/src/crewai/llm.py:605
↓ 1 callers
Function
_has_data_array
Type guard to check if result has data_array attribute. Args: result: The result object to check. Returns: True if result.re
lib/crewai-tools/src/crewai_tools/tools/databricks_query_tool/databricks_query_tool.py:20
↓ 1 callers
Function
_has_hidden_values
(value: Any)
lib/crewai/src/crewai/flow/human_feedback.py:293
↓ 1 callers
Function
_has_project_venv
Return True when the project already has a local uv environment.
lib/cli/src/crewai_cli/run_crew.py:553
↓ 1 callers
Method
_has_running_memory_save_locked
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:2634
↓ 1 callers
Method
_has_unreconciled_anthropic_cache_keys
Detect raw Anthropic usage that still splits cache from ``input_tokens``. The native ``AnthropicCompletion`` provider folds cache read/creati
lib/crewai/src/crewai/types/usage_metrics.py:112
↓ 1 callers
Function
_header_names
(row: list[Cell], width: int)
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:711
↓ 1 callers
Function
_headless_crew
A JSON crew whose kickoff records its inputs and returns a plain result.
lib/cli/tests/test_run_crew.py:880
↓ 1 callers
Function
_highlight_placeholders
(text: str)
lib/cli/src/crewai_cli/create_json_crew.py:362
↓ 1 callers
Function
_holds_a_workbook
(archive_file: Path | io.BytesIO)
lib/crewai-files/src/crewai_files/spreadsheets/__init__.py:183
↓ 1 callers
Function
_human_ts
Turn '2026-04-17 17:05:00' into a short relative label.
lib/cli/src/crewai_cli/checkpoint_tui.py:63
↓ 1 callers
Method
_import_dependencies
Dynamically import dependencies.
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:133
↓ 1 callers
Method
_import_pdfplumber
Dynamically import pdfplumber.
lib/crewai/src/crewai/knowledge/source/pdf_knowledge_source.py:30
↓ 1 callers
Function
_import_project_python_reference
( path: str, source: str | Path, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:743
↓ 1 callers
Method
_import_sandbox_class
Return the Sandbox class used by this tool. Subclasses override this to swap in a different SDK (e.g. the code interpreter sandbox).
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:108
↓ 1 callers
Function
_import_tool_class
(mod_path: str, class_name: str)
lib/crewai/src/crewai/project/json_loader.py:2021
↓ 1 callers
Function
_import_yaml
()
lib/cli/src/crewai_cli/agent_tools.py:202
↓ 1 callers
Method
_infer_dim_from_table
Read vector dimension from an existing table's schema.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:142
↓ 1 callers
Function
_inflated_size
The member's real inflated size, counted chunk by chunk against ``budget``, so a size the archive declares falsely never matters.
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:335
↓ 1 callers
Method
_info
(self, sandbox: Any, path: str)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_file_tool.py:419
↓ 1 callers
Method
_info
(self, sandbox: Any, path: str)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_file_tool.py:194
↓ 1 callers
Method
_init_genai_client
Initialize using the new google-genai SDK.
lib/crewai/src/crewai/rag/embeddings/providers/google/genai_vertex_embedding.py:146
↓ 1 callers
Method
_init_legacy_client
Initialize using the deprecated vertexai.language_models SDK.
lib/crewai/src/crewai/rag/embeddings/providers/google/genai_vertex_embedding.py:112
↓ 1 callers
Method
_init_run
(self)
lib/crewai-tools/src/crewai_tools/tools/patronus_eval_tool/patronus_eval_tool.py:37
↓ 1 callers
Method
_initialize
Initialize the event bus internal state. Creates handler dictionaries. The thread pool executor and event loop are lazily initialized
lib/crewai/src/crewai/events/event_bus.py:145
↓ 1 callers
Method
_initialize_agents
(self)
lib/crewai/src/crewai/rag/storage/base_rag_storage.py:28
↓ 1 callers
Method
_initialize_crew_batch
Initialize trace batch. Args: source: Source object that triggered the event. event: Event object containing crew inf
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:854
↓ 1 callers
Method
_initialize_crew_instance
Initialize crew instance attributes and load configurations. Args: instance: Crew instance to initialize. cls: Crew c
lib/crewai/src/crewai/project/crew_base.py:244
↓ 1 callers
Method
_initialize_db
Initialize the SQLite database and create the latest_kickoff_task_outputs table. This method sets up the database schema for storing task out
lib/crewai/src/crewai/memory/storage/kickoff_task_outputs_storage.py:32
↓ 1 callers
Method
_initialize_embedding_function
Initialize the embedding function using CrewAI's factory.
lib/crewai-tools/src/crewai_tools/rag/embedding_service.py:118
↓ 1 callers
Method
_initialize_firecrawl
(self)
lib/crewai-tools/src/crewai_tools/tools/firecrawl_search_tool/firecrawl_search_tool.py:81
↓ 1 callers
Method
_initialize_firecrawl
(self)
lib/crewai-tools/src/crewai_tools/tools/firecrawl_crawl_website_tool/firecrawl_crawl_website_tool.py:82
↓ 1 callers
Method
_initialize_flow_batch
Initialize trace batch for Flow execution. Args: source: Source object that triggered the event. event: Event object
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:907
↓ 1 callers
Method
_initialize_path
Initialize the file path based on the input type. Args: file_path: Path to the log file or boolean flag. Raises:
lib/crewai/src/crewai/utilities/file_handler.py:44
↓ 1 callers
Method
_initialize_patronus
(self, patronus_client: Any)
lib/crewai-tools/src/crewai_tools/tools/patronus_eval_tool/patronus_local_evaluator_tool.py:56
↓ 1 callers
Method
_initialize_runtime_extension_attrs
Initialize optional runtime-extension attributes.
lib/crewai/src/crewai/flow/runtime/__init__.py:460
↓ 1 callers
Method
_initialize_snowflake
(self)
lib/crewai-tools/src/crewai_tools/tools/snowflake_search_tool/snowflake_search_tool.py:121
↓ 1 callers
Method
_initialize_tables
Initialize and validate the tables that this tool will work with. Args: tables: List of table names to validate and use
lib/crewai-tools/src/crewai_tools/tools/singlestore_search_tool/singlestore_search_tool.py:277
↓ 1 callers
Method
_inject_mcp_tools
( self, tools: list[BaseTool], task_agent: BaseAgent, )
lib/crewai/src/crewai/crew.py:1791
↓ 1 callers
Method
_inject_memory_context
Recall relevant memories and append to the system message. No-op if _memory is None.
lib/crewai/src/crewai/lite_agent.py:599
↓ 1 callers
Method
_inject_platform_tools
( self, tools: list[BaseTool], task_agent: BaseAgent, )
lib/crewai/src/crewai/crew.py:1779
↓ 1 callers
Method
_inject_todo_context
Inject todo-specific context into the conversation. Args: todo: The todo item to inject context for.
lib/crewai/src/crewai/agents/agent_executor.py:1399
↓ 1 callers
Method
_inject_trigger_payload_for_start_method
( self, original_method: Callable[..., Any] )
lib/crewai/src/crewai/flow/runtime/__init__.py:2902
↓ 1 callers
Function
_inline_top_level_ref
Resolve only the top-level ``$ref``, preserving ``$defs`` for lazy inner resolution. Used as a fallback when ``jsonref.replace_refs`` fails on ci
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:778
↓ 1 callers
Function
_input_file_path
(value)
lib/crewai/tests/project/test_crew_loader.py:65
↓ 1 callers
Function
_input_files_definition_errors
( value: Any, source: str | Path, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1769
↓ 1 callers
Function
_instance_cache
Return the cache of the instance a memoized method is called on. Results live on the instance rather than in a module-level cache keyed by ``
lib/crewai/src/crewai/project/utils.py:38
↓ 1 callers
Function
_instance_to_dotted_path
Serialize an instance to a dotted path naming its class.
lib/crewai/src/crewai/types/callback.py:148
↓ 1 callers
Function
_instantiate_tool_import_ref
(ref: str)
lib/crewai/src/crewai/project/json_loader.py:1958
↓ 1 callers
Method
_invoke_guardrail_function
( self, task_output: TaskOutput, agent: BaseAgent, tools: list[BaseTool],
lib/crewai/src/crewai/task.py:1425
↓ 1 callers
Function
_invoke_hook
Run a single hook and apply its result via the reducer. Returns whether the context was modified. Raises :class:`HookAborted` (with ``source`
lib/crewai/src/crewai/hooks/dispatch.py:265
↓ 1 callers
Method
_is_anthropic_model
Determine if the model is from Anthropic provider. Args: model: The model identifier string. Returns: bool:
lib/crewai/src/crewai/llm.py:748
↓ 1 callers
Method
_is_any_available_memory
Check if unified memory is available (agent or crew).
lib/crewai/src/crewai/agent/core.py:684
↓ 1 callers
Function
_is_any_table_header
True if ``line`` opens any TOML table or array-of-tables.
lib/crewai-core/src/crewai_core/project.py:507
↓ 1 callers
Function
_is_awaitable
Type narrowing check for awaitable values.
lib/crewai/src/crewai/tools/base_tool.py:118
↓ 1 callers
Function
_is_condition
(value: Any)
lib/crewai/src/crewai/flow/dsl/_conditions.py:43
↓ 1 callers
Function
_is_coroutine
Check if obj is a coroutine for type narrowing.
lib/crewai/src/crewai/tasks/llm_guardrail.py:18
↓ 1 callers
Function
_is_crewai_dep
Return True if *spec* is a ``crewai`` or ``crewai[...]`` dependency.
lib/devtools/src/crewai_devtools/cli.py:602
↓ 1 callers
Method
_is_css_element_empty
(self, css_element: str | None)
lib/crewai-tools/src/crewai_tools/tools/selenium_scraping_tool/selenium_scraping_tool.py:158
↓ 1 callers
Function
_is_generated_description
Report whether a description came from :func:`_build_description`. Args: description: The description to inspect. Returns: T
lib/crewai-tools/src/crewai_tools/tools/wait_tool/wait_tool.py:62
↓ 1 callers
Method
_is_in_asyncio_loop
Check if we're currently in an asyncio event loop.
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_toolkit.py:118
↓ 1 callers
Function
_is_index_ready
Check for the index name in the list of available search indexes to see if the specified index is of status READY. Args: collection (
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/utils.py:87
↓ 1 callers
Function
_is_interactive
Prompt only in an interactive terminal, never in non-interactive mode.
lib/cli/src/crewai_cli/run_declarative_flow.py:434
↓ 1 callers
Function
_is_json_crew_project
Return True for JSON crew projects that do not need package install.
lib/cli/src/crewai_cli/install_crew.py:10
↓ 1 callers
Function
_is_json_serializable
(value: Any)
lib/crewai/src/crewai/flow/dsl/_utils.py:129
↓ 1 callers
Method
_is_legacy_model
Check if the model uses the legacy SDK.
lib/crewai/src/crewai/rag/embeddings/providers/google/genai_vertex_embedding.py:106
↓ 1 callers
Function
_is_local_collector
(hostname: str)
lib/crewai/src/crewai/telemetry/tracing/grants.py:186
↓ 1 callers
Function
_is_message_array
(parsed: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:510
↓ 1 callers
Function
_is_multi_event_or
( condition: FlowDefinitionCondition, )
lib/crewai/src/crewai/flow/runtime/__init__.py:265
↓ 1 callers
Function
_is_nested_sequence
(value: Any)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:86
↓ 1 callers
Method
_is_nullable_type
Check if a schema represents a nullable type.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:226
↓ 1 callers
Function
_is_qdrant_config
Check if config is a QdrantConfig using safe duck typing. Args: config: RAG configuration to check. Returns: True if config
lib/crewai-tools/src/crewai_tools/adapters/crewai_rag_adapter.py:28
↓ 1 callers
Function
_is_resuming_agent_executor
Type guard: True when the executor is resuming from a checkpoint.
lib/crewai/src/crewai/agent/core.py:173
↓ 1 callers
Function
_is_retryable
Return True for transient failures that are worth retrying. * 429 + RATE_LIMITED — the per-second sliding window is full. * 5xx — transien
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:51
↓ 1 callers
Function
_is_search_character
(key: str)
lib/cli/src/crewai_cli/tui_picker.py:203
↓ 1 callers
Function
_is_sensitive_header
(header: str)
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:43
← previous
next →
3,701–3,800 of 19,482, ranked by callers