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
Function
acleanup_expired_files
Async clean up expired files from the cache. Args: cache: The upload cache to clean up. delete_from_provider: If True, attempt to
lib/crewai-files/src/crewai_files/cache/cleanup.py:283
Function
acleanup_uploaded_files
Async clean up uploaded files from the cache and optionally from providers. Args: cache: The upload cache to clean up. delete_fro
lib/crewai-files/src/crewai_files/cache/cleanup.py:224
Method
acreate_collection
Create a new collection/index in the vector database asynchronously. Keyword Args: collection_name: The name of the collection to
lib/crewai/src/crewai/rag/core/base_client.py:129
Method
acreate_collection
Create a new collection in ChromaDB asynchronously. Creates a new collection with the specified name and optional configuration. If a
lib/crewai/src/crewai/rag/chromadb/client.py:150
Method
act
(self, options)
lib/crewai-tools/tests/tools/stagehand_tool_test.py:61
Method
action_consent_no
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:318
Method
action_consent_yes
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:315
Method
action_fork
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:719
Method
action_log_down
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1271
Method
action_log_toggle
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1301
Method
action_log_up
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1286
Method
action_refresh
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:722
Method
action_resume
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:716
Method
action_toggle_logs
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1267
Method
action_toggle_sidebar
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1263
Function
action_tool
Mock action platform tool.
lib/crewai/tests/agents/test_agent.py:2667
Method
active_sandbox_id
The id of the sandbox this tool is currently bound to, if any. Returns: - the explicitly attached `sandbox_id`, if set at construct
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:201
Method
adapt
Adapt a MCP tool to a CrewAI tool. Args: func: The function to call when the tool is invoked. mcp_tool: T
lib/crewai-tools/src/crewai_tools/adapters/mcp_adapter.py:38
Method
add
( self, *args: ContentItem, **kwargs: Unpack[AddDocumentParams], )
lib/crewai-tools/src/crewai_tools/tools/rag/rag_tool.py:137
Method
add
Add content to the knowledge base. Args: *args: Content items to add (strings, paths, or document dicts) data_type:
lib/crewai-tools/src/crewai_tools/tools/rag/rag_tool.py:251
Method
add
( self, *args: Any, **kwargs: Any, )
lib/crewai-tools/src/crewai_tools/adapters/lancedb_adapter.py:59
Method
add
( self, *args: Any, **kwargs: Any, )
lib/crewai-tools/src/crewai_tools/adapters/rag_adapter.py:32
Method
add
Add content to the knowledge base. Args: *args: Content items to add (strings, paths, or document dicts) **kwargs: Ad
lib/crewai-tools/src/crewai_tools/adapters/crewai_rag_adapter.py:115
Method
add
Add Excel file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/excel_knowledge_source.py:145
Method
add
Add string content to the knowledge source, chunk it, compute embeddings, and save them.
lib/crewai/src/crewai/knowledge/source/string_knowledge_source.py:24
Method
add
Add CSV file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/csv_knowledge_source.py:25
Method
add
Add text file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/text_file_knowledge_source.py:21
Method
add
Add PDF file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/pdf_knowledge_source.py:41
Method
add
Process content, chunk it, compute embeddings, and save them.
lib/crewai/src/crewai/knowledge/source/base_knowledge_source.py:36
Method
add
Add JSON file content to the knowledge source, chunk it, compute embeddings, and save the embeddings.
lib/crewai/src/crewai/knowledge/source/json_knowledge_source.py:37
Function
add_const_to_oneof_variants
Add const fields to oneOf variants for discriminated unions. The json_schema_to_pydantic library requires each oneOf variant to have a const
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:327
Method
add_documents
Add documents with their embeddings to a collection. This method performs an upsert operation - if a document with the same ID alread
lib/crewai/src/crewai/rag/core/base_client.py:181
Method
add_documents
Add documents with their embeddings to a collection. Performs an upsert operation - documents with existing IDs are updated. Generate
lib/crewai/src/crewai/rag/chromadb/client.py:310
Function
add_key_in_dict_recursively
Recursively adds a key/value pair to all nested dicts matching `criteria`. Args: d: The dictionary to modify. key: The key to add
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:145
Method
add_message_hook
(context)
lib/crewai/tests/hooks/test_llm_hooks.py:123
Function
add_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/bedrock/test_bedrock.py:1226
Function
add_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/azure/test_azure.py:1343
Function
add_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/anthropic/test_anthropic.py:1132
Function
add_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/google/test_google.py:1189
Function
add_numbers
Add two numbers together and return the sum.
lib/crewai/tests/llms/openai/test_openai.py:1917
Method
add_texts
Add texts, create embeddings, and add to the Collection and index. Important notes on ids: - If _id or id is a key in the metadat
lib/crewai-tools/src/crewai_tools/tools/mongodb_vector_search_tool/vector_search.py:168
Method
adelete
Async delete an uploaded file from Gemini. Args: file_id: The file name/ID to delete. Returns: True if delet
lib/crewai-files/src/crewai_files/uploaders/gemini.py:308
Method
adelete
Async delete an uploaded file from OpenAI. Args: file_id: The file ID to delete. Returns: True if deletion w
lib/crewai-files/src/crewai_files/uploaders/openai.py:679
Method
adelete
Async delete an uploaded file from Anthropic. Args: file_id: The file ID to delete. Returns: True if deletio
lib/crewai-files/src/crewai_files/uploaders/anthropic.py:226
Method
adelete
(self, file_id: str)
lib/crewai-files/tests/test_acleanup_listing_nonblocking.py:18
Method
adelete
( self, scope_prefix: str | None = None, categories: list[str] | None = None,
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:702
Method
adelete
Delete memories asynchronously.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:898
Method
adelete_collection
Delete a collection and all its data asynchronously. Keyword Args: collection_name: The name of the collection to delete.
lib/crewai/src/crewai/rag/core/base_client.py:388
Method
adelete_collection
Delete a collection and all its data asynchronously. Permanently removes a collection and all documents, embeddings, and metadata it contains
lib/crewai/src/crewai/rag/chromadb/client.py:575
Method
aexecute_task
Execute a task asynchronously.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:688
Method
aexecute_task
( self, task: Any, context: str | None = None, tools: list[Any] | None = None,
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:57
Function
aexecute_task_with_a2a
Execute task with A2A delegation support (async).
lib/crewai/src/crewai/a2a/wrapper.py:143
Function
aexecute_tool_and_check_finality
Execute a tool asynchronously and check if the result should be a final answer. This is the async version of execute_tool_and_check_finality. It
lib/crewai/src/crewai/utilities/tool_utils.py:35
Method
aextract_memories
Async variant of extract_memories.
lib/crewai/src/crewai/memory/unified_memory.py:1050
Method
afrom_checkpoint
Read a snapshot asynchronously. Args: location: The identifier returned by a previous ``acheckpoint`` call. Returns:
lib/crewai/src/crewai/state/provider/core.py:102
Method
afrom_checkpoint
Read a checkpoint from the SQLite database asynchronously. Args: location: A location string returned by ``acheckpoint()``.
lib/crewai/src/crewai/state/provider/sqlite_provider.py:147
Method
after
(ctx)
lib/crewai/tests/hooks/test_dispatch.py:103
Method
after_both
(self, result)
lib/crewai/tests/events/test_event_ordering.py:1152
Method
after_callback
(result: CrewOutput)
lib/crewai/tests/crew/test_async_crew.py:196
Method
after_each
(self)
lib/crewai/tests/test_flow_from_definition.py:182
Method
after_either
(self, result)
lib/crewai/tests/events/test_event_ordering.py:862
Method
after_feedback
(self, _feedback)
lib/crewai/tests/utilities/test_events.py:793
Method
after_feedback
(self, _feedback)
lib/crewai/tests/utilities/test_events.py:844
Function
after_handler
(source: object, event: BaseEvent)
lib/crewai/tests/utilities/events/test_async_event_bus.py:222
Function
after_hook
(context: ToolCallHookContext)
lib/crewai/tests/tools/test_tool_usage.py:211
Method
after_hook
(context: ToolCallHookContext)
lib/crewai/tests/utilities/test_agent_utils.py:1021
Method
after_hook
Log and verify after hook execution.
lib/crewai/tests/hooks/test_llm_hooks.py:557
Method
after_hook
(context: ToolCallHookContext)
lib/crewai/tests/hooks/test_tool_hooks.py:672
Method
after_hook
(context: ToolCallHookContext)
lib/crewai/tests/agents/test_native_tool_calling.py:340
Method
after_hook
(context: ToolCallHookContext)
lib/crewai/tests/agents/test_native_tool_calling.py:1268
Function
after_kickoff
Marks a method to execute after crew kickoff. Args: meth: The method to mark. Returns: A wrapped method marked for after kic
lib/crewai/src/crewai/project/annotations.py:54
Function
after_llm_call
( func: Callable[[LLMCallHookContext], str | None], )
lib/crewai/src/crewai/hooks/decorators.py:138
Method
after_llm_call_hook
Log and verify after hook execution.
lib/crewai/tests/hooks/test_llm_hooks.py:467
Method
after_llm_call_hooks
Get the after_llm_call hooks for this agent.
lib/crewai/src/crewai/lite_agent.py:485
Function
after_llm_call_reducer
Legacy calling convention for ``post_model_call`` hooks. A non-empty string return replaces the response on the context.
lib/crewai/src/crewai/hooks/llm_hooks.py:218
Method
after_none
(self, result)
lib/crewai/tests/events/test_event_ordering.py:1344
Method
after_parallel_execution
Check for more todos after parallel execution completes. Also checks if replanning is needed based on execution results.
lib/crewai/src/crewai/agents/agent_executor.py:1586
Function
after_tool_call
( func: Callable[[ToolCallHookContext], str | None], )
lib/crewai/src/crewai/hooks/decorators.py:253
Method
after_tool_call_hook
Log and verify after hook execution.
lib/crewai/tests/hooks/test_tool_hooks.py:532
Function
after_tool_call_reducer
Legacy calling convention for ``post_tool_call`` hooks. A non-None return replaces the tool result on the context.
lib/crewai/src/crewai/hooks/tool_hooks.py:153
Function
agent
Marks a method as a crew agent. Args: meth: The method to mark. Returns: A wrapped method marked as an agent with memoizatio
lib/crewai/src/crewai/project/annotations.py:78
Function
agent
()
lib/crewai/tests/test_task_converter_output.py:30
Function
agent
()
lib/crewai/tests/mcp/test_tool_resolver_native.py:13
Function
agent
()
lib/crewai/tests/mcp/test_amp_mcp.py:13
Method
agent
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:473
Function
agent_callback
(_)
lib/crewai/tests/test_crew.py:1602
Function
agent_card
Fetch the real agent card from the server.
lib/crewai/tests/a2a/test_a2a_integration.py:38
Function
agent_project
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
lib/cli/tests/test_create_agent.py:19
Function
agents_md_eval
Fail when this branch's AGENTS.md teaches coding agents less than BASE's.
lib/devtools/src/crewai_devtools/agents_md_eval.py:350
Method
aget_or_create_collection
Get an existing collection or create it if it doesn't exist asynchronously. Keyword Args: collection_name: The name of the collec
lib/crewai/src/crewai/rag/core/base_client.py:163
Method
aget_or_create_collection
Get an existing collection or create it if it doesn't exist asynchronously. Returns existing collection if found, otherwise creates a new one
lib/crewai/src/crewai/rag/chromadb/client.py:257
Method
akickoff
Async version of kickoff. Alias for kickoff_async. Args: messages: Either a string query or a list of message dictionaries.
lib/crewai/src/crewai/lite_agent.py:827
Method
akickoff
Native async method to start the flow execution. Alias for kickoff_async. Args: inputs: Optional dictionary containing input valu
lib/crewai/src/crewai/flow/runtime/__init__.py:2793
Method
akickoff
Async version of kickoff. Alias for kickoff_async. Args: messages: Either a string query or a list of message dictionaries.
lib/crewai/src/crewai/agent/core.py:2541
Method
allow_hook
(context)
lib/crewai/tests/hooks/test_tool_hooks.py:177
Function
allow_tmp_paths
Allow absolute paths outside CWD (e.g. /tmp/) for these search-tool tests. Path validation is tested separately in test_rag_tool_path_validation.
lib/crewai-tools/tests/tools/test_search_tools.py:27
Function
allow_tmp_paths
Allow absolute paths outside CWD (e.g. /tmp/) for these data-type tests. Path validation is tested separately in test_rag_tool_path_validation.py
lib/crewai-tools/tests/tools/rag/test_rag_tool_add_data_type.py:14
Function
allow_tmp_paths
Allow absolute paths outside CWD (e.g. /tmp/) for these RagTool tests. Path validation is tested separately in test_rag_tool_path_validation.py.
lib/crewai-tools/tests/tools/rag/rag_tool_test.py:13
Method
alpha_crew
(self)
lib/crewai/tests/events/test_event_ordering.py:492
Method
alternate_entry_point
(self)
lib/crewai/tests/test_flow_definition.py:664
← previous
next →
6,801–6,900 of 19,663, ranked by callers