Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
↓ 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:3648
↓ 2 callers
Function
_is_version_slug
(value: str)
scripts/docs/prefix_version_paths.py:57
↓ 2 callers
Function
_is_yaml
(path: Path)
lib/cli/src/crewai_cli/agent_tools.py:153
↓ 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:248
↓ 2 callers
Function
_iter_condition_labels
(condition: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:79
↓ 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. Returns None, with a warning, when the schema can't be used.
lib/crewai/src/crewai/mcp/tool_resolver.py:690
↓ 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:291
↓ 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:577
↓ 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:385
↓ 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:4026
↓ 2 callers
Method
_make_batch_manager
(self, ephemeral: bool = False)
lib/crewai/tests/tracing/test_tracing.py:1458
↓ 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:323
↓ 2 callers
Method
_make_state
(self)
lib/crewai/tests/test_checkpoint.py:520
↓ 2 callers
Function
_make_tool
(monkeypatch: pytest.MonkeyPatch, result: Any)
lib/crewai-tools/tests/tools/test_databricks_query_tool.py:34
↓ 2 callers
Function
_make_tool
(headers: dict[str, str])
lib/crewai-tools/tests/tools/test_weaviate_tool.py:10
↓ 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:767
↓ 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:2563
↓ 2 callers
Function
_marked_messages_with_images
(count: int)
lib/crewai/tests/llms/test_multimodal.py:211
↓ 2 callers
Function
_marker_path
()
lib/cli/src/crewai_cli/experimental/eval_crew.py:595
↓ 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:1184
↓ 2 callers
Function
_metadata_filter_to_where
Convert flat metadata conditions into Chroma's single-clause form.
lib/crewai/src/crewai/rag/chromadb/utils.py:138
↓ 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:997
↓ 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:1302
↓ 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
_new_storage
(path: Path, records: list[MemoryRecord])
lib/crewai/tests/memory/test_lancedb_scoped_count.py:32
↓ 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:2265
↓ 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:2525
↓ 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:2707
↓ 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:508
↓ 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
Method
_parse_xml
(self, content: str, source_ref: str)
lib/crewai-tools/src/crewai_tools/rag/loaders/xml_loader.py:40
↓ 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:3163
↓ 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:1639
↓ 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:1041
↓ 2 callers
Method
_post_kickoff
(self, result: CrewOutput)
lib/crewai/src/crewai/crew.py:1111
↓ 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:987
↓ 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:674
↓ 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:1052
↓ 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:3602
↓ 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:477
↓ 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:155
↓ 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:826
↓ 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:2500
↓ 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:1104
↓ 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:679
↓ 2 callers
Method
_process_async_tasks
( self, futures: list[tuple[Task, Future[TaskOutput], int]], was_replayed: bool = Fals
lib/crewai/src/crewai/crew.py:2044
↓ 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:877
↓ 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:268
↓ 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:887
↓ 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:955
↓ 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
← previous
next →
2,601–2,700 of 20,757, ranked by callers