Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,483 in github.com/crewAIInc/crewAI
⨍
Functions
20,483
◇
Types & classes
3,557
↳
Endpoints
1,005
↓ 6 callers
Method
_select_organization
Let the user choose the organization for this CLI login.
lib/cli/src/crewai_cli/authentication/main.py:96
↓ 6 callers
Function
_serialized_add_image_tool
()
lib/crewai/tests/tools/test_deserialization_guard.py:38
↓ 6 callers
Function
_skill_attrs
Common attributes for every skill event. ``skill_path`` is a ``Path``; OTel attribute values must be primitives, so it is stringified here ra
lib/crewai/src/crewai/telemetry/tracing/handlers.py:3045
↓ 6 callers
Method
_spinner
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1909
↓ 6 callers
Function
_storage
(name: str = "docs")
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:55
↓ 6 callers
Function
_stream
(formatter: ConsoleFormatter, chunks: int, call_type: Any)
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:148
↓ 6 callers
Method
_stringify_result
(result: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:1728
↓ 6 callers
Function
_summarize_context_before_llm_call
Compact messages after a context-window check. Conversational callers allow a single user message because the router serializes its entire co
lib/crewai/src/crewai/utilities/agent_utils.py:578
↓ 6 callers
Function
_text
(content: str)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:352
↓ 6 callers
Function
_ts_from_name
Extract timestamp from checkpoint ID or filename.
lib/cli/src/crewai_cli/checkpoint_cli.py:217
↓ 6 callers
Function
_uploader_or_none
Return the provider's uploader, or None when it is unavailable. get_uploader raises ValueError for an unknown or unconfigured provider. Clean
lib/crewai-files/src/crewai_files/cache/cleanup.py:20
↓ 6 callers
Method
_use_trained_data
Use trained data for the agent task prompt to improve output.
lib/crewai/src/crewai/agent/core.py:1639
↓ 6 callers
Function
_wizard_result
(*agents: dict[str, object])
lib/cli/tests/test_create_crew.py:1650
↓ 6 callers
Function
_write
(path: Path, text: str = "x", seconds_ago: float = 0.0)
lib/cli/tests/experimental/test_eval_crew.py:3557
↓ 6 callers
Function
_written_post
()
lib/cli/tests/test_create_flow.py:719
↓ 6 callers
Method
acquire
(self)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:102
↓ 6 callers
Method
add_template
Download a template and copy it into the current working directory. Args: name: Template name (with or without the template_ pref
lib/cli/src/crewai_cli/remote_template/main.py:93
↓ 6 callers
Method
add_usage_metrics
Add usage metrics from another UsageMetrics object. Args: usage_metrics: The usage metrics to add.
lib/crewai/src/crewai/types/usage_metrics.py:65
↓ 6 callers
Method
aget_or_create_collection
Get an existing collection or create it if it doesn't exist asynchronously. Keyword Args: collection_name: Name of the collection
lib/crewai/src/crewai/rag/qdrant/client.py:254
↓ 6 callers
Function
build_crew
(agent: Agent, **task_kwargs: Any)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:150
↓ 6 callers
Function
build_pdf
Return the bytes of a one-page PDF containing *text*.
lib/crewai-tools/tests/url_read_tool_test.py:53
↓ 6 callers
Method
call_llm_and_parse
Execute LLM call with hooks and parse the response. Returns routing decision based on parsing result.
lib/crewai/src/crewai/agents/agent_executor.py:1643
↓ 6 callers
Function
cancel
Cancel an A2A task. Publishes a cancel event that the cancellable decorator listens for. Args: context: The A2A request context cont
lib/crewai/src/crewai/a2a/utils/task.py:459
↓ 6 callers
Method
check_max_iterations
Check if max iterations reached before proceeding with reasoning.
lib/crewai/src/crewai/agents/agent_executor.py:2521
↓ 6 callers
Function
chunk_pdf
Split a PDF into chunks of maximum page count. Yields chunks one at a time to minimize memory usage. Args: file: The PDF file to chu
lib/crewai-files/src/crewai_files/processing/transformers.py:175
↓ 6 callers
Method
cleanup
Delete every artifact in this execution. Safe to call repeatedly.
lib/crewai/src/crewai/utilities/tool_result_artifacts.py:100
↓ 6 callers
Function
clear_after_tool_call_hooks
Clear all registered global after_tool_call hooks. Returns: Number of hooks that were cleared Example: >>> register_after_to
lib/crewai/src/crewai/hooks/tool_hooks.py:367
↓ 6 callers
Method
close
Release clients and internally created credentials, not caller credentials.
lib/crewai-tools/src/crewai_tools/tools/azure_documentdb_vector_search_tool/vector_search.py:318
↓ 6 callers
Method
close
Record that the response was closed.
lib/crewai-tools/tests/url_read_tool_test.py:48
↓ 6 callers
Function
comparison
(**overrides)
lib/cli/tests/experimental/test_eval_crew.py:1687
↓ 6 callers
Function
complete_call
(call_id)
lib/crewai/tests/telemetry/test_event_trace_session.py:29
↓ 6 callers
Method
connect
(self, sockaddr: tuple[str, int])
lib/crewai-tools/tests/utilities/test_safe_requests.py:523
↓ 6 callers
Function
copy_assistant_instructions
Copy ``AGENTS.md`` and the files that import it into a project. EVALUATION: keep the `crewai eval` guidance — True for crew and flow projects
lib/cli/src/crewai_cli/utils.py:151
↓ 6 callers
Function
create_or_reset_branch
Create ``branch`` from current HEAD, resetting any stale copy. If the branch exists locally or on origin, prompts the user to choose between
lib/devtools/src/crewai_devtools/cli.py:212
↓ 6 callers
Method
create_vector_search_index
Convenience function to create a vector search index. Args: dimensions: Number of dimensions in embedding. If the value is set a
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:152
↓ 6 callers
Method
crew
Creates the Content Crew
lib/cli/src/crewai_cli/templates/flow/crews/content_crew/content_crew.py:53
↓ 6 callers
Method
crew_completed_span
Records how long a crew ran and how it ended, for every user. The crew analogue of :meth:`flow_completed_span`, and it exists because
lib/crewai/src/crewai/telemetry/telemetry.py:1090
↓ 6 callers
Function
default_flow_persistence
Build the default flow persistence backend. Returns the result of the registered factory if one is set, otherwise a built-in :class:`~crewai.
lib/crewai/src/crewai/flow/persistence/factory.py:48
↓ 6 callers
Method
deploy_by_name
Redeploy by name, with PROJECT_ID (`[tool.crewai].project_id`) when set. The body is sent only when there is something in it. An AMP that
lib/crewai-core/src/crewai_core/plus_api.py:461
↓ 6 callers
Method
deploy_by_uuid
Redeploy by uuid, with PROJECT_ID and FORCE as for `deploy_by_name`.
lib/crewai-core/src/crewai_core/plus_api.py:476
↓ 6 callers
Function
detect_tool_failure
Return the failure a tool declared, if it declared one. Only an explicit :class:`ToolFailure` counts, so a tool legitimately returning text a
lib/crewai/src/crewai/tools/tool_failure.py:157
↓ 6 callers
Method
disconnect
Disconnect from MCP server and cleanup resources.
lib/crewai/src/crewai/mcp/client.py:386
↓ 6 callers
Function
execute_tool_and_check_finality
Execute a tool and check if the result should be treated as a final answer. This function integrates tool hooks for before and after tool executi
lib/crewai/src/crewai/utilities/tool_utils.py:201
↓ 6 callers
Method
execute_with_trigger
Execute crew with trigger payload.
lib/cli/src/crewai_cli/triggers/main.py:37
↓ 6 callers
Method
extract_all_tools
(self)
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:30
↓ 6 callers
Function
extract_json_from_llm_response
(text: str)
lib/crewai/src/crewai/experimental/evaluation/json_parser.py:8
↓ 6 callers
Function
factory
Create a gRPC channel for the given URL.
lib/crewai/src/crewai/a2a/utils/delegation.py:811
↓ 6 callers
Function
failure_from_exception
Build a :class:`ToolFailure` from an exception a tool raised.
lib/crewai/src/crewai/tools/tool_failure.py:168
↓ 6 callers
Method
filter
(self, record: logging.LogRecord)
lib/crewai-core/src/crewai_core/telemetry.py:112
↓ 6 callers
Function
find_transport_failure
Search exceptions for the one that explains why a connection failed. A failing transport cancels the coroutine that was waiting on it, so the
lib/crewai/src/crewai/mcp/exceptions.py:252
↓ 6 callers
Function
format_path_for_display
Return a path label that does not expose absolute directory prefixes.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:34
↓ 6 callers
Method
format_text_content
Format text as a content block for the LLM. Default implementation uses OpenAI/Anthropic format. Subclasses should override for provi
lib/crewai/src/crewai/llms/base_llm.py:748
↓ 6 callers
Method
get
(self, url: str)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:147
↓ 6 callers
Function
get_a2a_agents_and_response_model
Get A2A agent configs and response model. Args: a2a_config: A2A configuration (any type). Returns: Tuple of client A2A confi
lib/crewai/src/crewai/a2a/utils/response_model.py:87
↓ 6 callers
Method
get_audience
(self)
lib/cli/tests/authentication/test_login_usage.py:81
↓ 6 callers
Method
get_client_id
(self)
lib/cli/tests/authentication/test_login_usage.py:75
↓ 6 callers
Function
get_crewai_project_config
Return the normalized ``[tool.crewai]`` table from pyproject data.
lib/crewai-core/src/crewai_core/project.py:51
↓ 6 callers
Function
get_latest_version_from_pypi
Return the latest non-yanked PyPI version of CrewAI, or ``None`` on failure.
lib/crewai-core/src/crewai_core/version.py:112
↓ 6 callers
Method
get_pending_todos
Get all pending todos. Returns: List of pending TodoItem objects.
lib/crewai/src/crewai/utilities/planning_types.py:177
↓ 6 callers
Method
get_summary
(self)
lib/crewai/src/crewai/agents/agent_builder/utilities/base_token_process.py:31
↓ 6 callers
Function
get_uploader
Get Gemini file uploader.
lib/crewai-files/src/crewai_files/uploaders/factory.py:89
↓ 6 callers
Method
handle_execution_completion
Handle the completion flow as shown in your diagram.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:48
↓ 6 callers
Function
handle_unknown_error
Handle unknown errors by informing the user. Args: printer: Printer instance for output exception: The exception that occurred
lib/crewai/src/crewai/utilities/agent_utils.py:931
↓ 6 callers
Function
initialize_tool_with
(mock_driver)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:25
↓ 6 callers
Function
is_blocked_ip
Return True if *ip_str* is private, reserved, or otherwise unsafe to fetch. Default-deny: anything that is not globally routable is blocked, plus
lib/crewai-tools/src/crewai_tools/security/safe_path.py:201
↓ 6 callers
Method
is_synced
Return True if the Git repository is fully synced with the remote, False otherwise.
lib/cli/src/crewai_cli/git.py:117
↓ 6 callers
Method
is_throttling_error
Return whether an error chain represents a transient provider throttle.
lib/crewai/src/crewai/llms/retry.py:49
↓ 6 callers
Function
json_crew_project
(folder: Path, *, installed: bool = True)
lib/cli/tests/test_run_usage.py:176
↓ 6 callers
Method
list_crews
List all available crews. Raises: AuthenticationRequiredError: If AMP rejects the login (401). SystemExit: F
lib/cli/src/crewai_cli/deploy/main.py:841
↓ 6 callers
Method
load_prompts
Load prompts from a JSON file. Returns: The I18N instance with loaded prompts. Raises: Exception: If the pro
lib/crewai/src/crewai/utilities/i18n.py:27
↓ 6 callers
Method
load_state
(self, flow_uuid)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:108
↓ 6 callers
Method
login_to_tool_repository
Log in to the tool repository. This request is authenticated, so sending user_identifier and project_id alongside it links the accoun
lib/crewai-core/src/crewai_core/plus_api.py:353
↓ 6 callers
Function
merge_tool_failures
Concatenate failure lists, dropping records already present. Guardrail retries rebuild the output from overlapping sources, so identity is no
lib/crewai/src/crewai/tools/tool_failure.py:214
↓ 6 callers
Function
normalize_package_name
Normalize a project name into its scaffolded Python package name.
lib/cli/src/crewai_cli/utils.py:94
↓ 6 callers
Method
on_button_pressed
(self, event: Button.Pressed)
lib/cli/src/crewai_cli/crew_run_tui.py:1838
↓ 6 callers
Function
operation
()
lib/crewai/tests/llms/test_retry.py:116
↓ 6 callers
Function
optimize_image
Optimize an image to fit within a target file size. Uses iterative quality reduction to achieve target size. Args: file: The image f
lib/crewai-files/src/crewai_files/processing/transformers.py:95
↓ 6 callers
Function
package
A workbook in ``folder`` whose ``_rels/.rels`` points there, holding ``sheets`` by name; ``decoy`` adds a one-cell workbook at the usual ``xl/``.
lib/crewai-files/tests/spreadsheets/test_reading.py:660
↓ 6 callers
Function
plan_naming
Crew planning writes a plan that tells the agent to open ``url``.
lib/crewai/tests/agents/test_agent_spreadsheets.py:672
↓ 6 callers
Method
recall
Recall relevant memories. Delegates to this flow's memory. Args: query: Natural language query. **kwargs: Passed to m
lib/crewai/src/crewai/flow/runtime/__init__.py:1015
↓ 6 callers
Method
record_export
Record the run for `crewai eval` once its spans have reached Wharf, and say where to look at it. Only a run whose every export succee
lib/crewai/src/crewai/telemetry/tracing/grants.py:445
↓ 6 callers
Function
register_scoped
Register a hook scoped to the current :func:`scoped_hooks` context.
lib/crewai/src/crewai/hooks/dispatch.py:177
↓ 6 callers
Method
render_template
Interpolate ``${...}`` expressions inside nested strings as CEL. A string that is exactly one ``${...}`` keeps the evaluated value's
lib/crewai/src/crewai/flow/expressions.py:291
↓ 6 callers
Method
reset
Reset all settings to default values.
lib/crewai-core/src/crewai_core/settings.py:239
↓ 6 callers
Function
restore_event_scope
Restore the event scope stack from a checkpoint.
lib/crewai/src/crewai/events/event_context.py:136
↓ 6 callers
Function
resume_task_scope
Push the latest recorded ``task_started`` scope for a task. Args: task_id: The task identifier to look up in the active event record.
lib/crewai/src/crewai/events/event_context.py:141
↓ 6 callers
Method
run
(self)
lib/cli/tests/test_run_crew.py:765
↓ 6 callers
Method
run
( self, crew: Crew | None = None, agents: list[Agent] | list[BaseAgent] | None = None,
lib/crewai/src/crewai/experimental/evaluation/experiment/runner.py:32
↓ 6 callers
Function
scoped_hooks
Enter an execution-scoped hook registry. Hooks registered inside this context (via :func:`register_scoped`) run after global hooks and are di
lib/crewai/src/crewai/hooks/dispatch.py:160
↓ 6 callers
Function
set_artifact_store
Replace the process-wide artifact store.
lib/crewai/src/crewai/artifacts.py:266
↓ 6 callers
Method
set_cache_handler
Set the cache handler for the agent. Args: cache_handler: An instance of the CacheHandler class.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:800
↓ 6 callers
Function
set_last_event_id
Set the ID of the last emitted event. Args: event_id: The event_id to set as the last emitted event.
lib/crewai/src/crewai/events/event_context.py:91
↓ 6 callers
Method
set_tracer
Mark telemetry live (idempotent). Deliberately does not install a global TracerProvider. Doing so made every OTel-instrumented librar
lib/crewai-core/src/crewai_core/telemetry.py:377
↓ 6 callers
Function
should_suppress_console_output
Return True if console output should currently be suppressed.
lib/crewai-core/src/crewai_core/printer.py:27
↓ 6 callers
Method
shutdown
Gracefully shutdown the event loop and wait for all tasks to finish. Args: wait: If True, wait for all pending tasks to complete
lib/crewai/src/crewai/events/event_bus.py:897
↓ 6 callers
Function
sleep
(seconds: float)
lib/cli/tests/experimental/test_eval_crew.py:682
↓ 6 callers
Method
start
(self)
lib/crewai/tests/tools/test_structured_tool.py:397
↓ 6 callers
Method
start_deployment_span
Records redeploying an existing crew (``crewai deploy push``). Also emits ``deploy:pushed`` so that deployments are countable from the
lib/crewai-core/src/crewai_core/telemetry.py:425
↓ 6 callers
Method
stream_events
Run the LLM call and stream scoped public ``StreamFrame`` events.
lib/crewai/src/crewai/llms/base_llm.py:578
↓ 6 callers
Method
subscribe
Iterate over frames, optionally filtered by channel.
lib/crewai/src/crewai/types/streaming.py:240
← previous
next →
1,001–1,100 of 20,483, ranked by callers