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
Function
_read_agent_definition
(path: Path)
lib/crewai/src/crewai/project/json_loader.py:241
↓ 2 callers
Function
_read_key
()
lib/cli/src/crewai_cli/tui_picker.py:31
↓ 2 callers
Method
_record_to_point
Convert a MemoryRecord to a Qdrant Point.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:192
↓ 2 callers
Method
_record_to_row
(self, record: MemoryRecord)
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:272
↓ 2 callers
Function
_record_usage
Count an evaluation that is actually starting, whether the caller was logged in, and which run it grades. TARGET is `last_run` when `crewai e
lib/cli/src/crewai_cli/experimental/eval_crew.py:135
↓ 2 callers
Function
_recorded_run
This execution's own record, if its trace reached AMP. crewAI records a run when its spans are exported, so the record answers the one questi
lib/cli/src/crewai_cli/crew_run_tui.py:498
↓ 2 callers
Method
_redeploy
( self, endpoint: str, *, project_id: str | None, force: bool )
lib/crewai-core/src/crewai_core/plus_api.py:482
↓ 2 callers
Function
_referenced_input_names
All ``{placeholder}`` names referenced by a crew's agents and tasks.
lib/cli/src/crewai_cli/run_crew.py:196
↓ 2 callers
Method
_refresh_tree
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:335
↓ 2 callers
Method
_register_action_event_handlers
Register handlers for action events (LLM calls, tool usage).
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:444
↓ 2 callers
Method
_remember_no_reasoning_effort_model
Record that this model rejected `reasoning_effort`. Called once the retry without the parameter has succeeded, so a retry that fails
lib/crewai/src/crewai/llms/providers/openai/completion.py:2161
↓ 2 callers
Method
_remember_tools_need_responses
Send this model's later calls on this endpoint to the Responses API. Not with ``custom_openai=True``: `_effective_api` never upgrades those,
lib/crewai/src/crewai/llms/providers/openai/completion.py:2098
↓ 2 callers
Method
_render
Render the tool name and description in plain text.
lib/crewai/src/crewai/tools/tool_usage.py:855
↓ 2 callers
Method
_render_log_panel
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:2245
↓ 2 callers
Method
_replace
( self, sandbox: Any, paths: list[str], pattern: str, replacement: str
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_file_tool.py:472
↓ 2 callers
Method
_replace_step
Replace current step in-place (no archive). Used for tool results.
lib/cli/src/crewai_cli/crew_run_tui.py:2443
↓ 2 callers
Function
_report_empty_llm_answer
( printer: Printer, verbose: bool, *, retrying: bool )
lib/crewai/src/crewai/utilities/agent_utils.py:512
↓ 2 callers
Function
_report_url
The report link, if it is one a browser may be sent to. It is printed as a link and opened without a click, and it comes from whichever AMP a
lib/cli/src/crewai_cli/experimental/eval_crew.py:1507
↓ 2 callers
Method
_request_kwargs
Validate the LLM, dispatch before-call hooks and build the request.
lib/crewai/src/crewai/utilities/internal_instructor.py:172
↓ 2 callers
Method
_require_cel_source
(value: str, *, source: str | None = None)
lib/crewai/src/crewai/flow/expressions.py:455
↓ 2 callers
Method
_reset_current
Reset the current agent and task tracking state.
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:212
↓ 2 callers
Method
_reset_memory_system
Reset a single memory system. Args: system: The memory system instance to reset. name: Display name of the memory sys
lib/crewai/src/crewai/crew.py:2453
↓ 2 callers
Method
_reset_turn_execution_state
Clear per-execution tracking so the next turn re-runs the graph.
lib/crewai/src/crewai/flow/conversational_mixin.py:1245
↓ 2 callers
Method
_reset_user_settings
Reset all user settings to default values.
lib/crewai-core/src/crewai_core/settings.py:264
↓ 2 callers
Function
_resolve_against_base
Resolve *path* the way the sandbox does, anchoring relatives to *base_dir*. ``validate_file_path`` and ``format_path_for_display`` both join a re
lib/crewai-tools/src/crewai_tools/tools/file_read_tool/file_read_tool.py:16
↓ 2 callers
Method
_resolve_answer_from_history_prompt
Return the deprecated history-only route's effective prompt.
lib/crewai/src/crewai/flow/conversational_mixin.py:1293
↓ 2 callers
Function
_resolve_api_key
Pick ``api_key``, then ``GOOGLE_API_KEY``, then ``GEMINI_API_KEY``. The placeholder is skipped so a leftover one cannot hide a real key further
lib/crewai/src/crewai/llms/providers/gemini/completion.py:44
↓ 2 callers
Method
_resolve_as_url
Resolve a URL source as UrlReference. Args: file: The file with URL source. Returns: UrlReference with the U
lib/crewai-files/src/crewai_files/resolution/resolver.py:147
↓ 2 callers
Method
_resolve_duration
Validate and clamp the requested duration to ``max_seconds``. ``BaseTool.run`` skips ``args_schema`` validation when called with posi
lib/crewai-tools/src/crewai_tools/tools/wait_tool/wait_tool.py:157
↓ 2 callers
Function
_resolve_embedder_python_refs
( value: Any, source: str | Path, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1607
↓ 2 callers
Function
_resolve_explain_command
Resolve the underlying command from an EXPLAIN [ANALYZE] [VERBOSE] statement. Returns the real command (e.g., 'DELETE') if ANALYZE is present, el
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:185
↓ 2 callers
Function
_resolve_hooks
Resolve the ordered hooks for a point: global first, then scoped.
lib/crewai/src/crewai/hooks/dispatch.py:201
↓ 2 callers
Method
_resolve_index_name
(self, index_name: str | None, idx_type: str)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:659
↓ 2 callers
Method
_resolve_inline
Resolve a file as inline content. Args: file: The file to resolve (used for logging). provider: Provider name.
lib/crewai-files/src/crewai_files/resolution/resolver.py:396
↓ 2 callers
Method
_resolve_input_provider
Resolve the input provider using the priority chain. Resolution order: 1. ``self.input_provider`` (per-flow override) 2. ``fl
lib/crewai/src/crewai/flow/runtime/__init__.py:3457
↓ 2 callers
Function
_resolve_instance_ref
(ref: str, *, field: str)
lib/crewai/src/crewai/flow/runtime/__init__.py:297
↓ 2 callers
Function
_resolve_persistence
(value: Any)
lib/crewai/src/crewai/flow/runtime/__init__.py:285
↓ 2 callers
Function
_resolve_project_path
( value: str, project_root: Path | None, source: str | Path, )
lib/crewai/src/crewai/project/json_loader.py:1803
↓ 2 callers
Function
_resolve_ref
Resolve a $ref to its actual schema. Args: ref: The $ref string (e.g., "#/$defs/MyType"). root_schema: The root schema containing
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:1079
↓ 2 callers
Method
_resolve_system_prompt
Return the effective conversational system prompt.
lib/crewai/src/crewai/flow/conversational_mixin.py:1284
↓ 2 callers
Function
_resolve_tool_class
(ref: str)
lib/crewai/src/crewai/project/json_loader.py:1939
↓ 2 callers
Function
_resolve_tool_fields
( kwargs: dict[str, Any], source: str | Path, project_root: Path | None = None, )
lib/crewai/src/crewai/project/json_loader.py:1177
↓ 2 callers
Method
_resolved_overlay
The llm ``llm_overlay`` puts this agent on, given its ``declared`` one. The role's key wins over the model keys; with neither, ``declared``.
lib/crewai/src/crewai/agent/core.py:554
↓ 2 callers
Method
_restore_state
Restore flow state from persistence. Args: stored_state: Previously stored state to restore Raises: ValueErr
lib/crewai/src/crewai/flow/runtime/__init__.py:1941
↓ 2 callers
Function
_retry_after_seconds
Read a numeric ``Retry-After`` hint from common SDK response shapes.
lib/crewai/src/crewai/llms/retry.py:208
↓ 2 callers
Function
_role
(value: Any, default: str)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:356
↓ 2 callers
Method
_roles
(messages: Any)
lib/crewai/tests/test_flow_conversation.py:1610
↓ 2 callers
Method
_run
(self, text: str)
lib/crewai/tests/tools/test_tool_failure.py:1885
↓ 2 callers
Method
_run
(self, min_value: int, max_value: int)
lib/crewai/tests/tools/test_tool_usage.py:48
↓ 2 callers
Method
_run_again_traced
Close, and run the crew again traced through `crewai eval`'s own path (`run_crew._chain_traced_rerun`).
lib/cli/src/crewai_cli/crew_run_tui.py:1559
↓ 2 callers
Method
_run_async
Async implementation of tool execution. A fresh ``MCPClient`` is created for every invocation so that concurrent calls never share tr
lib/crewai/src/crewai/tools/mcp_native_tool.py:113
↓ 2 callers
Function
_run_capturing_flow_lifecycle
(yaml_str, event_types)
lib/crewai/tests/test_flow_from_definition.py:3477
↓ 2 callers
Method
_run_context
(self)
lib/crewai/src/crewai/flow/expressions.py:302
↓ 2 callers
Method
_run_crew_worker
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:921
↓ 2 callers
Function
_run_endpoints
The hosts :func:`_project_endpoints` names, and those the crew's own code pointed a provider at through the environment while it loaded.
lib/cli/src/crewai_cli/api_keys.py:232
↓ 2 callers
Function
_run_from_locked_project
(test: unittest.TestCase)
lib/cli/tests/deploy/test_deploy_main.py:205
↓ 2 callers
Function
_run_in_project_env
`crewai run` from the scaffolded project, as `uv run crewai run` runs it.
lib/cli/tests/test_create_flow.py:723
↓ 2 callers
Function
_safe_branch
Validate that a branch name doesn't escape the base directory. Raises: ValueError: If the branch resolves outside the base directory.
lib/crewai/src/crewai/state/provider/json_provider.py:22
↓ 2 callers
Function
_safe_delete
Safely delete a file, logging any errors. Args: uploader: The file uploader to use. file_id: The file ID to delete. provi
lib/crewai-files/src/crewai_files/cache/cleanup.py:33
↓ 2 callers
Function
_safe_shape
( transform: Callable[[Any], Any], value: Any, attr: str )
lib/crewai/src/crewai/telemetry/tracing/semantic_conventions.py:82
↓ 2 callers
Method
_sanitize_name
Sanitize names to create proper Python class names.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:90
↓ 2 callers
Function
_save_results_to_file
Saves the search results to a file.
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:23
↓ 2 callers
Method
_save_state_sql
Execute the save-state INSERT without acquiring the lock. Args: conn: An open SQLite connection. flow_uuid: Unique id
lib/crewai/src/crewai/flow/persistence/sqlite.py:147
↓ 2 callers
Function
_saved_whole
Did this command save FOLDER whole? Its marker is there, a plain file.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2549
↓ 2 callers
Method
_say_what_became_of_the_evaluation
(self, execution_id: str | None)
lib/cli/src/crewai_cli/crew_run_tui.py:1058
↓ 2 callers
Function
_say_what_the_run_left
After a quiet run: where its output is, and — when it left nothing to evaluate — its last lines, which usually hold the error.
lib/cli/src/crewai_cli/experimental/eval_crew.py:1393
↓ 2 callers
Function
_say_where_the_criteria_live
One line, once: the file exists now, and editing it changes the next grade.
lib/cli/src/crewai_cli/experimental/eval_crew.py:689
↓ 2 callers
Function
_scaffold_locked_crew
A crew with a real uv.lock; uv resolves it offline (no dependencies).
lib/cli/tests/deploy/test_validate.py:321
↓ 2 callers
Method
_scroll_to_result
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1772
↓ 2 callers
Function
_search_scores
(results: list[tuple[MemoryRecord, float]])
lib/crewai/tests/memory/test_storage_backend_async_parity.py:102
↓ 2 callers
Function
_seconds_until_unsubscribed
( app: CrewRunApp, pilot: Pilot[Any], since: float )
lib/cli/tests/test_crew_run_tui.py:1658
↓ 2 callers
Function
_select_model
Two-step arrow-key selection: provider, then model.
lib/cli/src/crewai_cli/create_json_crew.py:955
↓ 2 callers
Method
_selector_effective
(self, selector: str)
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_toolkit.py:182
↓ 2 callers
Function
_serialize_agent_card
Serialize AgentCard to canonical JSON for signing. Excludes the signatures field to avoid circular reference during signing. Uses sorted keys
lib/crewai/src/crewai/a2a/utils/agent_card_signing.py:49
↓ 2 callers
Function
_serialize_schema
(v: type[BaseModel] | None)
lib/crewai/src/crewai/tools/structured_tool.py:33
↓ 2 callers
Function
_serve
(name: str)
lib/crewai-core/tests/test_plus_api_proxy.py:81
↓ 2 callers
Function
_serves_several_providers
(native_class: type[BaseLLM])
lib/crewai/src/crewai/utilities/llm_utils.py:398
↓ 2 callers
Function
_session_event_names
Every `crewai.event_name` the session recorded, across executions.
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:277
↓ 2 callers
Function
_set_flow_method_definition
( wrapper: FlowMethod[P, R], definition: FlowMethodDefinition, )
lib/crewai/src/crewai/flow/dsl/_utils.py:94
↓ 2 callers
Method
_set_result
(self, result: T)
lib/crewai/src/crewai/types/streaming.py:110
↓ 2 callers
Function
_sets_transport
Whether this variable decides the proxy or CA bundle of AMP requests. httpx reads the proxy and CA variables. REQUEST_METHOD counts: urllib drops
lib/crewai-core/src/crewai_core/plus_api.py:153
↓ 2 callers
Function
_setup_env
Save the first model as MODEL and prompt once for each provider's API keys.
lib/cli/src/crewai_cli/create_json_crew.py:1039
↓ 2 callers
Method
_setup_for_evaluating
Sets up the crew for evaluating.
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:54
↓ 2 callers
Method
_setup_for_training
Sets up the crew for training.
lib/crewai/src/crewai/crew.py:941
↓ 2 callers
Function
_share
A percentage that reads 100% only when nothing is missing.
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:72
↓ 2 callers
Function
_should_include_flow_method
(flow_class: type, method: Any)
lib/crewai/src/crewai/flow/dsl/_utils.py:52
↓ 2 callers
Method
_should_replan
Determine if dynamic replanning is needed. Checks for conditions that warrant regenerating the execution plan: 1. Multiple consecutiv
lib/crewai/src/crewai/agents/agent_executor.py:2863
↓ 2 callers
Method
_should_resolve_as_url_reference
Check if the provider can accept the current URL source directly.
lib/crewai-files/src/crewai_files/resolution/resolver.py:133
↓ 2 callers
Method
_should_upload
Determine if a file should be uploaded rather than inlined. Uses type-specific constraints to make smarter decisions: - Checks if fil
lib/crewai-files/src/crewai_files/resolution/resolver.py:230
↓ 2 callers
Function
_shown_path
(path: Path)
lib/cli/src/crewai_cli/experimental/eval_crew.py:1415
↓ 2 callers
Function
_shut
(sock: socket.socket)
lib/crewai-tools/src/crewai_tools/security/ssrf_adapter.py:203
↓ 2 callers
Method
_shutdown
(self)
lib/crewai-core/src/crewai_core/telemetry.py:368
↓ 2 callers
Method
_shutdown
Flush and shutdown the telemetry provider on process exit. Waits at most ``FINAL_FLUSH_SECONDS`` so an unreachable collector cannot h
lib/crewai/src/crewai/telemetry/telemetry.py:220
↓ 2 callers
Function
_sibling_pins
Map each workspace sibling crewai requires (core or extra) to its pin.
lib/devtools/tests/test_toml_updates.py:626
↓ 2 callers
Function
_skill_archive
(name: str, version: str | None = None)
lib/crewai/tests/skills/test_registry.py:25
↓ 2 callers
Function
_skip_string_literal
Skip past a string literal starting at pos (single-quoted). Handles escaped quotes ('') inside the literal. Returns the index after the closi
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:132
↓ 2 callers
Function
_span
(series: Column)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:121
↓ 2 callers
Function
_span_names
(provider: MagicMock)
lib/crewai-core/tests/test_telemetry_deploy.py:42
↓ 2 callers
Function
_start_evaluation
( client: PlusAPI, execution_id: str, *, wait_for_spans: bool = False, note: Callable[[str
lib/cli/src/crewai_cli/experimental/eval_crew.py:1435
↓ 2 callers
Function
_start_logging_in_once
START the evaluation with CLIENT, and the client it started with. When AMP refuses the saved login (401) that went with the request, LOG_IN o
lib/cli/src/crewai_cli/experimental/eval_crew.py:905
← previous
next →
2,501–2,600 of 19,264, ranked by callers