Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
↓ 1 callers
Method
apply_refinements
Apply structured refinements from the observation directly to todo descriptions. No LLM call needed — refinements are already structured Step
lib/crewai/src/crewai/agents/planner_observer.py:236
↓ 1 callers
Function
apply_training_data
Apply training data to the task prompt. Args: agent: The agent performing the task. task_prompt: The task prompt. Returns:
lib/crewai/src/crewai/agent/utils.py:225
↓ 1 callers
Method
aprocess_files
Async process multiple files in parallel. Args: files: Dictionary mapping names to file inputs. max_concurrency: Maxi
lib/crewai-files/src/crewai_files/processing/processor.py:194
↓ 1 callers
Method
aquery_knowledge
Query the crew's knowledge base for relevant information asynchronously.
lib/crewai/src/crewai/crew.py:2209
↓ 1 callers
Method
aread_chunks
Async streaming for non-blocking I/O. Args: chunk_size: Size of each chunk in bytes. Yields: Chunks of file
lib/crewai-files/src/crewai_files/core/sources.py:300
↓ 1 callers
Method
aremove
Remove a cached upload. Args: file: The file to remove. provider: The provider name. Returns: Tr
lib/crewai-files/src/crewai_files/cache/upload_cache.py:307
↓ 1 callers
Method
areset
Reset the knowledge base asynchronously.
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:277
↓ 1 callers
Method
areset
Reset the vector database by deleting all collections and data asynchronously. Raises: ConnectionError: If unable to connect to Q
lib/crewai/src/crewai/rag/qdrant/client.py:576
↓ 1 callers
Method
asearch
Search for similar documents using a query asynchronously. Keyword Args: collection_name: Name of the collection to search in.
lib/crewai/src/crewai/rag/qdrant/client.py:455
↓ 1 callers
Method
asearch
Search for similar documents using a query asynchronously. Performs semantic search to find documents similar to the query text. Uses
lib/crewai/src/crewai/rag/chromadb/client.py:478
↓ 1 callers
Method
aset
Cache an uploaded file. Args: file: The file that was uploaded. provider: The provider name. file_id: Pro
lib/crewai-files/src/crewai_files/cache/upload_cache.py:232
↓ 1 callers
Function
ask_for_missing_api_keys
Ask for each API key the project's models need and nothing sets. The models are the model strings of the JSON crew ``json_crew`` and its agen
lib/cli/src/crewai_cli/api_keys.py:99
↓ 1 callers
Function
assert_experiment_no_regression
(comparison_result: dict[str, list[str]])
lib/crewai/src/crewai/experimental/evaluation/testing.py:40
↓ 1 callers
Method
async_agent
(self)
lib/crewai/tests/test_project.py:433
↓ 1 callers
Function
async_handle_partial_json
Async equivalent of ``handle_partial_json`` — defers LLM fallback to ``acall``.
lib/crewai/src/crewai/utilities/converter.py:490
↓ 1 callers
Method
async_researcher
(self)
lib/crewai/tests/test_project.py:154
↓ 1 callers
Method
async_task
(self)
lib/crewai/tests/test_project.py:453
↓ 1 callers
Function
at
(message)
lib/cli/tests/experimental/test_eval_crew.py:1829
↓ 1 callers
Method
attachContentEventListeners
(nodeName)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1800
↓ 1 callers
Function
attempt
One session: its answer, or None and why there was none.
lib/devtools/src/crewai_devtools/agents_md_eval.py:270
↓ 1 callers
Method
audit
(self)
lib/crewai/tests/test_flow_definition.py:351
↓ 1 callers
Method
augment_prompt
Augment the task prompt with extension-specific instructions. Called during prompt augmentation to allow extensions to add custom ins
lib/crewai/src/crewai/a2a/extensions/base.py:111
↓ 1 callers
Method
augment_prompt_with_all
Augment prompt with instructions from all registered extensions. Args: base_prompt: The base prompt to augment. exten
lib/crewai/src/crewai/a2a/extensions/base.py:213
↓ 1 callers
Method
aupload
Async upload a file to the provider. Default implementation runs sync upload in executor. Override in subclasses for native async sup
lib/crewai-files/src/crewai_files/uploaders/base.py:57
↓ 1 callers
Method
authenticate
Authenticate using OIDC JWT validation. Args: token: The JWT to authenticate. Returns: AuthenticatedUser on
lib/crewai/src/crewai/a2a/auth/server_schemes.py:275
↓ 1 callers
Method
authenticate
Authenticate using API key comparison. Args: token: The API key to authenticate. Returns: AuthenticatedUser
lib/crewai/src/crewai/a2a/auth/server_schemes.py:724
↓ 1 callers
Method
await_for_processing
Async wait for a file to finish processing with exponential backoff. Some files (especially videos) need time to process after upload.
lib/crewai-files/src/crewai_files/uploaders/gemini.py:412
↓ 1 callers
Function
await_response
()
lib/crewai/src/crewai/utilities/agent_utils.py:132
↓ 1 callers
Function
backend
(request: pytest.FixtureRequest)
lib/crewai/tests/memory/test_storage_backend_async_parity.py:107
↓ 1 callers
Method
best
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:495
↓ 1 callers
Function
bind
(handler: Callable[[Any, Any], None])
lib/crewai/src/crewai/telemetry/tracing/handlers.py:567
↓ 1 callers
Function
book
(at: str, named: dict[str, bytes])
lib/crewai-files/tests/spreadsheets/test_reading.py:667
↓ 1 callers
Function
build
(tf: tarfile.TarFile)
lib/cli/tests/skills/test_safe_extract.py:36
↓ 1 callers
Function
build
(model: str = "gpt-5.5", **kwargs)
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:45
↓ 1 callers
Function
build_a2ui_system_prompt
Build a v0.8 system prompt fragment instructing the LLM to produce A2UI output. Args: catalog_id: Catalog identifier to reference. Defaul
lib/crewai/src/crewai/a2a/extensions/a2ui/prompt.py:19
↓ 1 callers
Function
build_a2ui_v09_system_prompt
Build a v0.9 system prompt fragment instructing the LLM to produce A2UI output. Args: catalog_id: Catalog identifier to reference. Defaul
lib/crewai/src/crewai/a2a/extensions/a2ui/prompt.py:84
↓ 1 callers
Function
build_agent
(agent_def: JSONAgentDefinition)
lib/crewai/src/crewai/project/crew_loader.py:101
↓ 1 callers
Function
build_default_client
()
lib/crewai/src/crewai/skills/registry.py:241
↓ 1 callers
Function
build_docx
Return the bytes of a DOCX holding a single paragraph.
lib/crewai-tools/tests/url_read_tool_test.py:68
↓ 1 callers
Function
build_embedder_from_dict
(spec: AzureProviderSpec)
lib/crewai/src/crewai/rag/embeddings/factory.py:135
↓ 1 callers
Function
build_flow_definition
Build a FlowDefinition from a Python Flow class.
lib/crewai/src/crewai/flow/dsl/_utils.py:544
↓ 1 callers
Function
build_forged_dimension_xlsx
Return a tiny XLSX whose sheet declares Excel's maximum dimension. openpyxl trusts the declared width and pads every row out to it, so this 4
lib/crewai-tools/tests/url_read_tool_test.py:93
↓ 1 callers
Method
build_router_context
Build context used by the routing policy for the current turn.
lib/crewai/src/crewai/flow/conversational_mixin.py:809
↓ 1 callers
Function
build_system_message
Build the initial system message for the chat.
lib/crewai/src/crewai/utilities/crew_chat.py:139
↓ 1 callers
Function
build_tool_calls_assistant_message
Build an assistant message containing tool call reports. Extracts info from each tool call, builds the standard assistant message format, and
lib/crewai/src/crewai/utilities/agent_utils.py:1475
↓ 1 callers
Method
calculate_duration
Calculate duration in milliseconds from recorded start time
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:525
↓ 1 callers
Function
calculate_execution_paths
Calculate number of possible execution paths through the flow. Args: structure: FlowStructure to analyze. Returns: Number of
lib/crewai/src/crewai/flow/visualization/builder.py:283
↓ 1 callers
Function
calculate_node_positions
Calculate hierarchical positions (level, x, y) for each node. Args: dag: FlowStructure containing nodes and edges. Returns:
lib/crewai/src/crewai/flow/visualization/renderers/interactive.py:94
↓ 1 callers
Method
call
Call Google Gemini generate content API. Args: messages: Input messages for the chat completion tools: List of tool/f
lib/crewai/src/crewai/llms/providers/gemini/completion.py:359
↓ 1 callers
Method
call
(self, *a: Any, **kw: Any)
lib/crewai/tests/test_project.py:523
↓ 1 callers
Method
call
(self, messages: Any, **kwargs: Any)
lib/crewai/tests/test_crew.py:2927
↓ 1 callers
Method
call
(self, messages, **kwargs)
lib/crewai/tests/test_flow_chat_tui.py:80
↓ 1 callers
Method
call
Simulate API calls with timeout handling and retry logic. Args: messages: Input messages for the LLM. tools: Optional
lib/crewai/tests/test_custom_llm.py:258
↓ 1 callers
Method
call
(self, messages, **kwargs)
lib/crewai/tests/telemetry/test_flow_telemetry.py:522
↓ 1 callers
Method
call
(self, messages, **kwargs)
lib/crewai/tests/telemetry/test_wharf_runner.py:169
↓ 1 callers
Method
call
(self, messages, **kwargs)
lib/crewai/tests/telemetry/test_tracer_isolation.py:204
↓ 1 callers
Method
call
(self, messages, **kwargs)
lib/crewai/tests/telemetry/test_trace_lifecycle.py:206
↓ 1 callers
Method
call
(self, *args: Any, **kwargs: Any)
lib/crewai/tests/llms/test_retry.py:26
↓ 1 callers
Method
call
(self, messages, tools=None, **kwargs)
lib/crewai/tests/mcp/test_mcp_auth.py:64
↓ 1 callers
Method
call
(self, messages, **kwargs)
lib/crewai/tests/agents/test_conversation.py:17
↓ 1 callers
Method
call
(self, messages, **kwargs)
lib/crewai/tests/agents/test_conversation.py:511
↓ 1 callers
Method
call
(self, messages: Any, **kwargs: Any)
lib/crewai/tests/agents/test_native_tool_hook_contract.py:45
↓ 1 callers
Method
call
(self, messages: Any, tools: Any = None, **kwargs: Any)
lib/crewai/tests/agents/test_agent_spreadsheets.py:128
↓ 1 callers
Method
call
(self, messages: Any, **kwargs: Any)
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:22
↓ 1 callers
Method
call
(self, messages: Any, **kwargs: Any)
lib/crewai/tests/agents/test_empty_llm_response_retry.py:53
↓ 1 callers
Method
call
(self, messages: Any, tools: Any = None, **kwargs: Any)
lib/crewai/tests/agents/test_tool_approval.py:43
↓ 1 callers
Method
call
( self, messages: list[LLMMessage], *args: Any, **kwargs: Any )
lib/crewai/tests/agents/test_agent_executor.py:3046
↓ 1 callers
Method
call
(self, messages: Any, **kwargs: Any)
lib/crewai/tests/agents/test_agent_kickoff_content_parts.py:20
↓ 1 callers
Function
callback_wrapper
Bind a hook callback to an instance. Args: hook: The callback hook to bind. instance: The instance to bin
lib/crewai/src/crewai/project/annotations.py:240
↓ 1 callers
Method
can_answer_from_history
Return whether the deprecated history-only route can answer.
lib/crewai/src/crewai/flow/conversational_mixin.py:891
↓ 1 callers
Function
capture_execution_context
Read current ContextVars into an ExecutionContext.
lib/crewai/src/crewai/context.py:102
↓ 1 callers
Function
chat_loop
Main chat loop for interacting with the user.
lib/crewai/src/crewai/utilities/crew_chat.py:190
↓ 1 callers
Function
check_conversational_crews_version
Check if the installed crewAI version supports conversational crews. Args: crewai_version: The current version of crewAI. pyproje
lib/crewai/src/crewai/utilities/crew_chat.py:35
↓ 1 callers
Method
check_native_todo_completion
Check if the native tool execution satisfied the active todo. Similar to check_todo_completion but for native tool execution path.
lib/crewai/src/crewai/agents/agent_executor.py:2504
↓ 1 callers
Function
check_version
Return ``(current_version, latest_version)``; latest is ``None`` on fetch failure.
lib/crewai-core/src/crewai_core/version.py:177
↓ 1 callers
Function
claude_asker
Claude Code sessions with every tool disabled, so answers come from the files.
lib/devtools/src/crewai_devtools/agents_md_eval.py:200
↓ 1 callers
Method
cleanup
Clean up all browser sessions asynchronously.
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_toolkit.py:560
↓ 1 callers
Function
cleanup_uploaded_files
Clean up uploaded files from the cache and optionally from providers. Args: cache: The upload cache to clean up. delete_from_prov
lib/crewai-files/src/crewai_files/cache/cleanup.py:59
↓ 1 callers
Method
clear
(self)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:78
↓ 1 callers
Function
clear_after_llm_call_hooks
Clear all registered global after_llm_call hooks. Returns: Number of hooks that were cleared Example: >>> register_after_llm
lib/crewai/src/crewai/hooks/llm_hooks.py:382
↓ 1 callers
Function
clear_before_llm_call_hooks
Clear all registered global before_llm_call hooks. Returns: Number of hooks that were cleared Example: >>> register_before_l
lib/crewai/src/crewai/hooks/llm_hooks.py:365
↓ 1 callers
Method
clear_cache
Clear the upload cache.
lib/crewai-files/src/crewai_files/resolution/resolver.py:655
↓ 1 callers
Method
clear_pending_feedback
Clear the pending feedback marker after successful resume. This is called after feedback is received and the flow resumes. Optional o
lib/crewai/src/crewai/flow/persistence/base.py:108
↓ 1 callers
Function
cli
Development tools for version bumping and git automation.
lib/devtools/src/crewai_devtools/cli.py:2094
↓ 1 callers
Method
close
End the browser session so the process does not linger.
lib/crewai-tools/src/crewai_tools/tools/selenium_scraping_tool/selenium_scraping_tool.py:206
↓ 1 callers
Method
close
Delete the cached persistent sandbox if one exists.
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:184
↓ 1 callers
Method
close
(self)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:136
↓ 1 callers
Method
close_all_browsers
Close all browser sessions.
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_session_manager.py:267
↓ 1 callers
Method
close_async_browser
Close the async browser session for the specified thread. Args: thread_id: Unique identifier for the thread
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_session_manager.py:205
↓ 1 callers
Function
close_span
Set span status to OK and end it.
lib/crewai-core/src/crewai_core/telemetry.py:77
↓ 1 callers
Method
close_sync_browser
Close the sync browser session for the specified thread. Args: thread_id: Unique identifier for the thread
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_session_manager.py:236
↓ 1 callers
Function
codex_answer
The agent's messages from ``codex exec --json`` output.
lib/devtools/src/crewai_devtools/agents_md_eval.py:224
↓ 1 callers
Function
codex_asker
Codex sessions logged in with ``OPENAI_API_KEY``, in a home of their own.
lib/devtools/src/crewai_devtools/agents_md_eval.py:240
↓ 1 callers
Function
collect
(label: str)
lib/crewai/tests/test_stream_frames.py:237
↓ 1 callers
Function
collect_run_commands
(node: object)
lib/devtools/src/crewai_devtools/cli.py:1525
↓ 1 callers
Function
collect_tool_failures
Failures for the execution in progress, else the agent's last ones. Prefers the active collector so a shared agent running concurrent tasks r
lib/crewai/src/crewai/tools/tool_failure.py:240
↓ 1 callers
Function
collect_user_message_files
Merge files attached to user messages.
lib/crewai/src/crewai/utilities/message_utils.py:75
↓ 1 callers
Method
comparison_summary
( self, comparison: dict[str, Any], baseline_timestamp: str )
lib/crewai/src/crewai/experimental/evaluation/experiment/result_display.py:31
↓ 1 callers
Function
configure
(settings: Oauth2Settings)
lib/crewai-core/tests/test_auth_refresh.py:140
↓ 1 callers
Method
configure_client
Configure client for query param API keys. Idempotent: Only adds the request hook once per client instance. Subsequent calls on the s
lib/crewai/src/crewai/a2a/auth/client_schemes.py:295
← previous
next →
4,801–4,900 of 20,757, ranked by callers