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
_llm_for_complexity
Select an explicit LLM, explicit model, or complexity model, in that order.
lib/crewai-tools/src/crewai_tools/tools/vision_tool/vision_tool.py:127
↓ 2 callers
Function
_load_conversational_flow_from_kickoff_script
()
lib/cli/src/crewai_cli/kickoff_flow.py:37
↓ 2 callers
Function
_load_crew_project
( project: JSONCrewProject, *, project_root: Path, )
lib/crewai/src/crewai/project/crew_loader.py:92
↓ 2 callers
Function
_load_json_crew
(crew_path: Path)
lib/cli/src/crewai_cli/run_crew.py:351
↓ 2 callers
Function
_load_json_crew_for_tui
( crew_path: Path, )
lib/cli/src/crewai_cli/run_crew.py:370
↓ 2 callers
Function
_load_json_crew_project_definition
Structurally validate a parsed JSON crew project definition.
lib/crewai/src/crewai/project/json_loader.py:382
↓ 2 callers
Function
_load_module_from_file
Context manager for loading a module from file with automatic cleanup. Yields the loaded module or None if loading fails.
lib/crewai/src/crewai/utilities/project_utils.py:314
↓ 2 callers
Function
_load_skill
Load the skill at *path*, or None when it can't be read.
lib/crewai/src/crewai/skills/registry.py:172
↓ 2 callers
Method
_log_flow_event
Centralized logging method for flow events. This method provides a consistent interface for logging flow-related events, combining bo
lib/crewai/src/crewai/flow/runtime/__init__.py:3994
↓ 2 callers
Method
_make_batch_manager
(self, ephemeral: bool = False)
lib/crewai/tests/tracing/test_tracing.py:1439
↓ 2 callers
Function
_make_context
Build a minimal pending-feedback context.
lib/crewai/tests/test_sqlite_connection_lifecycle.py:49
↓ 2 callers
Function
_make_id
Generate a checkpoint ID and ISO timestamp. Returns: A tuple of (checkpoint_id, timestamp).
lib/crewai/src/crewai/state/provider/sqlite_provider.py:39
↓ 2 callers
Method
_make_multipart_request
Send an authenticated multipart request containing a project ZIP.
lib/cli/src/crewai_cli/plus_api.py:131
↓ 2 callers
Method
_make_multipart_request
Send an authenticated multipart request containing a project ZIP.
lib/crewai-core/src/crewai_core/plus_api.py:322
↓ 2 callers
Method
_make_state
(self)
lib/crewai/tests/test_checkpoint.py:520
↓ 2 callers
Function
_make_tool_use_stream
Synthetic Converse stream: a single tool call with JSON-chunked input.
lib/crewai/tests/llms/bedrock/test_bedrock_streaming_tool_args.py:22
↓ 2 callers
Function
_make_with_name
(tool_name: str)
lib/crewai/src/crewai/tools/base_tool.py:759
↓ 2 callers
Method
_mark_plan_goal_achieved
Collapse early-goal/skipped plan steps into completed UI state.
lib/cli/src/crewai_cli/crew_run_tui.py:2489
↓ 2 callers
Function
_marker_path
()
lib/cli/src/crewai_cli/experimental/eval_crew.py:580
↓ 2 callers
Function
_member
(parts: dict[str, str], archive: zipfile.ZipFile, path: str)
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:385
↓ 2 callers
Function
_merge_all_of_schemas
Merge multiple allOf schemas into a single schema. Combines properties and required fields from all schemas. Args: schemas: List of
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:1103
↓ 2 callers
Function
_migrate_client_transport_fields
Migrate deprecated transport fields to new config.
lib/crewai/src/crewai/a2a/config.py:303
↓ 2 callers
Function
_mime_types_compatible
Check if two MIME types are compatible. Handles wildcards like image/* matching image/png.
lib/crewai/src/crewai/a2a/utils/content_type.py:104
↓ 2 callers
Function
_missing_input_names
Return input placeholders referenced by a crew but not provided as inputs.
lib/cli/src/crewai_cli/run_crew.py:221
↓ 2 callers
Function
_missing_keys
( models: Iterable[str], saved: Mapping[str, str | None], env_file_wins: bool )
lib/cli/src/crewai_cli/api_keys.py:627
↓ 2 callers
Function
_model_fields_for
(model_cls: type[Any], source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:994
↓ 2 callers
Method
_multiply_tool
()
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:879
↓ 2 callers
Function
_named_hosts
Each (value, source) as `host (source)`, once each.
lib/cli/src/crewai_cli/api_keys.py:376
↓ 2 callers
Function
_native_tool_history
History as the native tool-calling loop leaves it: ends on a user prompt.
lib/crewai/tests/utilities/test_agent_utils.py:1219
↓ 2 callers
Function
_needs_lockfile_for_deploy
Return True when deploy should create the project's first lockfile.
lib/cli/src/crewai_cli/deploy/main.py:248
↓ 2 callers
Function
_normalize_finish_reason
Normalize any provider-native finish reason to the canonical OTel enum. Returns ``None`` for missing / empty / ``FINISH_REASON_UNSPECIFIED`` valu
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:108
↓ 2 callers
Function
_normalize_hostname
Return a hostname suitable for exact allowlist comparisons.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:230
↓ 2 callers
Function
_normalize_provider
Normalize provider string to ProviderType. Args: provider: Raw provider string. Returns: Normalized provider type. Rais
lib/crewai-files/src/crewai_files/formatting/api.py:23
↓ 2 callers
Function
_numbered_select
(labels: list[str])
lib/cli/src/crewai_cli/tui_picker.py:400
↓ 2 callers
Method
_omit_fields
( self, data: dict[str, Any] | list[Any], omit_patterns: list[str] )
lib/crewai-tools/src/crewai_tools/tools/serpapi_tool/serpapi_base_tool.py:51
↓ 2 callers
Function
_one_line
The service's text as one line: whitespace and control characters folded, backticks made quotes (a name sits in code), capped.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2091
↓ 2 callers
Function
_only_span
(exporter: InMemorySpanExporter, name: str)
lib/crewai/tests/telemetry/test_span_attribute_bound.py:89
↓ 2 callers
Function
_open
(url: str)
lib/cli/src/crewai_cli/experimental/eval_crew.py:2351
↓ 2 callers
Method
_open_flow_scope
Emit ``FlowStartedEvent`` (or restore a deferred session's event scope) and return whether the flow scope is open.
lib/crewai/src/crewai/flow/runtime/__init__.py:2680
↓ 2 callers
Function
_open_validated_socket
(conn: HTTPConnection)
lib/crewai-tools/src/crewai_tools/security/ssrf_adapter.py:209
↓ 2 callers
Method
_order_start_methods_for_kickoff
Allow an optional runtime extension to order kickoff start methods.
lib/crewai/src/crewai/flow/runtime/__init__.py:503
↓ 2 callers
Function
_origin
(url: str | None)
lib/cli/src/crewai_cli/experimental/eval_crew.py:729
↓ 2 callers
Function
_parse_decision
Return the validated decision, or ``None`` and the failure reason.
scripts/jev_evaluation_runner.py:473
↓ 2 callers
Method
_parse_frontmatter
Extract YAML frontmatter fields from a SKILL.md string. Reuses crewai.skills.parser when available, with a minimal fallback for envir
lib/cli/src/crewai_cli/skills/main.py:497
↓ 2 callers
Function
_parse_iso
Parse an ISO 8601 timestamp to an epoch float; ``0.0`` on failure.
lib/cli/src/crewai_cli/model_catalog.py:564
↓ 2 callers
Method
_parse_planning_response
Parses the planning response to extract the plan and readiness. Args: response: The LLM response. Returns: T
lib/crewai/src/crewai/utilities/reasoning_handler.py:589
↓ 2 callers
Function
_parse_template_segments
(value: str)
lib/crewai/src/crewai/flow/expressions.py:119
↓ 2 callers
Function
_parse_xml
(xml: bytes, on_start: Callable[[str, dict[str, str]], None])
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:460
↓ 2 callers
Function
_patch_conversational_flow_project
A flow project whose kickoff script yields a conversational flow. Returns the list that records whether the chat TUI or the kickoff subproces
lib/cli/tests/test_run_crew.py:1618
↓ 2 callers
Function
_patch_conversational_kickoff
(monkeypatch: pytest.MonkeyPatch)
lib/cli/tests/test_kickoff_flow.py:92
↓ 2 callers
Method
_persist_backend_for
( self, persist_definition: FlowPersistenceDefinition )
lib/crewai/src/crewai/flow/runtime/__init__.py:3136
↓ 2 callers
Function
_pipe_to_stdin
Pipe ``text`` to the real ``click.prompt``; a hidden prompt fails the test, because outside pytest it reads the terminal and never sees the pipe.
lib/cli/tests/test_create_crew.py:1572
↓ 2 callers
Function
_pop_outcome
Raise a scripted error or return a scripted successful result.
lib/crewai/tests/llms/test_retry.py:153
↓ 2 callers
Method
_post_agent_execution
(self, agent: BaseAgent)
lib/crewai/src/crewai/task.py:1008
↓ 2 callers
Method
_post_kickoff
(self, result: CrewOutput)
lib/crewai/src/crewai/crew.py:1107
↓ 2 callers
Function
_prepare_agent_cards_dict
Prepare agent cards dictionary from result and existing cards. Shared logic for both sync and async response handlers.
lib/crewai/src/crewai/a2a/wrapper.py:951
↓ 2 callers
Function
_prepare_auth_headers
Prepare authentication headers and TLS verification settings. Args: auth: Optional authentication scheme. timeout: Request timeou
lib/crewai/src/crewai/a2a/utils/agent_card.py:58
↓ 2 callers
Method
_prepare_completion_params
Prepare parameters for Azure AI Inference chat completion. Args: messages: Formatted messages for Azure tools: Tool d
lib/crewai/src/crewai/llms/providers/azure/completion.py:671
↓ 2 callers
Method
_prepare_completion_params
Prepare parameters for OpenAI chat completion.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2257
↓ 2 callers
Function
_prepare_delegation_context
Prepare delegation context from agent response and task. Shared logic for both sync and async delegation. Returns: DelegationContext
lib/crewai/src/crewai/a2a/wrapper.py:1016
↓ 2 callers
Method
_prepare_event
Register source, set scope/sequence metadata, and record the event. This method mutates ContextVar state (scope stack, last_event_id)
lib/crewai/src/crewai/events/event_bus.py:537
↓ 2 callers
Method
_prepare_event_data
( self, tool: Any, tool_calling: ToolCalling | InstructorToolCalling )
lib/crewai/src/crewai/tools/tool_usage.py:1060
↓ 2 callers
Method
_prepare_feedback_iteration
Reset flow completion state before rerunning with feedback.
lib/crewai/src/crewai/agents/agent_executor.py:3596
↓ 2 callers
Function
_prepare_llm_call
Shared pre-call logic: run before hooks and resolve messages. Yields for the duration of the LLM call so the LLM layer knows the hooks alread
lib/crewai/src/crewai/utilities/agent_utils.py:476
↓ 2 callers
Method
_prepare_output
Ensures output path is ready for writing.
lib/crewai-tools/src/crewai_tools/tools/files_compressor_tool/files_compressor_tool.py:102
↓ 2 callers
Function
_prepare_project_for_deploy
Validate deploy inputs before creating a missing lockfile.
lib/cli/src/crewai_cli/deploy/main.py:275
↓ 2 callers
Function
_prepare_project_import_path
()
lib/cli/src/crewai_cli/kickoff_flow.py:29
↓ 2 callers
Function
_prepare_search_params
Prepare search parameters for Qdrant query_points. Args: collection_name: Name of the collection to search. query_embedding: Embe
lib/crewai/src/crewai/rag/qdrant/utils.py:124
↓ 2 callers
Method
_prepare_task_execution
Prepare common setup for task execution shared by sync and async paths. Handles reasoning, prompt building, and memory retrieval. Ar
lib/crewai/src/crewai/agent/core.py:708
↓ 2 callers
Function
_print_brief
The markdown brief AMP wrote for a coding agent, when nobody is watching. It is what the report page's "Copy for your coding agent" button copies
lib/cli/src/crewai_cli/experimental/eval_crew.py:2326
↓ 2 callers
Function
_print_evaluation_line
The evaluation's link, once the app that showed it has gone. An evaluation started inside the app is read there; the terminal is what is left
lib/cli/src/crewai_cli/run_crew.py:1097
↓ 2 callers
Function
_print_info
(meta: dict[str, Any])
lib/cli/src/crewai_cli/checkpoint_cli.py:413
↓ 2 callers
Function
_proactively_summarize_context
Try to summarize oversized context without blocking a valid LLM call.
lib/crewai/src/crewai/utilities/agent_utils.py:678
↓ 2 callers
Method
_process_async_tasks
( self, futures: list[tuple[Task, Future[TaskOutput], int]], was_replayed: bool = Fals
lib/crewai/src/crewai/crew.py:2035
↓ 2 callers
Method
_process_completion_response
Process completion response with usage tracking, tool execution, and events. Args: response: Chat completion response from Azure
lib/crewai/src/crewai/llms/providers/azure/completion.py:874
↓ 2 callers
Function
_process_query_results
Process ChromaDB query results and convert to SearchResult format. Args: collection: The ChromaDB collection (sync or async) that was que
lib/crewai/src/crewai/rag/chromadb/utils.py:255
↓ 2 callers
Function
_process_response_result
Process LLM response and determine next action. Shared logic for both sync and async handlers. Returns: Tuple of (final_result, next
lib/crewai/src/crewai/a2a/wrapper.py:851
↓ 2 callers
Method
_process_response_with_tools
Process response, execute function calls, and finalize completion. Args: response: The completion response contents:
lib/crewai/src/crewai/llms/providers/gemini/completion.py:946
↓ 2 callers
Method
_process_schema_type
Process a JSON schema and return appropriate Python type.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:110
↓ 2 callers
Function
_process_search_results
Process Qdrant search response into SearchResult format. Args: response: Response from Qdrant query_points method. Returns:
lib/crewai/src/crewai/rag/qdrant/utils.py:183
↓ 2 callers
Method
_process_stream_chunk
Process a single streaming chunk. Args: chunk: The streaming chunk response full_response: Accumulated response text
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1066
↓ 2 callers
Method
_process_streaming_update
Process a single streaming update chunk. Args: update: Streaming update from Azure API full_response: Accumulated res
lib/crewai/src/crewai/llms/providers/azure/completion.py:996
↓ 2 callers
Function
_project_endpoints
Where the project's `.env`, JSON crew or agents.yaml send model requests that the machine's own environment does not, each as `host (setting)`.
lib/cli/src/crewai_cli/api_keys.py:322
↓ 2 callers
Function
_project_files
The project's own files, by path relative to it: hidden folders, caches, virtual environments, `crewai eval export` folders and `eval.jsonc` (the
lib/cli/src/crewai_cli/experimental/eval_crew.py:1030
↓ 2 callers
Function
_project_root
(project_root: Path | None)
lib/crewai/src/crewai/project/json_loader.py:803
↓ 2 callers
Function
_project_run_command
Return a runner command using the project environment.
lib/cli/src/crewai_cli/run_crew.py:596
↓ 2 callers
Function
_project_script_target
(script_name: str)
lib/cli/src/crewai_cli/kickoff_flow.py:17
↓ 2 callers
Function
_project_state
Each project file with its modification time and size.
lib/cli/src/crewai_cli/experimental/eval_crew.py:1072
↓ 2 callers
Function
_project_tracing_value
`CREWAI_TRACING_ENABLED` as the run will see it: the project's `.env` (which wins, as the run loads it) or else the environment, lowercased.
lib/cli/src/crewai_cli/experimental/eval_crew.py:288
↓ 2 callers
Function
_prompt_can_be_shown
Could a question about traces be put to somebody at all? Three cases where it cannot: a suite under test, a host that asked for tracing messa
lib/crewai/src/crewai/events/listeners/tracing/utils.py:531
↓ 2 callers
Method
_prompt_input_async
Show rich panel and prompt for input without blocking the event loop. Args: crew: The crew instance for context. Returns
lib/crewai/src/crewai/core/providers/human_input.py:372
↓ 2 callers
Function
_prompt_text
( label: str, default: str = "", *, spacing_before: bool = True, )
lib/cli/src/crewai_cli/create_json_crew.py:307
↓ 2 callers
Function
_provider_api_key
First non-empty API key found among the provider's env vars.
lib/cli/src/crewai_cli/model_catalog.py:76
↓ 2 callers
Function
_pydantic_valid_event
Return True if *data* validates as an A2UIEvent.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:43
↓ 2 callers
Function
_pydantic_valid_message
Return True if *data* validates as an A2UIMessage.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:34
↓ 2 callers
Function
_python_ref_path
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:692
↓ 2 callers
Function
_query_value
(url: str, params: tuple[str, ...])
lib/crewai-files/src/crewai_files/spreadsheets/__init__.py:171
↓ 2 callers
Function
_raise_for_upstream_error
Raise when a 200 response carries an upstream error instead of choices. Gateways commit `200 OK` as soon as a provider accepts the request, so a
lib/crewai/src/crewai/llms/providers/openai/completion.py:131
↓ 2 callers
Function
_raw_create_double
Double for `chat.completions.with_raw_response.create`. `text` has to be real JSON carrying `choices` so the gateway error-envelope guard see
lib/crewai/tests/llms/openai/test_openai.py:503
↓ 2 callers
Function
_react_text_executor
Wire an executor for the ReAct text tool route (execute_tool_action).
lib/crewai/tests/agents/test_react_tool_hook_contract.py:35
← previous
next →
2,401–2,500 of 19,264, ranked by callers