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
↓ 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:1941
↓ 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:1179
↓ 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:560
↓ 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:1963
↓ 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:1570
↓ 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:3591
↓ 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:932
↓ 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
Method
_save_kickoff_artifact
Save the output as ``artifact`` onto ``output.artifact``; logs failures.
lib/crewai/src/crewai/agent/core.py:2157
↓ 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:1069
↓ 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:1783
↓ 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:960
↓ 2 callers
Function
_select_platform_actions
Replace selected Platform applications with the chosen actions for an agent.
lib/cli/src/crewai_cli/create_json_crew.py:585
↓ 2 callers
Function
_select_tools
Accordion tool picker. Common tools are always visible at the top; every other category shows as a single expandable row. Expanding one categ
lib/cli/src/crewai_cli/create_json_crew.py:412
↓ 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:1044
↓ 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:945
↓ 2 callers
Function
_setup_platform_auth
Get and validate AMP authentication for selected platform applications.
lib/cli/src/crewai_cli/create_json_crew.py:1296
↓ 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
↓ 2 callers
Method
_status
(self, zip_deployment: bool)
lib/cli/tests/deploy/test_deploy_main.py:2050
↓ 2 callers
Function
_status_phrase
Render a status code with its reason phrase, e.g. ``401 Unauthorized``.
lib/crewai/src/crewai/mcp/exceptions.py:41
↓ 2 callers
Method
_stop_once
(self)
lib/crewai/tests/tools/test_tool_failure.py:2527
↓ 2 callers
Method
_store_feedback_lessons
( self, feedback_definition: FlowHumanFeedbackDefinition, method_name: str, me
lib/crewai/src/crewai/flow/runtime/__init__.py:3752
↓ 2 callers
Method
_store_input_files
Store task input files in the file store.
lib/crewai/src/crewai/task.py:1454
↓ 2 callers
Function
_stream_chunk
Build a streamed chunk; ``tool_call`` is (id, name, arguments fragment).
lib/crewai/tests/llms/openai/test_openai.py:2578
↓ 2 callers
Method
_stream_event_response_ids
(self, mock_emit)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:339
↓ 2 callers
Function
_strict_parser
An expat parser that refuses any DTD: a workbook never declares one, and one here would be an entity-expansion attempt.
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:518
↓ 2 callers
Method
_stringify_output
(self, result: Any)
lib/cli/src/crewai_cli/crew_run_tui.py:1250
↓ 2 callers
Method
_stringify_response
(response: Any)
lib/crewai-tools/src/crewai_tools/tools/tavily_research_tool/tavily_research_tool.py:133
↓ 2 callers
Method
_stringify_response
(response: Any)
lib/crewai-tools/src/crewai_tools/tools/tavily_get_research_tool/tavily_get_research_tool.py:97
↓ 2 callers
Function
_strip_keys_recursive
Recursively delete schema metadata keys without deleting property names. JSON Schema stores fields under a ``properties`` map. A user/tool argume
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:551
↓ 2 callers
Method
_strip_step_observation_json
Hide structured step-observation JSON from the live transcript.
lib/cli/src/crewai_cli/crew_run_tui.py:2396
↓ 2 callers
Method
_structured_final_answer
Ask once more for the response model when tools left the answer free-form. Requests that offer tools carry no response schema, so a tool-usin
lib/crewai/src/crewai/agents/agent_executor.py:1848
↓ 2 callers
Function
_stub_llm
An LLM with the instructor call captured, no network involved.
lib/crewai/tests/llms/test_structured_output_multimodal.py:26
↓ 2 callers
Function
_stub_task
(crew)
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:287
↓ 2 callers
Function
_summary_request_tokens
Count the exact request used for a summary call through the active LLM.
lib/crewai/src/crewai/llms/context_window.py:429
↓ 2 callers
Function
_sync_checkpoint_fields
Copy private runtime attrs into checkpoint fields before serializing. Args: entity: The entity whose private runtime attributes will be
lib/crewai/src/crewai/state/runtime.py:52
↓ 2 callers
Function
_table_lines
(frame: pd.DataFrame, limit: int, index: str = "row")
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:534
↓ 2 callers
Function
_take_a_parse_slot
Wait for one of the few parse slots, so concurrent uploads can't each allocate a full workbook at once; release it with ``_parses.release()``.
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:263
↓ 2 callers
Function
_task
(agent: Agent)
lib/crewai/tests/agents/test_agent_inject_date.py:71
↓ 2 callers
Function
_task_allowed_fields
(task_class: type[Any] | None = None)
lib/crewai/src/crewai/project/json_loader.py:1232
↓ 2 callers
Function
_text
(path: Path)
lib/cli/src/crewai_cli/api_keys.py:603
↓ 2 callers
Function
_timestamp
()
lib/crewai/src/crewai/experimental/flow_jobs.py:39
↓ 2 callers
Method
_to_state_dict
Convert state_data to a plain dict.
lib/crewai/src/crewai/flow/persistence/sqlite.py:180
↓ 2 callers
Function
_too_big_unpacked
()
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:323
↓ 2 callers
Function
_too_far_line
(name: str, extent: tuple[int, int] | None)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:185
↓ 2 callers
Method
_tool
(is_error: bool)
lib/crewai/tests/tools/test_tool_failure.py:1644
↓ 2 callers
Method
_tool
()
lib/crewai/tests/tools/test_tool_failure.py:1678
↓ 2 callers
Function
_tool_call
(tc: Any)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:317
↓ 2 callers
Function
_tool_call_body
()
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:61
↓ 2 callers
Function
_tool_call_stream
()
lib/crewai/tests/test_llm_litellm_usage_events.py:89
↓ 2 callers
Method
_tool_calling
( self, tool_string: str )
lib/crewai/src/crewai/tools/tool_usage.py:912
↓ 2 callers
Function
_tool_definition_errors
Structurally validate tool declarations WITHOUT importing anything. Used by validation/deploy paths where executing project code (which ``cus
lib/crewai/src/crewai/project/json_loader.py:2062
↓ 2 callers
Function
_tool_failure_attrs
Span attributes describing a declared tool failure. Empty for a successful call, so callers can splat it unconditionally.
lib/crewai/src/crewai/telemetry/tracing/handlers.py:1373
← previous
next →
2,601–2,700 of 19,663, ranked by callers