Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
↓ 1 callers
Method
_build_sql
( self, column_query: str, v_col: str, vector_dimension: int, metric:
lib/crewai-tools/src/crewai_tools/tools/db2_search_tool/db2_search_tool.py:247
↓ 1 callers
Function
_build_state_definition
(flow_class: type)
lib/crewai/src/crewai/flow/dsl/_utils.py:190
↓ 1 callers
Method
_build_step_action
(self, step: FlowEachStepDefinition)
lib/crewai/src/crewai/flow/runtime/_actions.py:439
↓ 1 callers
Method
_build_system_prompt
Build the Executor's system prompt.
lib/crewai/src/crewai/agents/step_executor.py:269
↓ 1 callers
Method
_build_system_prompt
Build a system prompt for the OpenAI agent. Creates a prompt containing the agent's role, goal, and backstory, then enhances it with
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/openai_adapter.py:89
↓ 1 callers
Method
_build_system_prompt
Build a system prompt for the LangGraph agent. Creates a prompt that includes the agent's role, goal, and backstory, then enhances it
lib/crewai/src/crewai/agents/agent_adapters/langgraph/langgraph_adapter.py:143
↓ 1 callers
Function
_build_table
(sheet: Sheet, index: int, detected: bool)
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:723
↓ 1 callers
Function
_build_task_description
Build task description including structured data if present. Args: user_message: The original user message text. structured_input
lib/crewai/src/crewai/a2a/utils/task.py:270
↓ 1 callers
Method
_build_todo_prompt
Build a focused prompt for executing a single todo. Args: todo: The todo item to build a prompt for. include_dependen
lib/crewai/src/crewai/agents/agent_executor.py:1419
↓ 1 callers
Method
_build_tool
(self)
lib/crewai/src/crewai/flow/runtime/_actions.py:149
↓ 1 callers
Method
_build_user_prompt
Build the user prompt for this specific step.
lib/crewai/src/crewai/agents/step_executor.py:292
↓ 1 callers
Function
_builtin_method
One built-in conversational method, as the code ref the DSL already emits.
lib/crewai/src/crewai/flow/conversational_mixin.py:201
↓ 1 callers
Function
_builtin_methods
The built-in methods a conversational flow needs to run a turn. A Python flow inherits these methods; a declaration has nothing to inherit fr
lib/crewai/src/crewai/flow/conversational_mixin.py:206
↓ 1 callers
Method
_bulk_embed_and_insert_texts
Bulk insert single batch of texts, embeddings, and ids.
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:247
↓ 1 callers
Method
_calculate_loop_likelihood
( self, call_lengths: Sequence[float], response_times: Sequence[float] )
lib/crewai/src/crewai/experimental/evaluation/metrics/reasoning_metrics.py:351
↓ 1 callers
Method
_calculate_text_similarity
(self, text1: str, text2: str)
lib/crewai/src/crewai/experimental/evaluation/metrics/reasoning_metrics.py:260
↓ 1 callers
Method
_calculate_trend
(self, values: Sequence[float | int])
lib/crewai/src/crewai/experimental/evaluation/metrics/reasoning_metrics.py:332
↓ 1 callers
Method
_call_genai
Generate embeddings using the new google-genai SDK.
lib/crewai/src/crewai/rag/embeddings/providers/google/genai_vertex_embedding.py:214
↓ 1 callers
Method
_call_legacy
Generate embeddings using the legacy SDK.
lib/crewai/src/crewai/rag/embeddings/providers/google/genai_vertex_embedding.py:201
↓ 1 callers
Function
_call_method
Call a method, awaiting it if async and running in an event loop.
lib/crewai/src/crewai/project/annotations.py:162
↓ 1 callers
Method
_call_router_llm
( self, llm: Any, *, messages: list[LLMMessage], response_format: type
lib/crewai/src/crewai/flow/conversational_mixin.py:1446
↓ 1 callers
Function
_calls
Count calls to ``.attr(...)`` beneath a node, optionally keyed on arg 2. Used to compare how many spans a method opens against how many of them i
lib/crewai/tests/telemetry/test_telemetry.py:584
↓ 1 callers
Method
_can_deploy_from_amp
Return True when AMP's status says how it holds the code.
lib/cli/src/crewai_cli/deploy/main.py:498
↓ 1 callers
Function
_can_prompt
()
lib/cli/src/crewai_cli/api_keys.py:505
↓ 1 callers
Method
_can_use_last_todo_result_as_final_answer
Determine whether synthesis can be skipped for planning results.
lib/crewai/src/crewai/agents/agent_executor.py:2743
↓ 1 callers
Function
_canonical
``form`` with its provider prefix under the provider's one name.
lib/crewai/src/crewai/llm_overlay.py:244
↓ 1 callers
Function
_captured_sdk_errors
Collect the error messages the oxylabs SDK only writes to its logger. The SDK catches transport and HTTP errors, logs them and hands back an
lib/crewai-tools/src/crewai_tools/tools/oxylabs_base_tool/oxylabs_base_tool.py:51
↓ 1 callers
Function
_carried_error
The error ERROR was raised for, when ERROR only carries one: SystemExit, the JSON crew loader's JSONProjectError, an ImportError raised from a
lib/cli/src/crewai_cli/run_crew.py:789
↓ 1 callers
Function
_carries_payload
Whether a message says anything the provider needs. Text is the usual case, but an assistant turn that only requests tool calls, the tool res
lib/crewai/src/crewai/agent/core.py:264
↓ 1 callers
Function
_carry_cap_under_the_targets_name
Give a configured output-token cap the name ``target`` has for it.
lib/crewai/src/crewai/utilities/llm_utils.py:406
↓ 1 callers
Function
_catalog_provider_prefixes
Return provider prefixes that catalog keys actually use.
lib/crewai/src/crewai/llms/context_window.py:135
↓ 1 callers
Function
_category_row_label
Render an accordion category row with tool/selection counts.
lib/cli/src/crewai_cli/create_json_crew.py:392
↓ 1 callers
Function
_cel_functions
(run_context: _CelRunContext)
lib/crewai/src/crewai/flow/expressions.py:59
↓ 1 callers
Function
_cell_index
(reference: str)
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:538
↓ 1 callers
Function
_charset_from_content_type
Return the charset parameter of a Content-Type header, if it has one.
lib/crewai-tools/src/crewai_tools/tools/url_read_tool/url_read_tool.py:83
↓ 1 callers
Method
_check_agent_entrypoint
(self)
lib/cli/src/crewai_cli/deploy/validate.py:705
↓ 1 callers
Method
_check_bucket_exists
Check if the bucket exists in the linked Couchbase cluster.
lib/crewai-tools/src/crewai_tools/tools/couchbase_tool/couchbase_tool.py:72
↓ 1 callers
Method
_check_config_yamls
(self)
lib/cli/src/crewai_cli/deploy/validate.py:741
↓ 1 callers
Method
_check_connected_account
Check if connected account is required and if required it exists or not.
lib/crewai-tools/src/crewai_tools/tools/composio_tool/composio_tool.py:29
↓ 1 callers
Method
_check_crew_entrypoint
(self)
lib/cli/src/crewai_cli/deploy/validate.py:722
↓ 1 callers
Method
_check_documents_ready
Synchronous check if all documents are ready.
lib/crewai-tools/src/crewai_tools/tools/contextualai_query_tool/contextual_query_tool.py:45
↓ 1 callers
Method
_check_env_vars
Warn about env vars referenced in user code but missing locally. Best-effort only — the platform sets vars server-side, so we never error.
lib/cli/src/crewai_cli/deploy/validate.py:1122
↓ 1 callers
Method
_check_env_vars_json
Check for env var references in JSON crew files.
lib/cli/src/crewai_cli/deploy/validate.py:429
↓ 1 callers
Method
_check_flow_entrypoint
(self)
lib/cli/src/crewai_cli/deploy/validate.py:767
↓ 1 callers
Method
_check_hatch_wheel_target
(self)
lib/cli/src/crewai_cli/deploy/validate.py:783
↓ 1 callers
Method
_check_index_exists
Check if the Search index exists in the linked Couchbase cluster Raises a ValueError if the index does not exist.
lib/crewai-tools/src/crewai_tools/tools/couchbase_tool/couchbase_tool.py:107
↓ 1 callers
Method
_check_json_agents_dir
(self, agents_dir: Path)
lib/cli/src/crewai_cli/deploy/validate.py:414
↓ 1 callers
Method
_check_native_tool_support
Check if LLM supports native function calling.
lib/crewai/src/crewai/agents/agent_executor.py:302
↓ 1 callers
Method
_check_package_dir
(self)
lib/cli/src/crewai_cli/deploy/validate.py:634
↓ 1 callers
Function
_check_platform_app
Check one AMP application with the synchronous platform client.
lib/cli/src/crewai_cli/create_json_crew.py:1149
↓ 1 callers
Function
_check_platform_apps_concurrently
Run independent AMP application checks concurrently.
lib/cli/src/crewai_cli/create_json_crew.py:1164
↓ 1 callers
Function
_check_readable
Resolve ``file_path`` and refuse anything outside the working directory or hidden files.
lib/crewai/src/crewai/artifacts.py:277
↓ 1 callers
Function
_check_refs_are_local
Refuse any ``$ref`` that points outside the schema. Schemas come from agent files, MCP servers and A2A peers; resolving a remote or ``file:``
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:786
↓ 1 callers
Method
_check_required_credentials
Validate that required credentials are present.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:238
↓ 1 callers
Method
_check_scope_and_collection_exists
Check if the scope and collection exists in the linked Couchbase bucket Raises a ValueError if either is not found.
lib/crewai-tools/src/crewai_tools/tools/couchbase_tool/couchbase_tool.py:81
↓ 1 callers
Function
_check_unsupported_type
Check if file type is unsupported and handle error. Args: file: The file being validated. provider_name: Name of the provider.
lib/crewai-files/src/crewai_files/processing/validators.py:494
↓ 1 callers
Method
_check_uv_lock_current
(self, uv_path: str)
lib/cli/src/crewai_cli/deploy/validate.py:588
↓ 1 callers
Method
_checkpoint_state_for_ask
Auto-checkpoint flow state before waiting for user input. If persistence is configured, saves the current state so that ``self.state`
lib/crewai/src/crewai/flow/runtime/__init__.py:3504
↓ 1 callers
Function
_child
(target: Any, token: str)
lib/crewai/src/crewai/agent/conversation.py:100
↓ 1 callers
Method
_chmod
( self, sandbox: Any, path: str, *, mode: str | None, owner: s
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_file_tool.py:453
↓ 1 callers
Method
_chunk_process
Split file into chunks to meet constraints. Args: file: The file to chunk. Returns: Original file if chunkin
lib/crewai-files/src/crewai_files/processing/processor.py:316
↓ 1 callers
Method
_class_bound_methods
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:932
↓ 1 callers
Method
_classify
Map a media type onto the extractor that handles it.
lib/crewai-tools/src/crewai_tools/tools/url_read_tool/url_read_tool.py:235
↓ 1 callers
Function
_classify_guardrail
( record: GuardrailRecord, noul_threshold: float )
scripts/jev_evaluation_runner.py:512
↓ 1 callers
Function
_classify_route
( record: RouteRecord, known_routes: set[str], min_confidence: float )
scripts/jev_evaluation_runner.py:490
↓ 1 callers
Function
_clean_action
Clean action string by removing non-essential formatting characters. Args: text: The action text to clean. Returns: The clea
lib/crewai/src/crewai/agents/parser.py:149
↓ 1 callers
Method
_clean_tool_arguments
Clean tool arguments by removing None values and fixing formats. Args: arguments: Raw tool arguments. Returns:
lib/crewai/src/crewai/mcp/client.py:568
↓ 1 callers
Method
_cleanup_on_error
Cleanup resources when an error occurs during connection. Returns: The exception raised while unwinding the transport, if any. Th
lib/crewai/src/crewai/mcp/client.py:364
↓ 1 callers
Method
_cleanup_orphaned_shards
Sync and remove local shards from dead worker processes.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:818
↓ 1 callers
Method
_clear_auth_tokens
Clear all authentication tokens.
lib/crewai-core/src/crewai_core/settings.py:274
↓ 1 callers
Function
_clear_bus
()
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:232
↓ 1 callers
Method
_clear_or_listeners
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:291
↓ 1 callers
Method
_client_factory
()
lib/crewai/src/crewai/mcp/tool_resolver.py:454
↓ 1 callers
Function
_clipper_says_unavailable
Whether Clipper answered that the selected app is not available.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:334
↓ 1 callers
Function
_clone_message
(msg: dict[str, Any])
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:544
↓ 1 callers
Function
_closable_response
Build a response that records its own URL when closed.
lib/crewai-tools/tests/utilities/test_safe_requests.py:239
↓ 1 callers
Function
_close_quietly
(fd: int)
lib/cli/src/crewai_cli/experimental/eval_crew.py:1527
↓ 1 callers
Function
_code_endpoints
Each endpoint Python source sets to a constant string, as (name, value): a keyword argument (`LLM(base_url=...)`), a dict entry (`client_params`),
lib/cli/src/crewai_cli/api_keys.py:390
↓ 1 callers
Function
_coerce_finish
Coerce an inferred finish reason to the OTel enum value. Used by the inference path in :func:`to_output_messages` where a missing/blank/unspe
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:148
↓ 1 callers
Function
_coerce_input
Best-effort coerce a prompted string to the field's JSON-schema type.
lib/cli/src/crewai_cli/run_declarative_flow.py:488
↓ 1 callers
Function
_coerce_user_message_text
(user_message: str | dict[str, Any] | Any)
lib/crewai/src/crewai/flow/conversation.py:62
↓ 1 callers
Method
_coerce_user_message_text
(user_message: str | dict[str, Any] | Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:1762
↓ 1 callers
Function
_collect
(cls: type[BaseEvent])
lib/crewai/src/crewai/state/event_record.py:41
↓ 1 callers
Function
_collect
(cls: type[BaseEvent])
lib/crewai/src/crewai/state/checkpoint_listener.py:256
↓ 1 callers
Method
_collect_inputs
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:661
↓ 1 callers
Method
_collect_root_identifiers_from
( trees: Iterable[Any], *, local_roots: frozenset[str] )
lib/crewai/src/crewai/flow/expressions.py:506
↓ 1 callers
Method
_collect_task_overrides
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:670
↓ 1 callers
Function
_column_brief
(table: Table, name: str)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:128
↓ 1 callers
Function
_column_letters
(number: int)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:101
↓ 1 callers
Function
_compact
(error: ValueError)
lib/crewai/src/crewai/tools/agent_tools/spreadsheet_tools.py:249
↓ 1 callers
Method
_compact_if_needed
Spawn a background compaction on startup. Called whenever an existing table is opened so that fragments accumulated in previous sessi
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:226
↓ 1 callers
Function
_compare
(series: Column, op: str, target: object)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:520
↓ 1 callers
Method
_compare_with_run
(self, baseline_run: dict[str, Any])
lib/crewai/src/crewai/experimental/evaluation/experiment/result.py:99
↓ 1 callers
Method
_compile_handler
(self)
lib/crewai/src/crewai/flow/runtime/_actions.py:356
↓ 1 callers
Function
_completion
(content: str | None)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:298
↓ 1 callers
Function
_compute_file_hash_streaming
Compute SHA-256 hash from streaming chunks. Args: chunks: Iterator of byte chunks. Returns: Hexadecimal hash string.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:60
↓ 1 callers
Function
_compute_hash_streaming
Compute SHA-256 hash by streaming file content. Args: file_path: Path to the file. Returns: First 16 characters of hex diges
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:84
↓ 1 callers
Method
_condition_matches
(self, condition: str, local_context: LocalContext)
lib/crewai/src/crewai/flow/runtime/_actions.py:431
↓ 1 callers
Function
_condition_references
(condition: FlowDefinitionCondition | None, name: str)
lib/crewai/src/crewai/flow/flow_definition.py:898
↓ 1 callers
Function
_condition_satisfied
(condition: FlowDefinitionCondition, events: set[str])
lib/crewai/src/crewai/flow/runtime/__init__.py:184
← previous
next →
3,501–3,600 of 20,757, ranked by callers