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
Method
_resolve_via_upload
Resolve a file by uploading it. Args: file: The file to upload. provider: Provider name. context: Pre-com
lib/crewai-files/src/crewai_files/resolution/resolver.py:279
↓ 1 callers
Method
_resolve_visibility
( self, agent_name: str, visibility: Literal["private", "public"], )
lib/crewai/src/crewai/flow/conversational_mixin.py:1596
↓ 1 callers
Function
_resolves_to_itself
Whether ``module.qualname`` would actually import ``cls`` back. The loader splits a ref on its last dot, so a nested class projects ``module.
lib/crewai/src/crewai/flow/dsl/_utils.py:280
↓ 1 callers
Function
_response_failure_reason
Classify a create response that cannot become a created deployment. Status first, so a gateway's HTML error page counts as the API class it is;
lib/cli/src/crewai_cli/deploy/main.py:190
↓ 1 callers
Function
_response_format_output_type
Map a `response_format` value to a `gen_ai.output.type` string. OpenAI/Azure shape: ``{"type": "text" | "json_object" | "json_schema", ...}``.
lib/crewai/src/crewai/telemetry/tracing/handlers.py:2073
↓ 1 callers
Method
_restore_event_scope
Rebuild the event scope stack from the checkpoint's event record.
lib/crewai/src/crewai/crew.py:591
↓ 1 callers
Method
_restore_event_scope
Rebuild the event scope stack from the checkpoint's event record. Args: state: The RuntimeState containing the event record.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:478
↓ 1 callers
Function
_restore_external_cached_modules
( displaced_modules: dict[str, Any], project_root: Path, )
lib/crewai/src/crewai/project/json_loader.py:851
↓ 1 callers
Method
_restore_from_checkpoint
Restore private execution state from checkpoint fields.
lib/crewai/src/crewai/flow/runtime/__init__.py:749
↓ 1 callers
Method
_restore_runtime
Re-create runtime objects after restoring from a checkpoint.
lib/crewai/src/crewai/crew.py:487
↓ 1 callers
Method
_restore_runtime
Re-create runtime objects after restoring from a checkpoint. Args: state: The RuntimeState containing the event record.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:452
↓ 1 callers
Method
_resume_async_body
( self, feedback: str = "", hook_state: dict[str, bool] | None = None )
lib/crewai/src/crewai/flow/runtime/__init__.py:1474
↓ 1 callers
Function
_resume_hint
Print a boxed resume hint after a failure.
lib/devtools/src/crewai_devtools/cli.py:42
↓ 1 callers
Function
_retry_after
How long a 429 asks to wait before the next poll: its Retry-After — delay-seconds or an HTTP-date, the two forms RFC 9110 allows — never less
lib/cli/src/crewai_cli/experimental/eval_crew.py:1648
↓ 1 callers
Function
_retry_delay
Compute wait time before the next retry attempt. Prefers the server-supplied Retry-After header when available; falls back to exponential
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:67
↓ 1 callers
Method
_retry_mcp_discovery
Retry MCP discovery with exponential backoff.
lib/crewai/src/crewai/mcp/tool_resolver.py:587
↓ 1 callers
Method
_retry_with_exponential_backoff
Retry operation with exponential backoff, avoiding try-except in loop for performance.
lib/crewai/src/crewai/tools/mcp_tool_wrapper.py:92
↓ 1 callers
Function
_return_annotation
(function: Any)
lib/crewai/src/crewai/flow/dsl/_router.py:72
↓ 1 callers
Function
_rewrite_destination_to_version
Rewrite a redirect destination to land on ``version_slug`` directly. Handles three shapes: - ``/<locale>/...`` -> ``/<version_slug
lib/devtools/src/crewai_devtools/docs_versioning.py:351
↓ 1 callers
Function
_rewrite_destination_to_version
Rewrite a redirect destination to land on ``version_slug`` directly. Handles three shapes: - ``/<locale>/...`` -> ``/<version_slug
scripts/docs/prefix_version_paths.py:328
↓ 1 callers
Function
_rewrite_openapi_refs
Prefix every ``openapi:`` reference in the snapshot with the version.
lib/devtools/src/crewai_devtools/docs_versioning.py:177
↓ 1 callers
Function
_rewrite_openapi_refs
(target: Path, tag: str)
scripts/docs/freeze_historical_versions.py:151
↓ 1 callers
Method
_route_description
Describe a route for the router LLM's catalog. The declared ``description`` comes first so a declaration can say what a route is for;
lib/crewai/src/crewai/flow/conversational_mixin.py:1500
↓ 1 callers
Method
_route_with_config
( self, router_config: RouterConfig, context: dict[str, Any], )
lib/crewai/src/crewai/flow/conversational_mixin.py:1302
↓ 1 callers
Function
_router_config_from_definition
Build a live ``RouterConfig`` from its serializable form.
lib/crewai/src/crewai/flow/conversational_mixin.py:116
↓ 1 callers
Function
_row_index
(reference: str)
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:531
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, xml: str | None = None, s
lib/crewai-tools/src/crewai_tools/tools/xml_search_tool/xml_search_tool.py:38
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, mdx: str | None = None, s
lib/crewai-tools/src/crewai_tools/tools/mdx_search_tool/mdx_search_tool.py:42
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, csv: str | None = None, s
lib/crewai-tools/src/crewai_tools/tools/csv_search_tool/csv_search_tool.py:42
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, docx: str | None = None,
lib/crewai-tools/src/crewai_tools/tools/docx_search_tool/docx_search_tool.py:42
↓ 1 callers
Method
_run
( self, **kwargs: Any, )
lib/crewai-tools/src/crewai_tools/tools/selenium_scraping_tool/selenium_scraping_tool.py:132
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, youtube_channel_handle: str | Non
lib/crewai-tools/src/crewai_tools/tools/youtube_channel_search_tool/youtube_channel_search_tool.py:49
↓ 1 callers
Method
_run
Execute a vector search query against the Couchbase index. Args: query: The search query string. Returns: A
lib/crewai-tools/src/crewai_tools/tools/couchbase_tool/couchbase_tool.py:185
↓ 1 callers
Method
_run
( # type: ignore[override] self, query: str, pdf: str | None = None, similari
lib/crewai-tools/src/crewai_tools/tools/pdf_search_tool/pdf_search_tool.py:43
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, docs_url: str | None = None,
lib/crewai-tools/src/crewai_tools/tools/code_docs_search_tool/code_docs_search_tool.py:42
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, website: str | None = None,
lib/crewai-tools/src/crewai_tools/tools/website_search/website_search_tool.py:44
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, github_repo: str | None = None,
lib/crewai-tools/src/crewai_tools/tools/github_search_tool/github_search_tool.py:65
↓ 1 callers
Method
_run
(self, query: str)
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:268
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, txt: str | None = None, s
lib/crewai-tools/src/crewai_tools/tools/txt_search_tool/txt_search_tool.py:40
↓ 1 callers
Method
_run
( self, search_query: str, start_published_date: str | None = None, end_publis
lib/crewai-tools/src/crewai_tools/tools/exa_tools/exa_search_tool.py:124
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, directory: str | None = None,
lib/crewai-tools/src/crewai_tools/tools/directory_search_tool/directory_search_tool.py:44
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, json_path: str | None = None,
lib/crewai-tools/src/crewai_tools/tools/json_search_tool/json_search_tool.py:40
↓ 1 callers
Method
_run
( # type: ignore[override] self, search_query: str, youtube_video_url: str | None = N
lib/crewai-tools/src/crewai_tools/tools/youtube_video_search_tool/youtube_video_search_tool.py:42
↓ 1 callers
Method
_run
( self, code: str, language: str = "python", clear_context: bool = False,
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:150
↓ 1 callers
Method
_run
(self, command: str, thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:203
↓ 1 callers
Method
_run
(self, paths: list[str], thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:234
↓ 1 callers
Method
_run
(self, directory_path: str = "", thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:265
↓ 1 callers
Method
_run
(self, paths: list[str], thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:297
↓ 1 callers
Method
_run
(self, files: list[dict[str, str]], thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:328
↓ 1 callers
Method
_run
(self, command: str, thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:361
↓ 1 callers
Method
_run
(self, task_id: str, thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:392
↓ 1 callers
Method
_run
(self, task_id: str, thread_id: str = "default")
lib/crewai-tools/src/crewai_tools/aws/bedrock/code_interpreter/code_interpreter_toolkit.py:423
↓ 1 callers
Method
_run
Sync implementation of the tool. Subclasses must implement this method for synchronous execution. Args: *args: Positiona
lib/crewai/src/crewai/tools/base_tool.py:415
↓ 1 callers
Method
_run
Executes the wrapped function. Args: *args: Positional arguments for the function. **kwargs: Keyword arguments for th
lib/crewai/src/crewai/tools/base_tool.py:583
↓ 1 callers
Method
_run
Read an input file by name. Args: file_name: The name of the file to read. Returns: File content as text for
lib/crewai/src/crewai/tools/agent_tools/read_file_tool.py:47
↓ 1 callers
Method
_run
(self, query: str)
lib/crewai/tests/test_crew.py:585
↓ 1 callers
Method
_run
Process input text asynchronously.
lib/crewai/tests/tools/test_base_tool.py:160
↓ 1 callers
Method
_run_async
Async implementation of MCP tool execution with timeouts and retry logic.
lib/crewai/src/crewai/tools/mcp_tool_wrapper.py:86
↓ 1 callers
Function
_run_checkpoint_tui_async
Async implementation of the checkpoint TUI flow.
lib/cli/src/crewai_cli/checkpoint_tui.py:774
↓ 1 callers
Function
_run_classic_crew_project
( pyproject_data: dict[str, Any], trained_agents_file: str | None )
lib/cli/src/crewai_cli/run_crew.py:1319
↓ 1 callers
Method
_run_conversation_turn_worker
(self, message: str)
lib/cli/src/crewai_cli/crew_run_tui.py:1183
↓ 1 callers
Function
_run_conversational_declarative_flow
Run a declarative chat flow on the conversational TUI. The same TUI a Python conversational Flow gets from ``crewai run``; it drives ``handle
lib/cli/src/crewai_cli/run_declarative_flow.py:118
↓ 1 callers
Function
_run_coroutine_sync
Run a coroutine synchronously, handling an already-running event loop.
lib/crewai/src/crewai/tasks/llm_guardrail.py:25
↓ 1 callers
Function
_run_declarative_flow_tui
Run a declarative flow on the CrewAI TUI (the interactive default). Mirrors the declarative-crew TUI contract (``run_crew._run_json_crew``):
lib/cli/src/crewai_cli/run_declarative_flow.py:171
↓ 1 callers
Function
_run_explicit_declarative_flow
( definition: str, inputs: str | None, trained_agents_file: str | None )
lib/cli/src/crewai_cli/run_crew.py:1251
↓ 1 callers
Function
_run_flow_project
( pyproject_data: dict[str, Any], trained_agents_file: str | None, inputs: str | None = None, )
lib/cli/src/crewai_cli/run_crew.py:1262
↓ 1 callers
Method
_run_flow_worker
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:956
↓ 1 callers
Function
_run_git
Run a git command and return stdout.
lib/devtools/src/crewai_devtools/docs_check.py:149
↓ 1 callers
Method
_run_handler
( self, handler: Callable[..., None], source: Any, event: Any )
lib/crewai/src/crewai/telemetry/tracing/session.py:191
↓ 1 callers
Method
_run_hierarchical_process
Creates and assigns a manager agent to complete the tasks.
lib/crewai/src/crewai/crew.py:1541
↓ 1 callers
Method
_run_human_feedback_step
( self, method_name: FlowMethodName, feedback_definition: FlowHumanFeedbackDefinition,
lib/crewai/src/crewai/flow/runtime/__init__.py:3674
↓ 1 callers
Method
_run_json_checks
Validation suite for JSON-defined crew projects.
lib/cli/src/crewai_cli/deploy/validate.py:345
↓ 1 callers
Function
_run_json_crew
Load and run a JSON-defined crew.
lib/cli/src/crewai_cli/run_crew.py:452
↓ 1 callers
Function
_run_json_crew_in_project_env
Run JSON crews from the project's uv-managed environment.
lib/cli/src/crewai_cli/run_crew.py:605
↓ 1 callers
Function
_run_json_crew_in_tui
Run a JSON-defined crew in the run app; returns the app and the inputs.
lib/cli/src/crewai_cli/run_crew.py:413
↓ 1 callers
Function
_run_json_crew_without_tui
Run a JSON-defined crew with plain terminal output.
lib/cli/src/crewai_cli/run_crew.py:399
↓ 1 callers
Function
_run_kind
The kind `run_crew` dispatches on, before it validates the definition.
lib/cli/src/crewai_cli/run_crew.py:896
↓ 1 callers
Function
_run_log_path
Where a run with no terminal sends its output, or None when the project's `.crewai/` cannot be written (the output then stays on screen).
lib/cli/src/crewai_cli/experimental/eval_crew.py:1287
↓ 1 callers
Function
_run_output_to
Send everything printed inside the block to PATH, and yield it; with no PATH, yield None and change nothing. It moves this process's own stdo
lib/cli/src/crewai_cli/experimental/eval_crew.py:1301
↓ 1 callers
Function
_run_predeploy_validation
Run pre-deploy validation unless skipped. Returns True if deployment should proceed, False if it should abort.
lib/cli/src/crewai_cli/deploy/main.py:31
↓ 1 callers
Method
_run_sequential_process
Executes tasks sequentially and returns the final output.
lib/crewai/src/crewai/crew.py:1537
↓ 1 callers
Method
_run_test_case
( self, test_case: dict[str, Any], agents: list[Agent] | list[BaseAgent], crew
lib/crewai/src/crewai/experimental/evaluation/experiment/runner.py:59
↓ 1 callers
Function
_run_the_crew_to_evaluate
Run the crew, traced, to have a run to evaluate. Running `crewai eval` asked for the run to be graded, and the grade is read off its trace; t
lib/cli/src/crewai_cli/experimental/eval_crew.py:1140
↓ 1 callers
Function
_running_loop
()
lib/crewai/src/crewai/experimental/flow_jobs.py:411
↓ 1 callers
Function
_runtime_condition_from_definition
( condition: FlowDefinitionCondition, )
lib/crewai/src/crewai/flow/visualization/builder.py:55
↓ 1 callers
Function
_safe_extract_zip
Path-traversal-safe ZIP extraction.
lib/cli/src/crewai_cli/skills/main.py:565
↓ 1 callers
Function
_safe_extract_zip
Path-traversal-safe ZIP extraction.
lib/crewai/src/crewai/skills/cache.py:192
↓ 1 callers
Function
_safe_json_loads
Decode a JSON column tolerantly: NULL/blank/corrupt → None.
lib/cli/src/crewai_cli/task_outputs.py:59
↓ 1 callers
Function
_safe_output
Shape ``response`` into the OTel ``gen_ai.output.messages`` payload. When ``explicit_finish`` is supplied (the OSS event surfaced a real prov
lib/crewai/src/crewai/telemetry/tracing/semantic_conventions.py:98
↓ 1 callers
Function
_safe_repair_json
Safely repair JSON input. Args: tool_input: The tool input string to repair. Returns: The repaired JSON string or original i
lib/crewai/src/crewai/agents/parser.py:161
↓ 1 callers
Function
_same_origin
(previous_url: str, next_url: str)
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:37
↓ 1 callers
Function
_same_provider
Whether ``route`` lands where ``base``'s credentials and endpoint belong. A native class compares by class: an explicit ``provider=`` alias (
lib/crewai/src/crewai/utilities/llm_utils.py:369
↓ 1 callers
Function
_same_route_provider
:func:`_same_provider` for a declared llm known by its route, not an instance. The same rule, case for case: a native declared class compares by
lib/crewai/src/crewai/utilities/llm_utils.py:341
↓ 1 callers
Function
_sanitize_payload
Shorten large fields before printing API payloads.
scripts/age90_file_input_runner.py:41
↓ 1 callers
Method
_sanitize_role
Sanitizes agent roles to ensure valid directory names.
lib/crewai/src/crewai/rag/storage/base_rag_storage.py:36
↓ 1 callers
Method
_save_artifact
Save the output as ``artifact``. Logs and returns None if it fails.
lib/crewai/src/crewai/task.py:1384
↓ 1 callers
Function
_save_results_to_file
Saves the search results to a file.
lib/crewai-tools/src/crewai_tools/tools/serper_dev_tool/serper_dev_tool.py:90
↓ 1 callers
Method
_save_to_memory
Extract discrete memories from the run and remember each. No-op if _memory is None or read-only.
lib/crewai/src/crewai/lite_agent.py:650
↓ 1 callers
Function
_save_user_data
Write the full user-data dict, ignoring write errors with a warning.
lib/crewai-core/src/crewai_core/user_data.py:45
↓ 1 callers
Function
_saved_line
(folder: Path)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2545
← previous
next →
4,201–4,300 of 19,663, ranked by callers