Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
↓ 1 callers
Function
dropped
Whether ``head`` is more than ``max_drop`` (a fraction) below ``base``.
lib/devtools/src/crewai_devtools/agents_md_eval.py:307
↓ 1 callers
Method
emit_evaluation_completed_event
( self, agent_role: str, agent_id: str, task_id: str | None = None, me
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:309
↓ 1 callers
Method
emit_evaluation_failed_event
( self, agent_role: str, agent_id: str, error: str, task_id: str | None = None )
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:329
↓ 1 callers
Method
end_crew
Records the end of crew execution. Args: crew: The crew that finished execution. final_string_output: The final outpu
lib/crewai/src/crewai/telemetry/telemetry.py:929
↓ 1 callers
Method
enhance_system_prompt
Enhance the base system prompt with structured output requirements if needed. Args: base_prompt: The original system prompt.
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/structured_output_converter.py:50
↓ 1 callers
Method
enhance_system_prompt
Add structured output instructions to the system prompt if needed. Args: original_prompt: The base system prompt. Return
lib/crewai/src/crewai/agents/agent_adapters/langgraph/structured_output_converter.py:65
↓ 1 callers
Method
error_code
Extract and normalize provider error codes across common SDK shapes.
lib/crewai/src/crewai/llms/retry.py:80
↓ 1 callers
Function
eval_crew
(*args: Any, **kwargs: Any)
lib/cli/src/crewai_cli/cli.py:60
↓ 1 callers
Function
eval_crew
Evaluate the last traced run of this project, or the run RUN_ID. With no traced run, or when the project changed since its last one, the crew
lib/cli/src/crewai_cli/experimental/eval_crew.py:369
↓ 1 callers
Function
eval_export
(*args: Any, **kwargs: Any)
lib/cli/src/crewai_cli/cli.py:72
↓ 1 callers
Function
eval_models
(*args: Any, **kwargs: Any)
lib/cli/src/crewai_cli/cli.py:66
↓ 1 callers
Function
evaluate_crew
(*args: Any, **kwargs: Any)
lib/cli/src/crewai_cli/cli.py:42
↓ 1 callers
Function
evaluate_run
Start the evaluation of EXECUTION_ID and wait for its verdict. The run app's door into this command: it has a screen of its own to show the l
lib/cli/src/crewai_cli/experimental/eval_crew.py:634
↓ 1 callers
Function
evaluating_after_run
Run the crew for an evaluation that is already under way. `crewai eval` with nothing traced runs the crew first. The app it opens would other
lib/cli/src/crewai_cli/crew_run_tui.py:407
↓ 1 callers
Function
evaluation_trusts_amp
May the saved login go to BASE_URL for this run? Only to an AMP origin `crewai eval` trusted before the project's `.env` was loaded, over HTTPS or
lib/crewai-core/src/crewai_core/eval_handshake.py:99
↓ 1 callers
Method
execute
(self, *args: Any, **kwargs: Any)
lib/crewai/tests/tools/test_tool_failure.py:2308
↓ 1 callers
Function
execute_a2a_delegation
Execute a task delegation to a remote A2A agent synchronously. WARNING: This function blocks the entire thread by creating and running a new
lib/crewai/src/crewai/a2a/utils/delegation.py:135
↓ 1 callers
Function
expected_message
(provider: Provider)
lib/crewai/tests/llms/test_missing_api_key.py:121
↓ 1 callers
Function
explode
()
lib/cli/tests/experimental/test_eval_crew.py:1242
↓ 1 callers
Method
export
(self, spans: Any)
lib/crewai-core/src/crewai_core/telemetry.py:127
↓ 1 callers
Method
export
(self, spans: object)
lib/crewai-core/tests/test_runtime_env.py:35
↓ 1 callers
Method
extract
(self)
lib/crewai/src/crewai/flow/skill.py:328
↓ 1 callers
Method
extractTriggerIds
(condition)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1634
↓ 1 callers
Function
extract_a2a_agent_ids_from_config
Extract A2A agent IDs from A2A configuration. Filters out A2AServerConfig since it doesn't have an endpoint for delegation. Args: a2
lib/crewai/src/crewai/a2a/utils/response_model.py:58
↓ 1 callers
Function
extract_discriminator
(model_schema: dict[str, Any])
lib/crewai/src/crewai/flow/skill.py:543
↓ 1 callers
Function
extract_error_message
Extract error message from A2A task. Args: a2a_task: A2A Task object default: Default message if no error found Returns:
lib/crewai/src/crewai/a2a/task_helpers.py:111
↓ 1 callers
Method
extract_memories
Extract discrete memories from content; delegates to underlying Memory.
lib/crewai/src/crewai/memory/memory_scope.py:329
↓ 1 callers
Method
extract_memories
(self, *_args: Any, **_kwargs: Any)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:332
↓ 1 callers
Method
extract_state_from_history
Extract extension-specific state from conversation history. Called during prompt augmentation to allow extensions to analyze the conv
lib/crewai/src/crewai/a2a/extensions/base.py:95
↓ 1 callers
Function
extract_task_result_parts
Extract result parts from A2A task status message, history, and artifacts. Args: a2a_task: A2A Task object with status, history, and arti
lib/crewai/src/crewai/a2a/task_helpers.py:73
↓ 1 callers
Function
fail_many
(messages: list[str])
lib/crewai/src/crewai/project/json_loader.py:401
↓ 1 callers
Function
fail_session
()
lib/crewai/tests/telemetry/test_enterprise_session_compatibility.py:170
↓ 1 callers
Function
failing
(name)
lib/cli/tests/experimental/test_eval_crew.py:4093
↓ 1 callers
Method
feature_usage_span
(self, feature: str, attributes: Any = None)
lib/cli/tests/test_run_usage.py:140
↓ 1 callers
Function
fetch_agent_card
Fetch AgentCard from an A2A endpoint with optional caching. Args: endpoint: A2A agent endpoint URL (AgentCard URL). auth: Optiona
lib/crewai/src/crewai/a2a/utils/agent_card.py:103
↓ 1 callers
Function
fetch_crews
Fetch crew instances from a module attribute.
lib/crewai/src/crewai/utilities/project_utils.py:152
↓ 1 callers
Function
fetch_provider_data
Fetches provider data from a specified URL and caches it to a file. Args: cache_file: The path to the cache file. Returns: T
lib/cli/src/crewai_cli/provider.py:153
↓ 1 callers
Function
fetch_required_inputs
Extract placeholders from the crew's tasks and agents. Args: crew: The crew object. Returns: A set of placeholder names.
lib/crewai/src/crewai/utilities/crew_chat.py:406
↓ 1 callers
Method
field_is_hidden
( self, model_name: str, field_name: str, )
lib/crewai/src/crewai/flow/skill.py:421
↓ 1 callers
Method
filter_dataset_by_id
(self, target_id: str)
lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_dataset.py:445
↓ 1 callers
Method
filter_where
(self, func: Callable[[T], bool])
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:75
↓ 1 callers
Method
finalize
Finalize execution and emit completion logs. If todos were used, synthesizes a final answer from all todo results. Handles both the l
lib/crewai/src/crewai/agents/agent_executor.py:2663
↓ 1 callers
Method
finalize_ephemeral_trace_batch
( self, trace_batch_id: str, payload: TraceFinalizePayload )
lib/crewai-core/src/crewai_core/plus_api.py:646
↓ 1 callers
Method
finalize_session_traces
(self, *, discard=False)
lib/cli/tests/test_trace_consent_session.py:241
↓ 1 callers
Method
finalize_trace_batch
( self, trace_batch_id: str, payload: TraceFinalizePayload )
lib/crewai-core/src/crewai_core/plus_api.py:636
↓ 1 callers
Function
find_category_row
(labels: list[str], category: str)
lib/cli/tests/test_create_crew.py:543
↓ 1 callers
Method
find_elements
(self, by: str, selector: str)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:164
↓ 1 callers
Method
finish
(self, result)
lib/crewai/tests/telemetry/test_flow_telemetry.py:573
↓ 1 callers
Function
fix_discriminator_mappings
Replace '#/$defs/...' references in discriminator.mapping with just the model name. Args: schema: JSON schema dictionary. Returns:
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:306
↓ 1 callers
Method
flow_completed_span
Records how long a flow ran and how it ended. A separate span from ``Flow Execution`` rather than that span held open to completion:
lib/crewai/src/crewai/telemetry/telemetry.py:1129
↓ 1 callers
Method
flow_method_failed_span
Records that a method inside a flow raised. The method name is deliberately not recorded: it is user-authored and would put arbitrary
lib/crewai/src/crewai/telemetry/telemetry.py:1205
↓ 1 callers
Method
flow_paused_span
Records that a flow stopped to wait for a human. A pause is a lifecycle state, not a feature: the run has neither completed nor faile
lib/crewai/src/crewai/telemetry/telemetry.py:1182
↓ 1 callers
Function
flush_input
Flush any pending input from the user.
lib/crewai/src/crewai/utilities/crew_chat.py:177
↓ 1 callers
Method
force_flush
(self, timeout_millis: int = 30000)
lib/crewai-core/tests/test_runtime_env.py:41
↓ 1 callers
Method
force_flush
(self, timeout_millis: int = 30000)
lib/crewai/src/crewai/telemetry/tracing/session.py:74
↓ 1 callers
Method
format_block
Format a resolved file into an Anthropic content block. Args: file: Original file input with metadata. resolved: Reso
lib/crewai-files/src/crewai_files/formatting/anthropic.py:21
↓ 1 callers
Function
format_inline_example
(value: Any)
lib/crewai/src/crewai/flow/skill.py:611
↓ 1 callers
Method
format_output_for_agent
Format a raw tool result into the string representation sent to an agent.
lib/crewai/src/crewai/tools/structured_tool.py:296
↓ 1 callers
Function
format_task_with_context
Format task prompt with context if provided. Args: task_prompt: The task prompt. context: Optional context string. Returns:
lib/crewai/src/crewai/agent/utils.py:94
↓ 1 callers
Method
format_text_content
Format text as an OpenAI Responses API content block. Args: text: The text content to format. Returns: A con
lib/crewai-files/src/crewai_files/formatting/openai.py:27
↓ 1 callers
Function
freeze_version
(tag: str, *, force: bool = False)
scripts/docs/freeze_historical_versions.py:95
↓ 1 callers
Method
from_action
Wrap a composio tool as crewAI tool.
lib/crewai-tools/src/crewai_tools/tools/composio_tool/composio_tool.py:49
↓ 1 callers
Method
from_checkpoint
Restore a Flow from a checkpoint. Args: config: Checkpoint configuration with ``restore_from`` set to the path of
lib/crewai/src/crewai/flow/runtime/__init__.py:656
↓ 1 callers
Method
from_checkpoint
Restore a RuntimeState from a checkpoint. Args: config: Checkpoint configuration with ``restore_from`` set. **kwargs:
lib/crewai/src/crewai/state/runtime.py:398
↓ 1 callers
Method
from_checkpoint
Read a JSON checkpoint file. Args: location: Filesystem path to the checkpoint file. Returns: The raw JSON s
lib/crewai/src/crewai/state/provider/json_provider.py:123
↓ 1 callers
Method
from_checkpoint
Restore an Agent from a checkpoint, ready to resume via kickoff(). Args: config: Checkpoint configuration with ``restore_from`` s
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:409
↓ 1 callers
Method
from_dict
Deserialize context from a dictionary. Args: data: Dictionary representation of the context. Returns: Recons
lib/crewai/src/crewai/flow/async_feedback/types.py:127
↓ 1 callers
Method
from_dict
Create a SecurityConfig from a dictionary. Args: data: Dictionary representation of a security config Returns:
lib/crewai/src/crewai/security/security_config.py:70
↓ 1 callers
Method
from_env
(cls)
lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_unlocker.py:17
↓ 1 callers
Method
from_env
(cls)
lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_dataset.py:18
↓ 1 callers
Method
from_env
(cls)
lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_serp.py:16
↓ 1 callers
Method
from_langchain
Create a Tool instance from a CrewStructuredTool. This method takes a CrewStructuredTool object and converts it into a Tool instance.
lib/crewai/src/crewai/tools/base_tool.py:636
↓ 1 callers
Method
from_string
(cls, value: str)
lib/cli/tests/test_create_crew.py:1000
↓ 1 callers
Method
from_todo_items
Convert TodoItem objects to TodoExecutionResult summaries. Args: todo_items: List of TodoItem objects from execution. Re
lib/crewai/src/crewai/lite_agent_output.py:81
↓ 1 callers
Method
from_tool
(cls, tool: Any, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/tools/llamaindex_tool/llamaindex_tool.py:28
↓ 1 callers
Function
gather_summaries
()
lib/crewai/src/crewai/llms/context_window.py:346
↓ 1 callers
Method
generate
Static factory method to create a new Fingerprint. Args: seed: A string to use as seed for the UUID generation. I
lib/crewai/src/crewai/security/fingerprint.py:91
↓ 1 callers
Method
generate
(self)
lib/crewai/tests/test_execution_uuid.py:192
↓ 1 callers
Function
generate_crew_tool_schema
Dynamically build a Littellm 'function' schema for the given crew. Args: crew_inputs: A ChatInputs object containing crew_description
lib/crewai/src/crewai/utilities/crew_chat.py:261
↓ 1 callers
Method
getHoverGlowIntensity
(id, isHovered)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:173
↓ 1 callers
Method
getNodeScale
(id)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:117
↓ 1 callers
Method
getPathSignature
(triggerNodeId, activeNodeId, allEdges, nodeData)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1528
↓ 1 callers
Method
get_actions
(self, _selectors)
lib/cli/tests/test_create_crew.py:1145
↓ 1 callers
Function
get_active_rag_config
Get the active RAG configuration without building a default one. Returns: The configuration set with :func:`set_rag_config`, or None if u
lib/crewai/src/crewai/rag/config/utils.py:38
↓ 1 callers
Method
get_agent_evaluation
( self, strategy: AggregationStrategy = AggregationStrategy.SIMPLE_AVERAGE, include_ev
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:208
↓ 1 callers
Method
get_agent_extensions
Get AgentExtension objects for all registered extensions. Returns: List of AgentExtension objects for the AgentCard.
lib/crewai/src/crewai/a2a/extensions/server.py:221
↓ 1 callers
Function
get_all_stream_events
Extract all streaming events from mock emit calls.
lib/crewai/tests/llms/test_tool_call_streaming.py:65
↓ 1 callers
Method
get_async_browser
Get or create an async browser for the specified thread. Args: thread_id: Unique identifier for the thread requesting the browser
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_session_manager.py:41
↓ 1 callers
Method
get_by_hash
Sync wrapper for aget_by_hash.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:420
↓ 1 callers
Method
get_code_execution_tools
Deprecated: CodeInterpreterTool is no longer available.
lib/crewai/src/crewai/agent/core.py:1516
↓ 1 callers
Function
get_commits_from_last_tag
Get commits from the last tag, excluding current version. Args: tag_name: Current tag name (e.g., "v1.0.0"). version: Current ver
lib/devtools/src/crewai_devtools/cli.py:725
↓ 1 callers
Function
get_crew_instance
Get a Crew instance from a module attribute.
lib/crewai/src/crewai/utilities/project_utils.py:131
↓ 1 callers
Method
get_crew_logs_span
Records the retrieval of crew logs.
lib/crewai-core/src/crewai_core/telemetry.py:542
↓ 1 callers
Function
get_crewai_project_type
(pyproject_data: dict[str, Any])
lib/cli/src/crewai_cli/run_crew.py:160
↓ 1 callers
Function
get_crewai_project_type
Return ``[tool.crewai].type`` when configured.
lib/crewai-core/src/crewai_core/project.py:62
↓ 1 callers
Function
get_crews
Get the crew instances from a file.
lib/crewai/src/crewai/utilities/project_utils.py:56
↓ 1 callers
Function
get_current_page
Get the current page of the browser. Args: browser: The browser to get the current page from. Returns: SyncPage: The current
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/utils.py:29
↓ 1 callers
Function
get_current_year
Returns the current year as a string.
lib/crewai/tests/test_llm.py:111
↓ 1 callers
Method
get_dataset_data_async
Asynchronously trigger and poll Bright Data dataset scraping. Args: dataset_type (str): Bright Data Dataset Type. url
lib/crewai-tools/src/crewai_tools/tools/brightdata_tool/brightdata_dataset.py:448
↓ 1 callers
Method
get_delegation_tools
(self, agents: Sequence[BaseAgent])
lib/crewai/src/crewai/agent/core.py:1440
← previous
next →
4,701–4,800 of 19,482, ranked by callers