Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,484 in github.com/crewAIInc/crewAI
⨍
Functions
19,484
◇
Types & classes
3,433
↳
Endpoints
991
↓ 1 callers
Method
_aprocess_message_files
Async process files attached to messages and format for provider. For each message with a `files` field, formats the files into provi
lib/crewai/src/crewai/llm.py:2420
↓ 1 callers
Method
_aresolve_via_upload
Async resolve a file by uploading it. Args: file: The file to upload. provider: Provider name. context: P
lib/crewai-files/src/crewai_files/resolution/resolver.py:498
↓ 1 callers
Function
_arrow_select_multi
( labels: list[str], *, action_indices: set[int] | None = None, separator_indices: set[int] |
lib/cli/src/crewai_cli/tui_picker.py:273
↓ 1 callers
Method
_arun
Use the async tool.
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_toolkit.py:211
↓ 1 callers
Method
_arun
Async implementation of the tool. Override for async support.
lib/crewai/src/crewai/tools/base_tool.py:395
↓ 1 callers
Method
_arun
Executes the wrapped function asynchronously. Args: *args: Positional arguments for the function. **kwargs: Keyword a
lib/crewai/src/crewai/tools/base_tool.py:614
↓ 1 callers
Method
_arun_hierarchical_process
Creates and assigns a manager agent to complete the tasks using native async.
lib/crewai/src/crewai/crew.py:1360
↓ 1 callers
Method
_arun_sequential_process
Executes tasks sequentially using native async and returns the final output.
lib/crewai/src/crewai/crew.py:1356
↓ 1 callers
Function
_as_a_filesystem_sees_it
SEGMENT as macOS and Windows compare names: case ignored, trailing dots dropped.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2744
↓ 1 callers
Function
_as_flow_method
(action: _BuiltAction)
lib/crewai/src/crewai/flow/runtime/_actions.py:457
↓ 1 callers
Function
_as_str
(value: Any)
lib/crewai/src/crewai/llms/_finish_reason_utils.py:17
↓ 1 callers
Function
_asafe_delete
Async safely delete a file, logging any errors. Args: uploader: The file uploader to use. file_id: The file ID to delete.
lib/crewai-files/src/crewai_files/cache/cleanup.py:198
↓ 1 callers
Function
_ask_before_the_first_enable
Nobody turned tracing on yet, and a person is here: say why the crew runs, then ask before turning tracing on. Enter means yes; a no runs noth
lib/cli/src/crewai_cli/experimental/eval_crew.py:1111
↓ 1 callers
Function
_ask_for_missing_api_key
Ask for the API key the Agent's model needs before its first turn. Providers build their clients lazily, so a missing key would otherwise sur
lib/cli/src/crewai_cli/run_agent.py:114
↓ 1 callers
Function
_ask_for_the_api_key
Ask for the API key ERROR was raised without, and save it; raise ERROR when it names none or none is pasted.
lib/cli/src/crewai_cli/run_crew.py:439
↓ 1 callers
Function
_ask_to_turn_tracing_on
The project turned tracing off: turn it on only on a yes. With nobody to ask, the command stops and says how; a no runs nothing.
lib/cli/src/crewai_cli/experimental/eval_crew.py:1124
↓ 1 callers
Function
_askable
Whether NAME is a provider API key the CLI may ask for. A failed run names its own variable, and project code can raise that error too.
lib/cli/src/crewai_cli/api_keys.py:203
↓ 1 callers
Method
_assert_scores
Compare expected and actual scores, and return whether the test case passed. The rules for comparison are as follows: - If b
lib/crewai/src/crewai/experimental/evaluation/experiment/runner.py:130
↓ 1 callers
Function
_astream_raising
(error: Exception)
lib/crewai/tests/test_llm_litellm_streaming_errors.py:95
↓ 1 callers
Method
_async_close
Asynchronously clean up Stagehand resources.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:668
↓ 1 callers
Method
_async_iterate
Iterate over stream chunks asynchronously. Yields: StreamChunk objects as they arrive. Raises: RuntimeError:
lib/crewai/src/crewai/types/streaming.py:474
↓ 1 callers
Function
_async_readline
Read a line from stdin using the event loop's native I/O. Falls back to asyncio.to_thread on platforms where piping stdin is unsupported.
lib/crewai/src/crewai/core/providers/human_input.py:425
↓ 1 callers
Method
_async_run
Override _async_run with improved atomic action handling.
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:392
↓ 1 callers
Function
_attach_session
Keep *session* alive until *response* is closed (needed for ``stream=True``).
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:101
↓ 1 callers
Method
_aupload_multipart
Async upload using the Uploads API (multipart chunked, up to 8GB). Args: file: The file to upload. content: File cont
lib/crewai-files/src/crewai_files/uploaders/openai.py:539
↓ 1 callers
Method
_aupload_multipart_streaming
Async upload using the Uploads API with streaming chunks. Streams chunks directly from the file source without loading the entire fil
lib/crewai-files/src/crewai_files/uploaders/openai.py:611
↓ 1 callers
Method
_aupload_simple
Async upload using the Files API (single request, up to 512MB). Args: file: The file to upload. content: File content
lib/crewai-files/src/crewai_files/uploaders/openai.py:504
↓ 1 callers
Method
_aupload_with_retry
Async upload with exponential backoff retry. Args: uploader: The uploader to use. file: The file to upload.
lib/crewai-files/src/crewai_files/resolution/resolver.py:554
↓ 1 callers
Method
_ause
Internal async tool execution implementation. Args: tool_string: The raw tool string from the agent. tool: The tool t
lib/crewai/src/crewai/tools/tool_usage.py:238
↓ 1 callers
Method
_authenticate_introspection
Authenticate using OAuth2 token introspection (RFC 7662).
lib/crewai/src/crewai/a2a/auth/server_schemes.py:578
↓ 1 callers
Method
_authenticate_jwt
Authenticate using JWKS JWT validation.
lib/crewai/src/crewai/a2a/auth/server_schemes.py:488
↓ 1 callers
Method
_auto_process
Automatically resize/compress file to meet constraints. Args: file: The file to process. Returns: The proces
lib/crewai-files/src/crewai_files/processing/processor.py:234
↓ 1 callers
Method
_auto_process_image
Auto-process an image file. Args: file: The image file to process. Returns: The processed image file.
lib/crewai-files/src/crewai_files/processing/processor.py:265
↓ 1 callers
Function
_backfill_discriminators
Walk an entity dict and backfill discriminator fields added in 1.14.6.
lib/crewai/src/crewai/state/runtime.py:168
↓ 1 callers
Function
_backfill_memory_kind
Infer ``memory_kind`` from structural fields on legacy memory dicts.
lib/crewai/src/crewai/state/runtime.py:128
↓ 1 callers
Function
_backfill_source_type
Infer ``source_type`` for legacy knowledge source dicts when possible. Only StringKnowledgeSource is reliably inferrable: it stores ``content``
lib/crewai/src/crewai/state/runtime.py:140
↓ 1 callers
Function
_backfill_sources_on
Apply source_type backfill to ``sources`` and ``knowledge_sources`` lists.
lib/crewai/src/crewai/state/runtime.py:159
↓ 1 callers
Function
_bare_lookup_name
Return the bare-index key for a model id. A slash prefix is removed only when that prefix is a catalog provider. ``acme/gpt-5.6-luna`` stays
lib/crewai/src/crewai/llms/context_window.py:202
↓ 1 callers
Function
_base64url_encode
Encode data to URL-safe base64 without padding. Args: data: Data to encode. Returns: URL-safe base64 encoded string without
lib/crewai/src/crewai/a2a/utils/agent_card_signing.py:65
↓ 1 callers
Function
_base_url_from_account_identifier
(account_identifier: str)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:42
↓ 1 callers
Function
_best
(values: list[Any], pick: Callable[[list[Any]], Any])
lib/cli/src/crewai_cli/experimental/eval_crew.py:2253
↓ 1 callers
Function
_branch_exists_local
(branch: str, cwd: Path | None = None)
lib/devtools/src/crewai_devtools/cli.py:167
↓ 1 callers
Function
_branch_exists_remote
(branch: str, cwd: Path | None = None)
lib/devtools/src/crewai_devtools/cli.py:180
↓ 1 callers
Method
_build_client
(cls, username: str, password: str)
lib/crewai-tools/src/crewai_tools/tools/oxylabs_base_tool/oxylabs_base_tool.py:217
↓ 1 callers
Method
_build_code_run_params
( self, argv: list[str] | None, env: dict[str, str] | None, )
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_python_tool.py:61
↓ 1 callers
Function
_build_config_definition
(flow_class: type)
lib/crewai/src/crewai/flow/dsl/_utils.py:221
↓ 1 callers
Function
_build_conversational_definition
( flow_class: type, )
lib/crewai/src/crewai/flow/dsl/_utils.py:346
↓ 1 callers
Function
_build_conversational_router_definition
( router_config: Any, path: str, )
lib/crewai/src/crewai/flow/dsl/_utils.py:324
↓ 1 callers
Method
_build_create_params
(self)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:141
↓ 1 callers
Method
_build_date_block
Render the current date when the agent has ``inject_date`` enabled. Kept at the tail of the prompt so the stable prefix ahead of it stays
lib/crewai/src/crewai/utilities/prompts.py:143
↓ 1 callers
Function
_build_definition_state_model
( state_definition: FlowStateDefinition, compose: Callable[[type[BaseModel]], type[BaseModel]] | None
lib/crewai/src/crewai/flow/runtime/__init__.py:192
↓ 1 callers
Function
_build_edge_entry
Clone the current default version's nav structure into an Edge entry whose page paths are prefixed with ``edge/<locale>/`` so Edge serves at `
scripts/docs/prefix_version_paths.py:116
↓ 1 callers
Function
_build_event_type_map
Populate _event_type_map from all BaseEvent subclasses.
lib/crewai/src/crewai/state/event_record.py:38
↓ 1 callers
Function
_build_flow_definition_from_class
( flow_class: type, namespace: dict[str, Any] | None = None, )
lib/crewai/src/crewai/flow/dsl/_utils.py:503
↓ 1 callers
Function
_build_follows_from_link
Build a FOLLOWS_FROM span link to a previous segment's flow span. Each resume segment is its own trace root linked back to the segment that p
lib/crewai/src/crewai/telemetry/tracing/handlers.py:669
↓ 1 callers
Function
_build_human_feedback_definition
( method: Any, path: str, )
lib/crewai/src/crewai/flow/dsl/_utils.py:241
↓ 1 callers
Method
_build_isolated_messages
Build a fresh message list for this step's execution. System prompt tells the LLM it is an Executor focused on one step. User prompt
lib/crewai/src/crewai/agents/step_executor.py:253
↓ 1 callers
Function
_build_metadata_filter
( filter_by: str | None, filter_value: Any | None, filter_spec: dict[str, Any] | None = None, )
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:411
↓ 1 callers
Function
_build_method_definition
( method: Any, path: str, )
lib/crewai/src/crewai/flow/dsl/_utils.py:407
↓ 1 callers
Function
_build_multimodal_message_with_upload
Build a multimodal message using file_id uploads instead of inline base64. Note: OpenAI Chat Completions API only supports file_id for PDFs via
lib/crewai/tests/llms/test_multimodal_integration.py:568
↓ 1 callers
Function
_build_new_entry
Clone the Edge nav into a new entry for ``version_slug``. Freezing a release means promoting *Edge* (which tracks main HEAD) to the new Lates
lib/devtools/src/crewai_devtools/docs_versioning.py:212
↓ 1 callers
Method
_build_observation_message
Build an observation message, converting vision sentinels to image blocks. When a tool returns a VISION_IMAGE sentinel (e.g. from read_image)
lib/crewai/src/crewai/agents/step_executor.py:523
↓ 1 callers
Method
_build_observation_messages
Build messages for the observation LLM call.
lib/crewai/src/crewai/agents/planner_observer.py:265
↓ 1 callers
Function
_build_platform_tool
Build the one integration app action named by ``<app>/<action>[@<connection>]``.
lib/crewai/src/crewai/flow/runtime/_actions.py:172
↓ 1 callers
Function
_build_progress_bar
(completed: int, total: int, width: int = 20)
lib/cli/src/crewai_cli/checkpoint_tui.py:105
↓ 1 callers
Method
_build_prompt
Constructs a prompt string from specified components. Args: components: List of component names to include in the prompt.
lib/crewai/src/crewai/utilities/prompts.py:211
↓ 1 callers
Method
_build_provider_config
Build configuration dictionary for CrewAI's embedding factory.
lib/crewai-tools/src/crewai_tools/rag/embedding_service.py:143
↓ 1 callers
Method
_build_racing_groups
(self)
lib/crewai/src/crewai/flow/runtime/__init__.py:1135
↓ 1 callers
Method
_build_replan_context
Build context from previous execution for replanning. Summarizes what has been attempted, what failed, and what succeeded to help the
lib/crewai/src/crewai/agents/agent_executor.py:3006
↓ 1 callers
Function
_build_responses_message_with_upload
Build a Responses API message using file_id uploads. The Responses API supports file_id for images via type="input_image". Returns:
lib/crewai/tests/llms/test_multimodal_integration.py:607
↓ 1 callers
Method
_build_retrieval_configuration
Build the retrieval configuration based on provided parameters. Returns: Dict[str, Any]: The constructed retrieval configuration
lib/crewai-tools/src/crewai_tools/aws/bedrock/knowledge_base/retriever_tool.py:76
↓ 1 callers
Method
_build_router_messages
( self, router_config: RouterConfig, context: dict[str, Any], )
lib/crewai/src/crewai/flow/conversational_mixin.py:1438
↓ 1 callers
Function
_build_scope_ancestors
Build the list of all ancestor scopes for prefix filtering. For scope ``/crew/sales/agent``, returns ``["/", "/crew", "/crew/sales", "/crew/s
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:66
↓ 1 callers
Method
_build_scope_tree
(self)
lib/cli/src/crewai_cli/memory_tui.py:166
↓ 1 callers
Method
_build_skill_block
Render always-on instructions and the available skill catalog. Metadata-only skills remain a stable prompt-cache anchor. Their full i
lib/crewai/src/crewai/utilities/prompts.py:165
↓ 1 callers
Method
_build_skill_tarball
Build an in-memory .tar.gz of SKILL.md + scripts/ + references/ + assets/.
lib/cli/src/crewai_cli/skills/main.py:484
↓ 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:237
↓ 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:415
↓ 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:1414
↓ 1 callers
Method
_build_tool
(self)
lib/crewai/src/crewai/flow/runtime/_actions.py:148
↓ 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:197
↓ 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:202
↓ 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:237
↓ 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:1358
↓ 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:496
↓ 1 callers
Function
_can_prompt
()
lib/cli/src/crewai_cli/api_keys.py:505
← previous
next →
3,201–3,300 of 19,484, ranked by callers