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
_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:2737
↓ 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:217
↓ 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:133
↓ 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_authenticated
Check if tracing should be enabled.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:193
↓ 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:299
↓ 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
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:482
↓ 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:3489
↓ 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:305
↓ 1 callers
Method
_class_bound_methods
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:922
↓ 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:564
↓ 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:362
↓ 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:286
↓ 1 callers
Method
_client_factory
()
lib/crewai/src/crewai/mcp/tool_resolver.py:450
↓ 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:199
↓ 1 callers
Function
_close_quietly
(fd: int)
lib/cli/src/crewai_cli/experimental/eval_crew.py:1373
↓ 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:1674
↓ 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:332
↓ 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:407
↓ 1 callers
Function
_condition_references
(condition: FlowDefinitionCondition | None, name: str)
lib/crewai/src/crewai/flow/flow_definition.py:893
↓ 1 callers
Function
_condition_satisfied
(condition: FlowDefinitionCondition, events: set[str])
lib/crewai/src/crewai/flow/runtime/__init__.py:184
↓ 1 callers
Function
_condition_type_from_definition
( condition: FlowDefinitionCondition | None, )
lib/crewai/src/crewai/flow/visualization/builder.py:42
↓ 1 callers
Function
_config_from_definition
Build a live ``ConversationConfig`` from its serializable form. Used for flows built from a declaration, which have no class-level ``conversa
lib/crewai/src/crewai/flow/conversational_mixin.py:137
↓ 1 callers
Function
_configured_json_crew_path
()
lib/crewai/src/crewai/utilities/reset_memories.py:46
↓ 1 callers
Method
_confirm_input
Confirm input parameters with the user. Args: env_vars (Dict[str, str]): Environment variables. remote_repo_
lib/cli/src/crewai_cli/deploy/main.py:771
↓ 1 callers
Function
_confirm_platform_revalidation
Ask whether to retry integration validation after AMP is updated.
lib/cli/src/crewai_cli/create_json_crew.py:1288
↓ 1 callers
Function
_connect_timeout
(timeout: Any)
lib/crewai-tools/src/crewai_tools/security/ssrf_adapter.py:43
↓ 1 callers
Function
_content_summary
Return a compact, non-base64 summary of a content block.
scripts/age90_file_input_runner.py:28
↓ 1 callers
Function
_conversation_state_with_defaults
Build the chat state, keeping declared defaults the shape cannot hold. A ``dict`` state's defaults are arbitrary keys, and dropping the ones that
lib/crewai/src/crewai/flow/conversational_mixin.py:166
↓ 1 callers
Method
_conversation_turn_scope
(self, session_id: str)
lib/crewai/src/crewai/agent/conversation.py:53
↓ 1 callers
Function
_convert_a2a_files_to_file_inputs
Convert a2a file types to crewai FileInput dict. Args: a2a_files: List of FileWithBytes or FileWithUri from a2a SDK. Returns:
lib/crewai/src/crewai/a2a/utils/task.py:198
↓ 1 callers
Function
_convert_chromadb_results_to_search_results
Convert ChromaDB query results to SearchResult format. Args: results: ChromaDB query results. include: List of fields that were i
lib/crewai/src/crewai/rag/chromadb/utils.py:205
↓ 1 callers
Function
_convert_distance_to_score
Convert ChromaDB distance to similarity score. Notes: Assuming all embedding are unit-normalized for now, including custom embeddings.
lib/crewai/src/crewai/rag/chromadb/utils.py:180
↓ 1 callers
Method
_convert_field_by_field
(self)
lib/crewai/src/crewai/utilities/training_converter.py:35
↓ 1 callers
Method
_convert_image_blocks
Convert OpenAI-style image_url blocks to Anthropic image blocks. Upstream code (e.g. StepExecutor) uses the standard ``image_url`` fo
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:844
↓ 1 callers
Method
_convert_source_to_docling_documents
(self)
lib/crewai/src/crewai/knowledge/source/crew_docling_source.py:150
↓ 1 callers
Method
_convert_tools_for_interference
Convert CrewAI tool format to Gemini function declaration format.
lib/crewai/src/crewai/llms/providers/gemini/completion.py:616
↓ 1 callers
Method
_convert_tools_for_interference
Convert CrewAI tool format to Azure OpenAI function calling format. Args: tools: List of CrewAI tool definitions Returns
lib/crewai/src/crewai/llms/providers/azure/completion.py:748
↓ 1 callers
Method
_convert_tools_for_interference
Convert CrewAI tool format to Anthropic tool use format.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:700
↓ 1 callers
Method
_convert_tools_to_openai_format
Convert CrewAI tools to OpenAI Assistant tool format. Args: tools: List of CrewAI tools to convert. Returns:
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/openai_agent_tool_adapter.py:68
↓ 1 callers
Method
_copy_and_serialize_state
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:297
↓ 1 callers
Function
_copy_snapshot
Copy Edge sources under ``docs/edge/`` into ``target``. Returns the number of files copied (recursively across directories).
lib/devtools/src/crewai_devtools/docs_versioning.py:143
↓ 1 callers
Method
_cosine_similarity
Compute cosine similarity between two vectors.
lib/crewai/src/crewai/memory/encoding_flow.py:143
↓ 1 callers
Function
_count
(value: Any)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2054
↓ 1 callers
Function
_create_a2a_client
Create and configure an A2A client. Args: agent_card: The A2A agent card. transport_protocol: Transport protocol to use.
lib/crewai/src/crewai/a2a/utils/delegation.py:896
↓ 1 callers
Method
_create_async_browser_session
Create a new async browser session for the specified thread. Args: thread_id: Unique identifier for the thread Returns:
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_session_manager.py:100
↓ 1 callers
Method
_create_crew_from_zip
Create a deployment by uploading a project ZIP archive.
lib/cli/src/crewai_cli/deploy/main.py:722
← previous
next →
3,301–3,400 of 19,482, ranked by callers