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
Method
sum_completion_tokens
(self, tokens: int)
lib/crewai/src/crewai/agents/agent_builder/utilities/base_token_process.py:21
↓ 1 callers
Method
sum_prompt_tokens
(self, tokens: int)
lib/crewai/src/crewai/agents/agent_builder/utilities/base_token_process.py:17
↓ 1 callers
Method
sum_successful_requests
(self, requests: int)
lib/crewai/src/crewai/agents/agent_builder/utilities/base_token_process.py:28
↓ 1 callers
Function
summarize_chunk
(chunk: list[LLMMessage])
lib/crewai/src/crewai/llms/context_window.py:336
↓ 1 callers
Method
summary
(self, experiment_results: ExperimentResults)
lib/crewai/src/crewai/experimental/evaluation/experiment/result_display.py:14
↓ 1 callers
Method
supports_function_calling
Check if the provider supports function calling. Delegates to the parent OpenAI implementation which handles edge cases like o1 model
lib/crewai/src/crewai/llms/providers/openai_compatible/completion.py:277
↓ 1 callers
Method
supports_function_calling
(self)
lib/crewai/tests/hooks/test_model_call_hook_reach.py:53
↓ 1 callers
Method
supports_multimodal
Check if the LLM supports multimodal inputs. Returns: True if the LLM supports images, PDFs, audio, or video.
lib/crewai/src/crewai/llms/base_llm.py:736
↓ 1 callers
Method
supports_stop_words
Check if the model supports stop words. OpenAI models on Bedrock (gpt-oss, GPT-5.x, GPT-6) reject ``stopSequences``. Stop words are s
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2230
↓ 1 callers
Method
supports_stop_words
(self)
lib/crewai/tests/llms/test_base_llm.py:40
↓ 1 callers
Function
suppress_warnings
Suppress noisy warnings during otel provider setup.
lib/crewai-core/src/crewai_core/telemetry.py:84
↓ 1 callers
Method
system_one
Answer the named questions about ``state``.
scripts/jev_evaluation_runner.py:220
↓ 1 callers
Method
task_ended
Records the completion of a task execution in a crew. Args: span: The OpenTelemetry span tracking the task execution.
lib/crewai/src/crewai/telemetry/telemetry.py:552
↓ 1 callers
Method
task_started
Records task started in a crew. Args: crew: The crew executing the task. task: The task being started. Retur
lib/crewai/src/crewai/telemetry/telemetry.py:481
↓ 1 callers
Function
telemetry_model_name
MODEL as the usage stats may carry it: as typed when it is a model crewAI knows, else `<provider>/other` — and `other/other` for a provider crewAI
lib/cli/src/crewai_cli/experimental/eval_crew.py:1785
↓ 1 callers
Function
template_context
( skips: frozenset[str], examples_format: Literal["yaml", "json"] = "yaml" )
lib/crewai/src/crewai/flow/skill.py:67
↓ 1 callers
Method
test_execution_span
Records the execution of a test suite for a crew. Args: crew: The crew being tested. iterations: Number of test itera
lib/crewai/src/crewai/telemetry/telemetry.py:725
↓ 1 callers
Function
the_run
()
lib/cli/tests/experimental/test_eval_crew.py:4476
↓ 1 callers
Function
ticker
()
lib/crewai-files/tests/test_acleanup_listing_nonblocking.py:29
↓ 1 callers
Method
to_config_dict
Serialize this LLM to a dict that can reconstruct it via ``LLM(**config)``. Returns the core fields that BaseLLM owns. Provider subclasses sh
lib/crewai/src/crewai/llms/base_llm.py:422
↓ 1 callers
Method
to_dict
(self)
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:49
↓ 1 callers
Method
to_dict
Convert json_output and pydantic_output to a dictionary. Returns: Dictionary representation of the task output. Prioritizes json_
lib/crewai/src/crewai/tasks/task_output.py:101
↓ 1 callers
Method
to_json
(self, filepath: str | None = None)
lib/crewai/src/crewai/experimental/evaluation/experiment/result.py:32
↓ 1 callers
Method
to_pydantic
Convert the text to a Pydantic model, with fallback to field-by-field extraction on failure. Args: current_attempt: The current a
lib/crewai/src/crewai/utilities/training_converter.py:18
↓ 1 callers
Method
to_pydantic
(self, current_attempt: int = 1)
lib/crewai/tests/test_task_converter_output.py:22
↓ 1 callers
Method
to_response
Convert to full JSON-RPC error response.
lib/crewai/src/crewai/a2a/errors.py:156
↓ 1 callers
Function
to_string
Serializes an object into a JSON string. Args: obj: Object to serialize. Returns: A JSON-formatted string or `None` if empty
lib/crewai/src/crewai/utilities/serialization.py:130
↓ 1 callers
Function
tool
()
lib/crewai-tools/tests/tools/wait_tool_test.py:10
↓ 1 callers
Function
tool_call_response
(call_id: str)
lib/crewai/tests/test_tool_cache_default.py:53
↓ 1 callers
Function
tool_logging
(emit: Callable[[], None])
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:387
↓ 1 callers
Method
tools
Get the list of tools created from enterprise actions.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:286
↓ 1 callers
Method
tools
Convert Zapier actions to BaseTool instances.
lib/crewai-tools/src/crewai_tools/adapters/zapier_adapter.py:81
↓ 1 callers
Method
tools
Return all converted tools.
lib/crewai/src/crewai/agents/agent_adapters/base_tool_adapter.py:33
↓ 1 callers
Method
touch_records
Update last_accessed to now for the given record IDs. Uses a single batch ``table.update()`` call instead of N delete-and-re-add cycl
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:365
↓ 1 callers
Function
tracing_asked_for
True when a PERSON turned tracing on for this run — `CREWAI_TRACING_ENABLED`, or `tracing=True` on the crew or flow in this context — and is there
lib/crewai/src/crewai/events/listeners/tracing/utils.py:110
↓ 1 callers
Function
tracing_credential_source
Which credential ``tracing_credential`` sends: ``"pat"`` (``CREWAI_USER_PAT``), ``"integration"`` (the platform integration token) or ``"login
lib/crewai/src/crewai/telemetry/tracing/grants.py:124
↓ 1 callers
Function
train_crew
(*args: Any, **kwargs: Any)
lib/cli/src/crewai_cli/cli.py:36
↓ 1 callers
Function
transform
(page: str)
scripts/docs/prefix_version_paths.py:92
↓ 1 callers
Function
translate_release_notes
Translate release notes into the target language using OpenAI. Args: release_notes: English release notes markdown. lang: Languag
lib/devtools/src/crewai_devtools/cli.py:477
↓ 1 callers
Method
tree
Return a formatted tree of scopes (string). Args: path: Root path for the tree. If None and root_scope is set, de
lib/crewai/src/crewai/memory/unified_memory.py:985
↓ 1 callers
Function
tree_copy
Copies the entire directory structure from the source to the destination.
lib/cli/src/crewai_cli/utils.py:220
↓ 1 callers
Function
tree_find_and_replace
Recursively searches through a directory, replacing a target string in both file contents and filenames with a specified replacement string.
lib/cli/src/crewai_cli/utils.py:231
↓ 1 callers
Function
truncate_attr
Bound the byte size of a serialized GenAI attribute, preserving JSON.
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:369
↓ 1 callers
Method
typed_async_agent
(self)
lib/crewai/tests/test_project.py:488
↓ 1 callers
Method
typed_async_task
(self)
lib/crewai/tests/test_project.py:505
↓ 1 callers
Function
unanswered_for
(trouble: str)
lib/cli/src/crewai_cli/experimental/eval_crew.py:1564
↓ 1 callers
Function
unrecognized_argument_error
The other shape, where `param` is null.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:96
↓ 1 callers
Method
unwrap
Get the original unwrapped method. Returns: The original method before decoration.
lib/crewai/src/crewai/flow/flow_wrappers.py:104
↓ 1 callers
Method
unwrap
Get the original unwrapped method. Returns: The original method before decoration.
lib/crewai/src/crewai/project/wrappers.py:327
↓ 1 callers
Function
update_changelog
Prepend a new release entry to a docs changelog file. Args: changelog_path: Path to the changelog.mdx file. version: Version stri
lib/devtools/src/crewai_devtools/cli.py:536
↓ 1 callers
Function
update_crew
Convert the Poetry project in the current directory to uv. Does not upgrade CrewAI. Without a ``[tool.poetry]`` table in ``./pyproject.toml``
lib/cli/src/crewai_cli/update_crew.py:21
↓ 1 callers
Method
update_crew_from_zip
Update an existing crew deployment from a local project ZIP archive. PROJECT_ID as for `create_crew_from_zip`, FORCE as for `deploy_by_name`.
lib/crewai-core/src/crewai_core/plus_api.py:556
↓ 1 callers
Method
update_lite_agent_status
Show lite agent status panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:785
↓ 1 callers
Method
upload
Upload a file to Gemini. For FilePath sources, passes the path directly to the SDK which handles streaming internally via resumable u
lib/crewai-files/src/crewai_files/uploaders/gemini.py:130
↓ 1 callers
Method
upload
Upload a file to the provider. Args: file: The file to upload. purpose: Optional purpose/description for the upload.
lib/crewai-files/src/crewai_files/uploaders/base.py:43
↓ 1 callers
Method
upload
Upload a file to Anthropic. Args: file: The file to upload. purpose: Optional purpose for the file (default: "user_up
lib/crewai-files/src/crewai_files/uploaders/anthropic.py:76
↓ 1 callers
Function
validate_agent_definition
Check a JSON/JSONC or YAML Agent without executing project Python. Check fields, Python-reference syntax and tool declarations without importing
lib/crewai/src/crewai/project/json_loader.py:252
↓ 1 callers
Function
validate_auth_against_agent_card
Validate that provided auth matches AgentCard security requirements. Args: agent_card: The A2A AgentCard containing security requirements
lib/crewai/src/crewai/a2a/auth/utils.py:149
↓ 1 callers
Function
validate_catalog_components
Validate component properties in a surfaceUpdate against the standard catalog. Only applies to surfaceUpdate messages. Components whose type is n
lib/crewai/src/crewai/a2a/extensions/a2ui/validator.py:179
↓ 1 callers
Method
validate_content
Validate the paths.
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:74
↓ 1 callers
Method
validate_content
Validate string content.
lib/crewai/src/crewai/knowledge/source/string_knowledge_source.py:19
↓ 1 callers
Method
validate_content
(self)
lib/crewai/src/crewai/knowledge/source/crew_docling_source.py:159
↓ 1 callers
Method
validate_content
Validate the paths.
lib/crewai/src/crewai/knowledge/source/base_file_knowledge_source.py:54
↓ 1 callers
Function
validate_content_type
Validate that a content type is allowed by a list of modes. Args: content_type: The MIME type to validate. allowed_modes: List of
lib/crewai/src/crewai/a2a/utils/content_type.py:283
↓ 1 callers
Method
validate_dependencies
Validate all registered handler dependencies. Attempts to build execution plans for all event types with dependencies. This detects c
lib/crewai/src/crewai/events/event_bus.py:810
↓ 1 callers
Function
validate_embeddings
Validate embeddings format and content. Args: embeddings: List of numpy arrays to validate. Returns: Validated embeddings.
lib/crewai/src/crewai/rag/core/base_embeddings_callable.py:66
↓ 1 callers
Function
validate_function_name
Validate function name according to common LLM provider requirements. Args: name: The function name to validate provider: The pro
lib/crewai/src/crewai/llms/providers/utils/common.py:9
↓ 1 callers
Function
validate_message_parts
Validate that all message parts have allowed content types. Args: parts: List of Parts from the incoming message. allowed_modes:
lib/crewai/src/crewai/a2a/utils/content_type.py:325
↓ 1 callers
Function
validate_project
Entrypoint: run validation, render results, return the validator. The caller inspects ``validator.ok`` to decide whether to proceed with a de
lib/cli/src/crewai_cli/deploy/validate.py:1268
↓ 1 callers
Function
validate_required_extensions
Validate that client supports all required extensions from agent. Args: agent_card: The agent's card with declared extensions. cl
lib/crewai/src/crewai/a2a/extensions/registry.py:92
↓ 1 callers
Method
validate_template
Validate ``${...}`` expressions inside nested strings as CEL.
lib/crewai/src/crewai/flow/expressions.py:271
↓ 1 callers
Function
validate_tool_references
Reject empty references and unknown CrewAI Platform applications.
lib/cli/src/crewai_cli/agent_tools.py:121
↓ 1 callers
Function
visit
(n: Any)
scripts/docs/prefix_version_paths.py:263
↓ 1 callers
Method
wait_for_load_state
(self, state: str)
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:304
↓ 1 callers
Method
wait_for_pending_events
Wait for all pending event handlers to finish processing Args: timeout: Maximum time to wait in seconds (default: 2.0) R
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:261
↓ 1 callers
Method
wait_for_processing
Wait for a file to finish processing with exponential backoff. Some files (especially videos) need time to process after upload. Arg
lib/crewai-files/src/crewai_files/uploaders/gemini.py:376
↓ 1 callers
Method
wait_for_result
Wait for a task result to be available. Args: task_id: The task ID to wait for. timeout: Max seconds to wait before r
lib/crewai/src/crewai/a2a/updates/base.py:88
↓ 1 callers
Function
watch_for_cancel
Watch for cancellation events via pub/sub or polling.
lib/crewai/src/crewai/a2a/utils/task.py:154
↓ 1 callers
Method
windows
(cls)
lib/crewai/tests/agents/test_native_tool_calling.py:97
↓ 1 callers
Function
wrap_agent_with_a2a_instance
Wrap an agent instance's task execution and kickoff methods with A2A support. This function modifies the agent instance by wrapping its execute_t
lib/crewai/src/crewai/a2a/wrapper.py:97
↓ 1 callers
Function
write_project
Write the instruction files a new project gets at ``ref`` into ``dest``.
lib/devtools/src/crewai_devtools/agents_md_eval.py:160
↓ 1 callers
Method
writer
(self)
lib/cli/src/crewai_cli/templates/flow/crews/content_crew/content_crew.py:23
↓ 1 callers
Method
writer_agent
(self)
lib/crewai/tests/test_crew.py:5000
↓ 1 callers
Function
xlsx_bytes
()
lib/crewai-files/tests/spreadsheets/test_loading.py:19
Function
ZapierActionTools
Factory function that returns Zapier action tools. Args: zapier_api_key: The API key for Zapier. action_list: Optional list of sp
lib/crewai-tools/src/crewai_tools/tools/zapier_action_tool/zapier_action_tool.py:10
Method
_
(source: Any, event: ToolFailureDetectedEvent)
lib/crewai/tests/tools/test_tool_failure.py:335
Method
_
(source: Any, event: ToolFailureDetectedEvent)
lib/crewai/tests/tools/test_tool_failure.py:564
Method
_
(source: Any, event: ToolUsageFinishedEvent)
lib/crewai/tests/tools/test_tool_failure.py:860
Method
_
(source: Any, event: ToolFailureDetectedEvent)
lib/crewai/tests/tools/test_tool_failure.py:1092
Method
_
(source: Any, event: ToolUsageFinishedEvent)
lib/crewai/tests/tools/test_tool_failure.py:1139
Method
_
(source: Any, event: ToolFailureDetectedEvent)
lib/crewai/tests/tools/test_tool_failure.py:1224
Method
_
(source: Any, event: ToolFailureDetectedEvent)
lib/crewai/tests/tools/test_tool_failure.py:1467
Method
_
(source: Any, event: ToolFailureDetectedEvent)
lib/crewai/tests/tools/test_tool_failure.py:1974
Method
__aenter__
Async enter context manager.
lib/crewai-files/src/crewai_files/core/sources.py:463
Method
__aenter__
(self)
lib/crewai-files/tests/test_bedrock_async_client.py:35
Method
__aenter__
(self)
lib/crewai/src/crewai/types/streaming.py:198
Method
__aenter__
Enter async context manager.
lib/crewai/src/crewai/types/streaming.py:404
Method
__aenter__
Async context manager entry.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1430
Method
__aenter__
Async context manager entry.
lib/crewai/src/crewai/mcp/client.py:784
Method
__aenter__
Async context manager entry.
lib/crewai/src/crewai/mcp/transports/base.py:86
← previous
next →
5,301–5,400 of 19,482, ranked by callers