Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
↓ 1 callers
Function
_get_effective_modes
Get effective input/output modes from agent card. If skill_name is provided and the skill has custom modes, those are used. Otherwise, falls
lib/crewai/src/crewai/a2a/utils/content_type.py:156
↓ 1 callers
Method
_get_element_text
(entry: ET.Element, element_name: str)
lib/crewai-tools/src/crewai_tools/tools/arxiv_paper_tool/arxiv_paper_tool.py:126
↓ 1 callers
Method
_get_elements_content
( self, css_element: str | None, return_html: bool | None )
lib/crewai-tools/src/crewai_tools/tools/selenium_scraping_tool/selenium_scraping_tool.py:172
↓ 1 callers
Method
_get_error_message
Generate a user-friendly error message based on the original error message. Args: error_message: The original error message from
lib/crewai/src/crewai/utilities/exceptions/context_window_exceeding_exception.py:55
↓ 1 callers
Method
_get_expected_token
Get the expected token value.
lib/crewai/src/crewai/a2a/auth/server_schemes.py:147
↓ 1 callers
Function
_get_image_dimensions
Get image dimensions using Pillow if available. Args: content: Raw image bytes. filename: Name of the file, for the error message
lib/crewai-files/src/crewai_files/processing/validators.py:33
↓ 1 callers
Function
_get_inherited_conversational_method
( flow_class: type, attr_name: str, )
lib/crewai/src/crewai/flow/dsl/_utils.py:62
↓ 1 callers
Function
_get_json_crew
Load a JSON-first crew from the current project, if present.
lib/crewai/src/crewai/utilities/reset_memories.py:53
↓ 1 callers
Function
_get_logged_in_platform_token
Fetch the selected organization's integration token from the saved login.
lib/cli/src/crewai_cli/create_json_crew.py:1097
↓ 1 callers
Method
_get_mcp_tool_schemas
Get tool schemas from MCP server with caching.
lib/crewai/src/crewai/mcp/tool_resolver.py:549
↓ 1 callers
Method
_get_mcp_tool_schemas_async
Async implementation of MCP tool schema retrieval.
lib/crewai/src/crewai/mcp/tool_resolver.py:578
↓ 1 callers
Function
_get_nested_value
(data: dict[str, Any], keys: list[str])
lib/crewai-core/src/crewai_core/project.py:219
↓ 1 callers
Function
_get_openai_client
Create an OpenAI client.
lib/devtools/src/crewai_devtools/docs_check.py:165
↓ 1 callers
Method
_get_openai_client
(self)
lib/crewai-tools/src/crewai_tools/tools/db2_search_tool/db2_search_tool.py:211
↓ 1 callers
Function
_get_or_create_counter
Get the emission counter for the current context, creating if needed.
lib/crewai/src/crewai/events/base_events.py:18
↓ 1 callers
Method
_get_or_create_llm
Reuse one LLM instance per model.
lib/crewai-tools/src/crewai_tools/tools/vision_tool/vision_tool.py:121
↓ 1 callers
Function
_get_or_create_project_id_locked
Read-modify-write the project id while holding the lock. Re-reads under the lock so a concurrent minter's id is returned rather than overwrit
lib/crewai-core/src/crewai_core/project.py:388
↓ 1 callers
Function
_get_param_count_cached
(handler: Any)
lib/crewai/src/crewai/events/utils/handlers.py:14
↓ 1 callers
Function
_get_parent_context
Resolve the OTel parent context for a child event. Returns ``(parent_context, used_root_fallback)``. ``used_root_fallback`` is True only when
lib/crewai/src/crewai/telemetry/tracing/handlers.py:634
↓ 1 callers
Function
_get_pdf_page_count
Get PDF page count using pypdf if available. Args: content: Raw PDF bytes. Returns: Page count or None if pypdf unavailable.
lib/crewai-files/src/crewai_files/processing/validators.py:62
↓ 1 callers
Method
_get_planning_config
Get the planning configuration from the agent. Returns: The planning configuration, using defaults if not set.
lib/crewai/src/crewai/utilities/reasoning_handler.py:160
↓ 1 callers
Function
_get_platform_token_from_login
Fetch an integration token, asking the user to log in when necessary.
lib/cli/src/crewai_cli/create_json_crew.py:1112
↓ 1 callers
Method
_get_prompt_impl
Internal implementation of get_prompt.
lib/crewai/src/crewai/mcp/client.py:681
↓ 1 callers
Method
_get_provider_specific_fields
(self, provider_name: str)
lib/cli/src/crewai_cli/enterprise/main.py:120
↓ 1 callers
Function
_get_qdrant_client
Return the Qdrant client for the config, reusing local clients per path. The path is normalized (``~`` expanded, symlinks and relative parts reso
lib/crewai/src/crewai/rag/qdrant/factory.py:83
↓ 1 callers
Method
_get_racing_group_for_listeners
Check if the given listeners form a racing group. Args: listener_names: List of listener method names being executed. Re
lib/crewai/src/crewai/flow/runtime/__init__.py:1188
↓ 1 callers
Method
_get_required_nullable_fields
Get a list of required nullable fields from the action schema.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:214
↓ 1 callers
Method
_get_responses_base_url
Construct the base URL for the Azure OpenAI Responses API. Extracts the scheme and host from the configured endpoint and appends the
lib/crewai/src/crewai/llms/providers/azure/completion.py:280
↓ 1 callers
Function
_get_router_return_events
(function: Any)
lib/crewai/src/crewai/flow/dsl/_router.py:86
↓ 1 callers
Method
_get_search_url
Get the appropriate endpoint URL based on search type.
lib/crewai-tools/src/crewai_tools/tools/serper_dev_tool/serper_dev_tool.py:132
↓ 1 callers
Function
_get_server_interfaces
Extract all available interfaces from an AgentCard. Creates a unified list of interfaces including the primary URL and any additional interfa
lib/crewai/src/crewai/a2a/utils/transport.py:75
↓ 1 callers
Function
_get_surface_id
Extract surfaceId from any A2UI v0.8 or v0.9 message type.
lib/crewai/src/crewai/a2a/extensions/a2ui/client_extension.py:386
↓ 1 callers
Method
_get_type_constraint
Get type-specific constraint based on content type. Args: content_type: MIME type of the file. constraints: Provider
lib/crewai-files/src/crewai_files/resolution/resolver.py:207
↓ 1 callers
Function
_git
(repo: Path, *args: str)
lib/devtools/tests/test_agents_md_eval.py:113
↓ 1 callers
Function
_grade_of
(row: dict[str, Any], area: str)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2240
↓ 1 callers
Function
_guardrail_subject
Build a human-readable subject for guardrail spans.
lib/crewai/src/crewai/telemetry/tracing/handlers.py:2475
↓ 1 callers
Method
_guess_content_type
Guess content type from URL extension.
lib/crewai-files/src/crewai_files/core/sources.py:520
↓ 1 callers
Method
_handle_agent_action
Process agent action and tool execution result. Args: formatted_answer: Agent's action to execute. tool_result: Resul
lib/crewai/src/crewai/agents/agent_executor.py:3326
↓ 1 callers
Function
_handle_agent_response_and_continue
Handle A2A result and get CrewAI agent's response. Args: self: The agent instance a2a_result: Result from A2A delegation
lib/crewai/src/crewai/a2a/wrapper.py:1178
↓ 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:1108
↓ 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:1661
↓ 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:942
↓ 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:963
↓ 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:1262
↓ 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:1553
↓ 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:2645
↓ 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
Function
_image_format
Return (extension, content type) for image bytes, or raise if unknown.
lib/crewai/src/crewai/artifacts.py:293
↓ 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:745
↓ 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:2023
↓ 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:859
↓ 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:912
↓ 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:465
← previous
next →
3,701–3,800 of 19,663, ranked by callers