MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

↓ 2 callersFunctionahandle_knowledge_retrieval
Handle async knowledge retrieval for task execution. Args: agent: The agent performing the task. task: The task being executed.
lib/crewai/src/crewai/agent/utils.py:329
↓ 2 callersMethodakickoff_for_each
Native async execution of the Crew's workflow for each input. Uses native async throughout rather than thread-based async. Args:
lib/crewai/src/crewai/crew.py:1329
↓ 2 callersMethodaon_inbound
Handle async inbound. Args: message: The inbound response. Returns: Modified response with async header.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:114
↓ 2 callersMethodaon_outbound
Handle async outbound. Args: message: The outbound request. Returns: Modified request with async header.
lib/crewai/tests/llms/hooks/test_base_interceptor.py:101
↓ 2 callersMethodapply_auth
Apply API key authentication. Args: client: HTTP client for making auth requests. headers: Current request headers.
lib/crewai/src/crewai/a2a/auth/client_schemes.py:277
↓ 2 callersMethodaread
Async fetch content from URL.
lib/crewai-files/src/crewai_files/core/sources.py:540
↓ 2 callersMethodaremove_by_file_id
Remove a cached upload by file ID. Args: file_id: The file ID to remove. provider: The provider name. Return
lib/crewai-files/src/crewai_files/cache/upload_cache.py:326
↓ 2 callersMethodareset
Reset the knowledge base asynchronously.
lib/crewai/src/crewai/knowledge/knowledge.py:201
↓ 2 callersMethodaresolve
Async resolve a file to its delivery format for a provider. Args: file: The file to resolve. provider: Provider name
lib/crewai-files/src/crewai_files/resolution/resolver.py:425
↓ 2 callersFunctionarun_with_rate_limit_retry
Asynchronously run an operation with retries for transient rate limits.
lib/crewai/src/crewai/llms/retry.py:166
↓ 2 callersFunctionask
(project: Path, question: str)
lib/devtools/src/crewai_devtools/agents_md_eval.py:208
↓ 2 callersFunctionask_for_api_key
Ask for ``name``, an API key a run failed without, and save it. The key is asked for, exported and saved as :func:`ask_for_missing_api_keys`
lib/cli/src/crewai_cli/api_keys.py:165
↓ 2 callersFunctionassert_agent_runtime_field_schema
(properties: dict[str, Any])
lib/crewai/tests/test_flow_from_definition.py:47
↓ 2 callersFunctionassert_llm_definition_schema
(schema_defs: dict[str, Any])
lib/crewai/tests/test_flow_from_definition.py:63
↓ 2 callersFunctionassert_planning_config_schema
(schema_defs: dict[str, Any])
lib/crewai/tests/test_flow_from_definition.py:54
↓ 2 callersMethodassert_sent_to
(provider: str, request)
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:558
↓ 2 callersMethodassociate_job
Associate admitted work with the active originating turn/reply. This does not register, submit, control or mutate the job. Call through
lib/crewai/src/crewai/experimental/flow_turns.py:148
↓ 2 callersFunctionastore_task_files
Store files for a task execution asynchronously. Args: task_id: Unique identifier for the task. files: Dictionary mapping names t
lib/crewai/src/crewai/utilities/file_store.py:109
↓ 2 callersFunctionasync_convert_to_model
Async equivalent of ``convert_to_model`` — uses native ``acall``. Mirrors the dispatch semantics of the sync version exactly; the only differ
lib/crewai/src/crewai/utilities/converter.py:436
↓ 2 callersFunctionasync_convert_with_instructions
Async equivalent of ``convert_with_instructions`` — calls ``ato_pydantic``/``ato_json``.
lib/crewai/src/crewai/utilities/converter.py:535
↓ 2 callersMethodato_json
Async equivalent of ``to_json``. The function-calling path delegates to ``InternalInstructor`` (currently sync-only); we run it via `
lib/crewai/src/crewai/utilities/converter.py:181
↓ 2 callersFunctionattempt
Run one operation while retaining its retryable error.
lib/crewai/src/crewai/llms/retry.py:131
↓ 2 callersMethodaupload
Async upload a file to S3 for use with Bedrock. Uses streaming upload with automatic multipart for large files. For FilePath sources,
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:380
↓ 2 callersFunctionawaiting_dir
Where the tokens live: this user's crewAI data directory, wherever the environment says home is. Windows reads it from the known-folder API.
lib/crewai-core/src/crewai_core/eval_handshake.py:62
↓ 2 callersFunctionbackslashed
A workbook at the root and one under ``xl/``, with ``_rels/.rels`` naming ``xl\\workbook.xml``.
lib/crewai-files/tests/spreadsheets/test_reading.py:836
↓ 2 callersFunctionbare_model_name
Return the model family without provider, region, date, or version suffix. ``us.anthropic.claude-sonnet-4-5-20250929-v1:0`` and ``us.anthropi
lib/crewai/src/crewai/llms/context_window.py:172
↓ 2 callersMethodbegin_event_processing
Mark that an event handler started processing (for synchronization).
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:249
↓ 2 callersMethodbuild
(provider: str, **kwargs)
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:549
↓ 2 callersFunctionbuild_action
Turn one `do:` action into the callable the flow runs for that node.
lib/crewai/src/crewai/flow/runtime/_actions.py:447
↓ 2 callersFunctionbuild_embedder_from_provider
Build an embedding function instance from a provider. Args: provider: The embedding provider configuration. Returns: An inst
lib/crewai/src/crewai/rag/embeddings/factory.py:120
↓ 2 callersFunctionbuild_schema_hint
Build a human-readable hint from a Pydantic model's JSON schema. Args: args_schema: The Pydantic model class to extract schema from.
lib/crewai/src/crewai/tools/structured_tool.py:100
↓ 2 callersFunctionbuild_step_executor
(llm: StubProviderLLM)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:247
↓ 2 callersFunctionbuild_task_prompt_with_schema
Build task prompt with JSON/Pydantic schema instructions if applicable. Args: task: The task being executed. task_prompt: The ini
lib/crewai/src/crewai/agent/utils.py:62
↓ 2 callersFunctionbuild_text_tool_calling_fallback_message
Build instructions for downgrading native tools to text tool calls.
lib/crewai/src/crewai/utilities/agent_utils.py:1406
↓ 2 callersFunctionbuildable_json_crew
A JSON crew crewAI builds for real, its one agent on LLM.
lib/cli/tests/test_run_usage.py:1287
↓ 2 callersFunctionbuilding_mapped_model
Build the model the overlay mapped to, without mapping it again.
lib/crewai/src/crewai/llm_overlay.py:273
↓ 2 callersFunctioncache_func
(args, result)
lib/crewai/tests/test_crew.py:2209
↓ 2 callersMethodcalculateNetworkPosition
(isDrawerOpen, centerScreen = false)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:2338
↓ 2 callersMethodcall
(self, messages, tools=None, callbacks=None, available_functions=None, **kw)
lib/crewai/tests/tools/test_tool_failure.py:61
↓ 2 callersMethodcall_tool
Call a tool on the MCP server. Args: tool_name: Name of the tool to call. arguments: Tool arguments. Returns
lib/crewai/src/crewai/mcp/client.py:453
↓ 2 callersFunctioncallback
Marks a method as a crew callback. Args: meth: The method to mark. Returns: A wrapped method marked as a callback with memoi
lib/crewai/src/crewai/project/annotations.py:138
↓ 2 callersFunctioncatalog_context_window
Return the full catalog window for a model id, or ``None`` if unlisted. Exact IDs are resolved in ``sizes``. A miss falls back to ``BARE_CONT
lib/crewai/src/crewai/llms/context_window.py:239
↓ 2 callersFunctioncheck_conditional_skip
Check if a conditional task should be skipped. Args: crew: The crew instance. task: The conditional task to check. task_o
lib/crewai/src/crewai/crews/utils.py:180
↓ 2 callersFunctioncheck_gh_installed
Check if GitHub CLI is installed and offer to install it. Raises: SystemExit: If gh is not installed and user declines installation.
lib/devtools/src/crewai_devtools/cli.py:92
↓ 2 callersFunctioncheck_git_clean
Check if git working directory is clean. Raises: SystemExit: If there are uncommitted changes.
lib/devtools/src/crewai_devtools/cli.py:149
↓ 2 callersFunctioncheck_native_tool_support
Check if the LLM supports native function calling and tools are available. Args: llm: The LLM instance. original_tools: Original
lib/crewai/src/crewai/utilities/agent_utils.py:1382
↓ 2 callersMethodcheck_open
Call at stage boundaries; this cannot abort an arbitrary provider call.
lib/crewai/src/crewai/experimental/flow_jobs.py:201
↓ 2 callersFunctionclassic_create
Run `crewai create crew my_crew --classic` in ``tmp_path`` with ``tmp_path`` as home, so the LiteLLM cache starts cold.
lib/cli/tests/test_create_crew.py:2450
↓ 2 callersMethodclassify
(error: BaseException, tmp_path: Path)
lib/crewai/tests/llms/test_missing_api_key.py:522
↓ 2 callersMethodclear
Clear the training data by removing the file or resetting its contents.
lib/crewai/src/crewai/utilities/training_handler.py:33
↓ 2 callersFunctionclear_all_tool_call_hooks
Clear all registered global tool call hooks (both before and after). Returns: Tuple of (before_hooks_cleared, after_hooks_cleared) E
lib/crewai/src/crewai/hooks/tool_hooks.py:384
↓ 2 callersMethodclear_expired
Sync wrapper for aclear_expired.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:470
↓ 2 callersMethodclear_pending_feedback
Clear the pending feedback marker after successful resume. Args: flow_uuid: Unique identifier for the flow instance
lib/crewai/src/crewai/flow/persistence/sqlite.py:368
↓ 2 callersFunctionclient_for_selector
Select the integrations client for an application selector.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:363
↓ 2 callersMethodclose
(self)
lib/crewai-tools/tests/utilities/test_safe_requests.py:491
↓ 2 callersMethodclose
Fence pending/active delivery; retained job results are untouched.
lib/crewai/src/crewai/experimental/flow_replies.py:428
↓ 2 callersMethodcompare_with_baseline
( self, baseline_filepath: str, save_current: bool = True, print_summary: bool
lib/crewai/src/crewai/experimental/evaluation/experiment/result.py:48
↓ 2 callersMethodconfigure_tools
(self, tools: List[BaseTool])
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:11
↓ 2 callersMethodconnect
Establish SSE connection to MCP server. Returns: Self for method chaining. Raises: ConnectionError: If conne
lib/crewai/src/crewai/mcp/transports/sse.py:50
↓ 2 callersFunctioncopy_assistant_imports
Copy assistant instruction files that import ``AGENTS.md``.
lib/cli/src/crewai_cli/utils.py:124
↓ 2 callersMethodcount
Count records in scope (and subscopes).
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:696
↓ 2 callersMethodcount_tokens
( *, betas: list[str] | None = None, output_format: dict[str,
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:383
↓ 2 callersFunctioncreate_client
Create a ChromaDBClient from configuration. Args: config: ChromaDB configuration object. Returns: Configured ChromaDBClient
lib/crewai/src/crewai/rag/chromadb/factory.py:12
↓ 2 callersMethodcreate_crew
(self, payload: CreateCrewPayload)
lib/crewai-core/src/crewai_core/plus_api.py:525
↓ 2 callersMethodcreate_crew_from_zip
Create a crew deployment from a local project ZIP archive. PROJECT_ID is `[tool.crewai].project_id`, so AMP knows which project the d
lib/crewai-core/src/crewai_core/plus_api.py:528
↓ 2 callersFunctioncreate_default_evaluator
( agents: list[Agent] | list[BaseAgent], llm: None = None )
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:344
↓ 2 callersMethodcreate_evaluation
(self, execution_id, *, eval_config=None, project_id=None)
lib/cli/tests/test_crew_run_tui.py:3044
↓ 2 callersFunctioncreate_extension_registry_from_config
Create an extension registry from A2A client configuration. Extracts client_extensions from each A2AClientConfig and registers them with the
lib/crewai/src/crewai/a2a/extensions/registry.py:123
↓ 2 callersFunctioncreate_file
(path, content)
lib/cli/tests/test_utils.py:27
↓ 2 callersMethodcreate_initial_commit_if_needed
Create a local initial commit when the repository has no commits.
lib/cli/src/crewai_cli/git.py:163
↓ 2 callersFunctioncreate_llm_from_kwargs_like
Build ``model`` configured like ``LLM(declared_model, **kwargs)`` would be. What ``llm_overlay``'s model keys build when ``LLM(model=...)`` is ca
lib/crewai/src/crewai/utilities/llm_utils.py:265
↓ 2 callersMethodcreate_models_evaluation
(self, models, *, project_id, eval_config=None, deployment_id=None)
lib/cli/tests/experimental/test_eval_crew.py:1701
↓ 2 callersFunctioncreate_nested
(depth)
lib/crewai/tests/utilities/test_serialization.py:152
↓ 2 callersFunctioncreate_static_tool_filter
Create a static tool filter function. This is a convenience function for creating static tool filters with allow/block lists. Args:
lib/crewai/src/crewai/mcp/filters.py:91
↓ 2 callersMethodcrew
(self)
lib/crewai/tests/test_crew.py:4802
↓ 2 callersFunctioncut_connections_at
Shut down every connection opened inside the block once *deadline* (a :func:`time.monotonic` value) passes; the event yielded is set if it did.
lib/crewai-tools/src/crewai_tools/security/ssrf_adapter.py:150
↓ 2 callersFunctiondeclarative_flow_project
(folder: Path)
lib/cli/tests/test_run_usage.py:184
↓ 2 callersMethoddelete_all
Delete all task output records from the database. This method removes all records from the latest_kickoff_task_outputs table. Use wit
lib/crewai/src/crewai/memory/storage/kickoff_task_outputs_storage.py:217
↓ 2 callersMethoddelete_object
(self, Bucket: str, Key: str)
lib/crewai-files/tests/test_bedrock_async_client.py:27
↓ 2 callersFunctiondetect_provider
Detect the storage provider from a checkpoint path. Reads the file's magic bytes to determine if it's a SQLite database. For paths containing
lib/crewai/src/crewai/state/provider/utils.py:11
↓ 2 callersFunctiondrawRoundedRect
(ctx, x, y, width, height, radius)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:49
↓ 2 callersFunctionecho_missing_keys
Print the ``.env`` lines to add before ``crewai run``, one per missing key.
lib/cli/src/crewai_cli/utils.py:305
↓ 2 callersFunctionembed_text
Embed a single text string and return a list of floats. Args: embedder: Callable that accepts a list of strings and returns embeddings.
lib/crewai/src/crewai/memory/types.py:289
↓ 2 callersMethodemit_evaluation_started_event
( self, agent_role: str, agent_id: str, task_id: str | None = None )
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:296
↓ 2 callersMethodend_event_processing
Mark that an event handler finished processing (for synchronization).
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:254
↓ 2 callersMethodensure_force_final_answer
Force agent to provide final answer when max iterations exceeded.
lib/crewai/src/crewai/agents/agent_executor.py:1619
↓ 2 callersMethodensure_task_name
Ensure task result has a name set. Args: result: The task result to check. Returns: The task result with nam
lib/crewai/src/crewai/project/wrappers.py:284
↓ 2 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:248
↓ 2 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/tools_metrics.py:154
↓ 2 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/goal_metrics.py:25
↓ 2 callersFunctionevaluation_marker
The app's word about the run this command just watched, if it left one. AFTER is when the run was started, and the marker must be newer: a projec
lib/cli/src/crewai_cli/experimental/eval_crew.py:613
↓ 2 callersMethodexecute
Execute a single todo item using a multi-turn action loop. Enforces the RPM limit, builds a fresh message list, then iterates LLM cal
lib/crewai/src/crewai/agents/step_executor.py:132
↓ 2 callersMethodexecute
(self, sql: str, *args: object)
lib/crewai/tests/storage/test_kickoff_task_outputs_storage.py:78
↓ 2 callersMethodexecute
(self, *args: Any, **kwargs: Any)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:112
↓ 2 callersMethodexecute_todos_parallel
Execute multiple independent todos concurrently via StepExecutor. Uses the same StepExecutor path as sequential execution so that par
lib/crewai/src/crewai/agents/agent_executor.py:1448
↓ 2 callersMethodexecute_tool_action
Execute the tool action and handle the result.
lib/crewai/src/crewai/agents/agent_executor.py:1920
↓ 2 callersMethodexport
(self, spans: Sequence[ReadableSpan])
lib/crewai/src/crewai/telemetry/tracing/ephemeral.py:92
↓ 2 callersMethodexport_evaluation
The evaluation's full data as files (crewai eval export): `{"id", "kind", "files": {relative path: text}}`. TIMEOUT replaces the defau
lib/cli/src/crewai_cli/plus_api.py:119
↓ 2 callersFunctionextract_a2ui_json_objects
Extract JSON objects containing A2UI keys from text. Uses ``json.JSONDecoder.raw_decode`` for robust parsing that correctly handles braces in
lib/crewai/src/crewai/a2a/extensions/a2ui/models.py:257
↓ 2 callersFunctionextract_a2ui_v09_json_objects
Extract JSON objects containing A2UI v0.9 keys from text. Uses ``json.JSONDecoder.raw_decode`` for robust parsing that correctly handles brac
lib/crewai/src/crewai/a2a/extensions/a2ui/v0_9.py:811
← previousnext →2,701–2,800 of 19,264, ranked by callers