Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
↓ 2 callers
Method
_get_connection
Get a connection from the pool or create a new one.
lib/crewai-tools/src/crewai_tools/tools/snowflake_search_tool/snowflake_search_tool.py:160
↓ 2 callers
Method
_get_connection
Get a connection from the connection pool. Returns: Connection: A SingleStore database connection Raises: Ex
lib/crewai-tools/src/crewai_tools/tools/singlestore_search_tool/singlestore_search_tool.py:323
↓ 2 callers
Method
_get_context
(task: Task, task_outputs: list[TaskOutput])
lib/crewai/src/crewai/crew.py:1896
↓ 2 callers
Method
_get_coworker
(coworker: str | None, **kwargs: Any)
lib/crewai/src/crewai/tools/agent_tools/base_agent_tools.py:38
↓ 2 callers
Method
_get_default_api_key
Get default API key from environment variables.
lib/crewai-tools/src/crewai_tools/rag/embedding_service.py:95
↓ 2 callers
Method
_get_device_code
Request a device code from the provider.
lib/crewai-core/src/crewai_core/auth/oauth2.py:111
↓ 2 callers
Method
_get_field_default
Get default value from a FieldInfo, handling both default and default_factory.
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:112
↓ 2 callers
Function
_get_file_path
Get the filesystem path if file source is FilePath. Args: file: The file input to check. Returns: Path if source is FilePath
lib/crewai-files/src/crewai_files/uploaders/gemini.py:75
↓ 2 callers
Function
_get_file_size
Get file size without reading content if possible. Args: file: The file to get size for. Returns: File size in bytes, or Non
lib/crewai-files/src/crewai_files/uploaders/openai.py:46
↓ 2 callers
Function
_get_flow_method_definition
(method: Any)
lib/crewai/src/crewai/flow/dsl/_utils.py:101
↓ 2 callers
Function
_get_formatter
Get formatter for provider. Args: provider_lower: Lowercase provider name. api: API variant (e.g., "responses" for OpenAI Respons
lib/crewai-files/src/crewai_files/formatting/api.py:310
↓ 2 callers
Function
_get_hitl_prompt
(key: str)
lib/crewai/src/crewai/flow/human_feedback.py:258
↓ 2 callers
Method
_get_image_format
Get Bedrock image format from content type. Args: content_type: MIME type. Returns: Format string for Bedroc
lib/crewai-files/src/crewai_files/formatting/bedrock.py:188
↓ 2 callers
Method
_get_last_user_content
Get the last user message content from _messages for recall/input.
lib/crewai/src/crewai/lite_agent.py:591
↓ 2 callers
Method
_get_max_step_iterations
Get max step iterations from planning config or default to 15.
lib/crewai/src/crewai/agents/agent_executor.py:766
↓ 2 callers
Method
_get_memory_systems
Get all available memory systems with their configuration. Returns: Dict containing all memory systems with their reset functions
lib/crewai/src/crewai/crew.py:2511
↓ 2 callers
Method
_get_mode
Get the mode mode for a file. Args: file: The file to get mode for. Returns: The file's mode mode, defaultin
lib/crewai-files/src/crewai_files/processing/processor.py:92
↓ 2 callers
Method
_get_model_api_key
Get the appropriate API key based on the model being used.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:259
↓ 2 callers
Function
_get_param_count
Return the number of parameters a handler accepts, with caching. Falls back to uncached introspection for unhashable handlers like functools.
lib/crewai/src/crewai/events/utils/handlers.py:18
↓ 2 callers
Function
_get_resolver_config
Get resolver config for provider. Args: provider_lower: Lowercase provider name. prefer_upload_override: Override for prefer_uplo
lib/crewai-files/src/crewai_files/formatting/api.py:279
↓ 2 callers
Function
_get_schema_generator
Get a SchemaGenerator that omits non-serializable defaults.
lib/crewai/src/crewai/utilities/project_utils.py:521
↓ 2 callers
Function
_get_span_duration_ms
(span: Span, end_event: Any)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:737
↓ 2 callers
Method
_get_step_timeout
Get per-step timeout from planning config or default to None.
lib/crewai/src/crewai/agents/agent_executor.py:773
↓ 2 callers
Function
_get_supported_types
Get list of supported MIME type prefixes from constraints. Args: constraints: Provider constraints. Returns: List of MIME ty
lib/crewai-files/src/crewai_files/formatting/api.py:228
↓ 2 callers
Method
_get_system_prompt
Get the system prompt for planning. Returns: The system prompt, either custom or from I18N_DEFAULT.
lib/crewai/src/crewai/utilities/reasoning_handler.py:478
↓ 2 callers
Function
_get_tls_verify
Get TLS verify parameter from auth scheme. Args: auth: Optional authentication scheme with TLS config. Returns: SSL context,
lib/crewai/src/crewai/a2a/utils/agent_card.py:43
↓ 2 callers
Method
_get_transfer_config
Get boto3 TransferConfig for multipart uploads.
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:227
↓ 2 callers
Function
_get_turn_context
Get context for a delegation turn. Returns: Tuple of (agent_branch, accepted_output_modes).
lib/crewai/src/crewai/a2a/wrapper.py:994
↓ 2 callers
Function
_git
(cwd, *args: str)
lib/cli/tests/test_git.py:160
↓ 2 callers
Method
_gracefully_fail
Handle errors gracefully without disrupting user experience.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:234
↓ 2 callers
Method
_handle_api_error
Handle API errors with appropriate logging and events. Args: error: The exception that occurred from_task: Task that
lib/crewai/src/crewai/llms/providers/azure/completion.py:444
↓ 2 callers
Method
_handle_client_error
Handle AWS ClientError with specific error codes and return error message.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2185
↓ 2 callers
Method
_handle_completion
Handle non-streaming chat completion.
lib/crewai/src/crewai/llms/providers/azure/completion.py:974
↓ 2 callers
Method
_handle_completion_error
Handle completion-specific errors including context length checks. Args: error: The exception that occurred from_task
lib/crewai/src/crewai/llms/providers/azure/completion.py:482
↓ 2 callers
Method
_handle_converse
Handle non-streaming converse API call following AWS best practices.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:705
↓ 2 callers
Method
_handle_crew_training_output
Handle training output.
lib/crewai/src/crewai/core/providers/human_input.py:38
↓ 2 callers
Method
_handle_human_feedback
Process human feedback and refine answer. Args: formatted_answer: Initial agent result. Returns: Final answe
lib/crewai/src/crewai/agents/agent_executor.py:3553
↓ 2 callers
Function
_handle_max_turns_exceeded
Handle the case when max turns is exceeded. Shared logic for both sync and async delegation. Returns: Final message if found in hist
lib/crewai/src/crewai/a2a/wrapper.py:763
↓ 2 callers
Method
_handle_streaming_tool_calls
( self, tool_calls: list[ChatCompletionDeltaToolCall], accumulated_tool_args: defaultd
lib/crewai/src/crewai/llm.py:1195
↓ 2 callers
Method
_handle_structured_output_tool_call
Validate and emit event for structured_output tool call. Args: structured_data: The arguments passed to the structured_output too
lib/crewai/src/crewai/llms/providers/gemini/completion.py:899
↓ 2 callers
Function
_handle_task_completion
Handle task completion state including reference task updates. When a remote task completes, this function: 1. Adds the completed task_id to
lib/crewai/src/crewai/a2a/wrapper.py:1068
↓ 2 callers
Function
_handler_for
The handler `setup_listeners` actually registered for an event type. Called directly rather than through ``bus.emit``. ``emit`` carries its own
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:267
↓ 2 callers
Method
_has_custom_openai_base_url
Return whether this call explicitly configures a custom endpoint.
lib/crewai/src/crewai/llm.py:600
↓ 2 callers
Function
_has_sql_comment
Return True if *sql* contains a comment marker anywhere. Read-only validation refuses commented statements rather than stripping or skipping
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:78
↓ 2 callers
Method
_headers
()
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:225
↓ 2 callers
Function
_hook_verbose
Whether swallowed-hook-error warnings should be printed. Mirrors the pre-dispatcher behavior where a failing tool hook surfaced a warning whe
lib/crewai/src/crewai/hooks/tool_hooks.py:164
↓ 2 callers
Function
_host
(url: str)
lib/cli/src/crewai_cli/api_keys.py:479
↓ 2 callers
Method
_http_client
A client that reaches AMP through the machine's proxy and CA, not a project's .env.
lib/crewai-core/src/crewai_core/plus_api.py:297
↓ 2 callers
Function
_http_status_error
(status_code: int)
lib/crewai/tests/mcp/test_client_connect_auth.py:46
↓ 2 callers
Function
_id_in_filter
Build an ``id IN (...)`` predicate that matches each ID literally.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:49
↓ 2 callers
Function
_image_file
()
lib/crewai-files/tests/test_bedrock_async_client.py:54
↓ 2 callers
Method
_import_sdk
(cls)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:105
↓ 2 callers
Function
_in_a_project
A cwd that `crewai run` accepts, so execution reaches the backfill call.
lib/crewai/tests/cli/test_project_id_backfill.py:116
↓ 2 callers
Method
_index_exists
( self, index_name: str, table_name: str | None = None, owner: str | None = No
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:621
↓ 2 callers
Function
_info_sqlite_id
(db_path: str, checkpoint_id: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:325
↓ 2 callers
Function
_info_sqlite_latest
(db_path: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:312
↓ 2 callers
Function
_init_delegation_state
Initialize delegation state from context and agent cards. Args: ctx: Delegation context with config and settings. agent_cards: Pr
lib/crewai/src/crewai/a2a/wrapper.py:968
↓ 2 callers
Method
_init_responses_delegate
Create an OpenAICompletion delegate for the Azure OpenAI Responses API. The Azure OpenAI Responses API uses the standard OpenAI Python SDK
lib/crewai/src/crewai/llms/providers/azure/completion.py:195
↓ 2 callers
Method
_init_trace
Initialize a trace entry. Args: trace_key: The key to store the trace under. **kwargs: Trace metadata to store.
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:167
↓ 2 callers
Method
_initialize_client
Initialize the Google Gen AI client with proper parameter handling. Args: use_vertexai: Whether to use Vertex AI (from environmen
lib/crewai/src/crewai/llms/providers/gemini/completion.py:242
↓ 2 callers
Method
_initialize_state
Initialize or update flow state with new inputs. Args: inputs: Dictionary of state values to set/update Raises:
lib/crewai/src/crewai/flow/runtime/__init__.py:1891
↓ 2 callers
Method
_inject_delegation_tools
( self, tools: list[BaseTool], task_agent: BaseAgent, agents: Sequence[BaseAge
lib/crewai/src/crewai/crew.py:1768
↓ 2 callers
Method
_inject_files_from_inputs
Inject files into the last user message. Args: inputs: Input dictionary that may contain a 'files' key.
lib/crewai/src/crewai/agents/agent_executor.py:3492
↓ 2 callers
Function
_input_msg
(raw: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:302
↓ 2 callers
Function
_install_project_dependencies_if_needed
Prepare project dependencies without mutating existing lockfiles.
lib/cli/src/crewai_cli/run_crew.py:559
↓ 2 callers
Method
_install_repo
Download and extract a template repo into the current directory. Args: repo_name: Full GitHub repo name (e.g. template_deep_resea
lib/cli/src/crewai_cli/remote_template/main.py:108
↓ 2 callers
Function
_instantiate_agent_from_data
Resolve the agent class and kwargs from definition data and instantiate it.
lib/crewai/src/crewai/project/json_loader.py:217
↓ 2 callers
Method
_invoke_loop
Invoke the agent loop and return the result.
lib/crewai/src/crewai/core/providers/human_input.py:30
↓ 2 callers
Function
_is_a_link
A symbolic link, or a Windows junction, which `is_symlink` misses.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2557
↓ 2 callers
Method
_is_azure_openai_endpoint
(endpoint: str | None)
lib/crewai/src/crewai/llms/providers/azure/completion.py:162
↓ 2 callers
Function
_is_cacheable
Whether a provider's resolved catalog may be cached. Ollama is a local server (``/api/tags`` is fast), and its installed models change out-of
lib/cli/src/crewai_cli/model_catalog.py:607
↓ 2 callers
Method
_is_claude_model
(self)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:162
↓ 2 callers
Function
_is_excluded
Return True when a file should be omitted from deployment ZIPs.
lib/cli/src/crewai_cli/deploy/archive.py:117
↓ 2 callers
Function
_is_fine_tune
A user fine-tune or training checkpoint (``ft:...`` / ``...:ckpt-step-N``). These are account-specific artifacts: they clutter the picker, crowd
lib/cli/src/crewai_cli/model_catalog.py:489
↓ 2 callers
Method
_is_inside_active_flow_context
True when ``kickoff_async`` has set ``current_flow_id`` (nested crew).
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:826
↓ 2 callers
Function
_is_interactive_terminal
Check if stdin is an interactive terminal. Returns False in non-interactive contexts (CI, API servers, Docker, etc.) to avoid blocking on pro
lib/crewai/src/crewai/events/listeners/tracing/utils.py:511
↓ 2 callers
Function
_is_ipv4_pattern
Check if a string matches an IPv4 address pattern. Args: name: The string to check Returns: True if the string matches an IP
lib/crewai/src/crewai/rag/chromadb/utils.py:284
↓ 2 callers
Function
_is_listed_private_host
Whether *hostname* matches an entry of the private-host allowlist.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:255
↓ 2 callers
Function
_is_missing_crewai_package
(exc: ModuleNotFoundError)
lib/cli/src/crewai_cli/run_crew.py:146
↓ 2 callers
Method
_is_router
(self, method_name: FlowMethodName)
lib/crewai/src/crewai/flow/runtime/__init__.py:602
↓ 2 callers
Function
_is_save_to_memory_tool
(tool_name: str | None)
lib/cli/src/crewai_cli/crew_run_tui.py:55
↓ 2 callers
Method
_is_step_observation_payload
(payload: Any)
lib/cli/src/crewai_cli/crew_run_tui.py:2420
↓ 2 callers
Function
_is_string_list
(value: Any)
lib/crewai/src/crewai/project/json_loader.py:1726
↓ 2 callers
Function
_is_string_list
Type guard to check if list contains strings rather than BaseTool instances. Args: value: List that may contain strings or BaseTool insta
lib/crewai/src/crewai/project/crew_base.py:169
↓ 2 callers
Method
_is_telemetry_disabled
Check if telemetry should be disabled based on environment variables.
lib/crewai/src/crewai/telemetry/telemetry.py:133
↓ 2 callers
Method
_is_training_mode
Check if training mode is active.
lib/crewai/src/crewai/core/providers/human_input.py:34
↓ 2 callers
Method
_is_training_mode
Check if training mode is active. Returns: True if in training mode.
lib/crewai/src/crewai/agents/agent_executor.py:3642
↓ 2 callers
Function
_is_version_slug
(value: str)
scripts/docs/prefix_version_paths.py:57
↓ 2 callers
Function
_iter_as_paren_matches
Yield regex matches for ``AS\\s*(`` outside of string literals.
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:97
↓ 2 callers
Function
_iter_condition_events
(condition: FlowDefinitionCondition)
lib/crewai/src/crewai/flow/runtime/__init__.py:243
↓ 2 callers
Function
_iter_condition_labels
(condition: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:76
↓ 2 callers
Function
_json_crew_files
The JSON crew's file, then each agent file it names, with what they hold.
lib/cli/src/crewai_cli/api_keys.py:540
↓ 2 callers
Function
_json_loading_status
(message: str)
lib/cli/src/crewai_cli/run_crew.py:288
↓ 2 callers
Method
_json_schema_to_pydantic
Convert JSON Schema to a Pydantic model for tool arguments.
lib/crewai/src/crewai/mcp/tool_resolver.py:692
↓ 2 callers
Function
_keyed
(series: Column)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:658
↓ 2 callers
Function
_leaves
Yield the individual exceptions reachable from *exc*. Exception groups are containers rather than causes, so their members are yielded in pla
lib/crewai/src/crewai/mcp/exceptions.py:192
↓ 2 callers
Function
_legacy_types
(listener: TraceCollectionListener)
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:287
↓ 2 callers
Function
_list_sqlite
(db_path: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:291
↓ 2 callers
Function
_listener
A bare listener: `_build_event_data` needs no batch manager or bus.
lib/crewai/tests/tracing/test_trace_agent_prompt_output.py:25
↓ 2 callers
Method
_listener_methods
( self, )
lib/crewai/src/crewai/flow/runtime/__init__.py:572
← previous
next →
2,301–2,400 of 19,264, ranked by callers