MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,663 in github.com/crewAIInc/crewAI

↓ 3 callersMethodembed_batch
Embed several texts with one call to the wrapped function. Args: texts: Texts to embed. Returns: One embeddi
lib/crewai/src/crewai/rag/qdrant/embedding_adapter.py:41
↓ 3 callersFunctionembed_texts
Embed multiple texts in a single API call. The embedder already accepts ``list[str]``, so this just calls it once with the full batch and nor
lib/crewai/src/crewai/memory/types.py:312
↓ 3 callersFunctionenable_agent_streaming
Enable streaming on all agents that have an LLM configured. Args: agents: Iterable of agents to enable streaming on.
lib/crewai/src/crewai/crews/utils.py:46
↓ 3 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/tools_metrics.py:27
↓ 3 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/tools_metrics.py:310
↓ 3 callersMethodevaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/semantic_quality_metrics.py:25
↓ 3 callersMethodevaluate_training_data
Evaluate the training data based on the llm output, human feedback, and improved output. Args: - training_data: The trai
lib/crewai/src/crewai/utilities/evaluators/task_evaluator.py:115
↓ 3 callersMethodexecute
(self, sql: str, *args: object)
lib/crewai/tests/test_sqlite_connection_lifecycle.py:63
↓ 3 callersMethodexecute_async
Execute the task asynchronously.
lib/crewai/src/crewai/task.py:680
↓ 3 callersMethodexecute_native_tool
Execute native tool calls in a batch. Processes all tools from pending_tool_calls, executes them, and appends results to the conversa
lib/crewai/src/crewai/agents/agent_executor.py:2010
↓ 3 callersMethodexport
Bound each request; oversized single spans are skipped with FAILURE.
lib/crewai/src/crewai/telemetry/tracing/grants.py:296
↓ 3 callersMethodextract
(self, options: Any)
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:291
↓ 3 callersMethodextract_all_states
Extract conversation states from all registered extensions. Args: conversation_history: The sequence of A2A messages exchanged.
lib/crewai/src/crewai/a2a/extensions/base.py:195
↓ 3 callersFunctionextract_common_params
Extract common parameters from handler kwargs. Args: kwargs: Handler kwargs dict. Returns: CommonParams with extracted value
lib/crewai/src/crewai/a2a/updates/base.py:152
↓ 3 callersMethodextract_id
Extract the checkpoint ID from a file path. The filename format is ``{ts}_{uuid8}_p-{parent}.json``. The checkpoint ID is the ``{ts}_
lib/crewai/src/crewai/state/provider/json_provider.py:113
↓ 3 callersMethodextract_memories
Extract discrete memories from a raw content blob using the LLM. This is a pure helper -- it does NOT store anything. Call remember()
lib/crewai/src/crewai/memory/unified_memory.py:672
↓ 3 callersFunctionfail_execution
()
lib/crewai/tests/telemetry/test_session_trace_export.py:614
↓ 3 callersFunctionfail_project_scripts
(monkeypatch: pytest.MonkeyPatch)
lib/cli/tests/test_run_usage.py:986
↓ 3 callersMethodfetch
Fetch latest updates from the remote.
lib/cli/src/crewai_cli/git.py:54
↓ 3 callersFunctionfetch_and_json_env_file
Fetch the environment variables from a .env file and return them as a dictionary.
lib/cli/src/crewai_cli/utils.py:198
↓ 3 callersMethodfetch_inputs
Gathers placeholders (e.g., {something}) referenced in tasks or agents. Scans each task's 'description' + 'expected_output', and each
lib/crewai/src/crewai/crew.py:2219
↓ 3 callersMethodfilter_by_names
(self, names: list[str] | None = None)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:63
↓ 3 callersMethodfinalize_session_traces
(self)
lib/cli/tests/test_trace_consent_session.py:192
↓ 3 callersFunctionfind_json_project_file
Return ``stem.jsonc`` or ``stem.json``, preferring JSONC.
lib/crewai/src/crewai/project/json_loader.py:178
↓ 3 callersFunctionfind_version_files
Find all __init__.py files that contain __version__. Args: base_path: Base directory to search in. Returns: List of paths to
lib/devtools/src/crewai_devtools/cli.py:667
↓ 3 callersMethodfinish
( self, error_type: type[BaseException] | None = None, error: BaseException | None = N
lib/crewai/src/crewai/execution.py:44
↓ 3 callersMethodfitToAvailableSpace
(centerScreen = false)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:2404
↓ 3 callersFunctionflow_template_expression_description
(prefix: str)
lib/crewai/src/crewai/flow/expressions.py:179
↓ 3 callersMethodflush_to_central
Sync local shard records to the central shard.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:784
↓ 3 callersFunctionformat_error_for_display
Return exception details without OS-added absolute path context.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:52
↓ 3 callersFunctionformat_inline_value
(value: Any)
lib/crewai/src/crewai/flow/skill.py:572
↓ 3 callersMethodfrom_settings
Build an ``Oauth2Settings`` instance from the persisted CrewAI settings.
lib/crewai-core/src/crewai_core/auth/oauth2.py:49
↓ 3 callersMethodfrom_tool_pack
Create multiple MergeAgentHandlerTool instances from a Tool Pack. Args: tool_pack_id: UUID of the Tool Pack
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:267
↓ 3 callersFunctiongenerate_input_description_with_ai
Generate an input description using AI based on the context of the crew. Args: input_name: The name of the input placeholder. cre
lib/crewai/src/crewai/utilities/crew_chat.py:418
↓ 3 callersMethodget_context_window_size
Get the context window size for the model.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:2099
↓ 3 callersFunctionget_enclosing_parent_id
Get the parent of the current scope (stack[-2]).
lib/crewai/src/crewai/events/event_context.py:68
↓ 3 callersFunctionget_enterprise_api_base_url
Get the enterprise API base URL from environment or use default.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:12
↓ 3 callersFunctionget_env_context
()
lib/crewai/src/crewai/utilities/env.py:28
↓ 3 callersMethodget_file_info
Get information about an uploaded file. Args: file_id: The file identifier. Returns: Dictionary with file in
lib/crewai-files/src/crewai_files/uploaders/base.py:101
↓ 3 callersFunctionget_files
Retrieve files for a crew execution. Args: execution_id: Unique identifier for the crew execution. Returns: Dictionary of fi
lib/crewai/src/crewai/utilities/file_store.py:193
↓ 3 callersMethodget_input_tokens_count
(self, messages)
lib/crewai/tests/llms/test_context_window.py:391
↓ 3 callersMethodget_last_raw_result
(self, fallback: Any)
lib/crewai/src/crewai/tools/tool_usage.py:143
↓ 3 callersMethodget_organizations
(self)
lib/crewai-core/src/crewai_core/plus_api.py:584
↓ 3 callersFunctionget_packages
Get all packages from lib/ directory. Args: lib_dir: Path to lib/ directory. Returns: List of package directory paths.
lib/devtools/src/crewai_devtools/cli.py:683
↓ 3 callersFunctionget_provider
Get the current human input provider. Returns: The current provider, or a new SyncHumanInputProvider if none set.
lib/crewai/src/crewai/core/providers/human_input.py:451
↓ 3 callersFunctionget_rag_client
Get the current RAG client instance. Returns: The current RAG client, creating one if needed.
lib/crewai/src/crewai/rag/config/utils.py:106
↓ 3 callersFunctionget_rag_provider
Get the provider name of the active RAG configuration. Unlike :func:`get_rag_config`, this never builds a default configuration or client, so
lib/crewai/src/crewai/rag/config/utils.py:48
↓ 3 callersMethodgoto
(self, url: str)
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:288
↓ 3 callersMethodhandle_agent_reasoning
Public method for the planning process that creates and refines a plan for the task until the agent is ready to execute it. Returns:
lib/crewai/src/crewai/utilities/reasoning_handler.py:187
↓ 3 callersFunctionhandle_context_length
Handle context length exceeded by either summarizing or raising an error. Args: respect_context_window: Whether to respect context window
lib/crewai/src/crewai/utilities/agent_utils.py:1011
↓ 3 callersMethodhandle_execution_completion
Handle the completion flow as shown in your diagram.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:47
↓ 3 callersMethodhandle_flow_status
Show flow status panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:349
↓ 3 callersMethodhandle_lite_agent_execution
Handle lite agent execution events with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:837
↓ 3 callersMethodhandle_tool_usage_finished
Handle tool usage finished event with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:468
↓ 3 callersMethodhandle_tool_usage_started
Handle tool usage started event with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:437
↓ 3 callersMethodhead_commit
Return the short hash of HEAD, or None when there is no commit yet.
lib/cli/src/crewai_cli/git.py:137
↓ 3 callersFunctionhierarchical
(manager_reply: str, description: str, worker: ScriptedLLM)
lib/crewai/tests/agents/test_agent_spreadsheets.py:599
↓ 3 callersMethodhook_dispatched_span
Records an interception-hook dispatch via Feature Usage. Emits ``hooks:<point>`` on every dispatch, plus ``hooks:aborted`` when a hoo
lib/crewai/src/crewai/telemetry/telemetry.py:1331
↓ 3 callersFunctionin_temp_dir
()
lib/cli/tests/tools/test_main.py:21
↓ 3 callersMethodincrement_delegations
Increment the delegations counter.
lib/crewai/src/crewai/task.py:1252
↓ 3 callersFunctioninject_a2a_server_methods
Inject A2A server methods onto an Agent instance. Adds a `to_agent_card(url: str) -> AgentCard` method to the agent that generates an A2A-com
lib/crewai/src/crewai/a2a/utils/agent_card.py:579
↓ 3 callersMethodis_active
Check if this extension is active for the current request. An extension is active if the client declared support for it. Args:
lib/crewai/src/crewai/a2a/extensions/server.py:143
↓ 3 callersMethodis_context_window_overflowing_threshold
Check whether a pending request exceeds the usable context window. ``get_context_window_size`` already reserves 15% of the raw model
lib/crewai/src/crewai/llms/base_llm.py:505
↓ 3 callersFunctionis_declarative_flow_project_env
()
lib/cli/src/crewai_cli/run_declarative_flow.py:609
↓ 3 callersFunctionis_flow_method
Check if the object carries Flow method wrapper metadata.
lib/crewai/src/crewai/flow/dsl/_utils.py:47
↓ 3 callersMethodis_git_installed
Check if Git is installed and available in the system.
lib/cli/src/crewai_cli/git.py:41
↓ 3 callersFunctionis_inside_event_loop
Check if code is currently running inside an asyncio event loop. This is used to detect when code is being called from within an async context
lib/crewai/src/crewai/utilities/agent_utils.py:166
↓ 3 callersMethodis_tool_result_overflowing_threshold
Check whether a tool result exceeds the deferred-output threshold. The threshold is 25% of the model's usable context window. The count
lib/crewai/src/crewai/llms/base_llm.py:483
↓ 3 callersFunctionisolated_telemetry
Build a fresh Telemetry without touching the process-wide singleton. Telemetry is a singleton whose __init__ registers atexit and signal hand
lib/crewai/tests/telemetry/test_coding_agent_detection.py:77
↓ 3 callersFunctionkick
(agent: Agent, entry: str, messages: Any)
lib/crewai/tests/agents/test_agent_spreadsheets.py:200
↓ 3 callersMethodkickoff_for_each_async
Executes the Crew's workflow for each input asynchronously. Args: inputs: List of input dictionaries, one per execution.
lib/crewai/src/crewai/crew.py:1204
↓ 3 callersFunctionkickoff_input_text
The text of a kickoff's user input; an assistant or tool message is the model's, so a URL in one is not the agent's input.
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:104
↓ 3 callersMethodlist_cached
Return metadata for every cached skill.
lib/crewai/src/crewai/skills/cache.py:129
↓ 3 callersMethodlist_crews
List all available crews.
lib/cli/src/crewai_cli/deploy/main.py:839
↓ 3 callersMethodlist_scopes
(self, _prefix)
lib/crewai/tests/hooks/test_interception_conformance.py:361
↓ 3 callersMethodlist_tools
List available tools from MCP server. Args: use_cache: Whether to use cached results. If None, uses client's cach
lib/crewai/src/crewai/mcp/client.py:404
↓ 3 callersFunctionload_jsonc_file
Load a JSON or JSONC file.
lib/crewai/src/crewai/project/json_loader.py:211
↓ 3 callersFunctionload_schema
Load a vendored A2UI JSON schema by name and version. Args: name: Schema name without extension, e.g. ``"server_to_client"``. ver
lib/crewai/src/crewai/a2a/extensions/a2ui/schema/__init__.py:37
↓ 3 callersFunctionload_skill_resources
Promote a skill to RESOURCES disclosure level. Catalogs available resource directories (scripts, references, assets). Args: skill: S
lib/crewai/src/crewai/skills/parser.py:159
↓ 3 callersFunctionloopback
Serves one response on 127.0.0.1: a head sent at once, then a tail one byte every 50 ms, or at once when ``trickle`` is off.
lib/crewai-tools/tests/utilities/test_safe_requests.py:744
↓ 3 callersFunctionmake_tool
(response: Any)
lib/crewai-tools/tests/tools/test_linkup_search_tool.py:15
↓ 3 callersFunctionmigrate_pyproject
Migrate the pyproject.toml to the new format. This function is used to migrate the pyproject.toml to the new format. And it will be used
lib/cli/src/crewai_cli/update_crew.py:39
↓ 3 callersFunctionmissing_key_line
The line that tells how to set ``name`` for the project's runs, naming the hosts the project's ``.env`` and JSON crew ``json_crew`` send requests
lib/cli/src/crewai_cli/api_keys.py:214
↓ 3 callersFunctionmock_arxiv_response
()
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:15
↓ 3 callersFunctionno_spreadsheet_urls
For a run crewAI makes on model text: it reads no spreadsheet URL.
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:227
↓ 3 callersFunctionnobody_watching
Is the output going somewhere no person reads it as it prints? A coding agent or a script runs `crewai eval` with its stdout captured, so std
lib/cli/src/crewai_cli/experimental/eval_crew.py:2310
↓ 3 callersFunctionnumbers
Text that reads as a number, as floats; NaN where it doesn't.
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:762
↓ 3 callersMethodobserve_client
Accept ordered session activity, not proof of physical audible output. A null delivery_id permits local cached audio. Identified playback mus
lib/crewai/src/crewai/experimental/flow_replies.py:204
↓ 3 callersMethodparallel_analyze
Field resolution + consolidation via parallel individual LLM calls. Classifies each active item into one of four groups: - Group A: f
lib/crewai/src/crewai/memory/encoding_flow.py:224
↓ 3 callersFunctionpick
Arrow-key single-select picker. Args: title: Header text. options: List of ``(value, description)`` tuples. labels: Optio
lib/cli/src/crewai_cli/tui_picker.py:506
↓ 3 callersFunctionpick_many
( title: str, labels: list[str], *, separator_indices: set[int] | None = None, preselected
lib/cli/src/crewai_cli/tui_picker.py:565
↓ 3 callersFunctionpick_one
Arrow-key single-select from plain labels. Returns: Selected index, or ``-1`` if cancelled.
lib/cli/src/crewai_cli/tui_picker.py:547
↓ 3 callersMethodprint_crew_evaluation_result
Prints the evaluation result of the crew in a table. A Crew with 2 tasks using the command crewai test -n 3 will output the f
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:96
↓ 3 callersFunctionprocess_config
Process the config dictionary and update the values accordingly. Args: values: The dictionary of values to update. model_class: T
lib/crewai/src/crewai/utilities/config.py:6
↓ 3 callersFunctionprocess_llm_response
Process the LLM response and format it into an AgentAction or AgentFinish. Args: answer: The raw response from the LLM use_stop_w
lib/crewai/src/crewai/utilities/agent_utils.py:866
↓ 3 callersMethodproject_created_span
(self, kind: str, project_id: str | None)
lib/cli/tests/test_create_flow.py:549
↓ 3 callersFunctionproject_dir
The run's project: the working directory, as every project-local path in crewAI.
lib/crewai/src/crewai/telemetry/tracing/last_run.py:40
↓ 3 callersFunctionprompt_user_for_trace_viewing
Prompt user if they want to see their traces with timeout. Returns True if user agrees, False otherwise. ``sharing`` explicitly asks perm
lib/crewai/src/crewai/events/listeners/tracing/utils.py:550
↓ 3 callersMethodprune
Remove oldest checkpoint files beyond *max_keep* on a branch.
lib/crewai/src/crewai/state/provider/json_provider.py:98
↓ 3 callersMethodraise_for_status
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:175
← previousnext →1,901–2,000 of 19,663, ranked by callers