MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,482 in github.com/crewAIInc/crewAI

↓ 34 callersMethodconfirm
(self)
lib/crewai/tests/test_flow_from_definition.py:140
↓ 34 callersMethodreset
Reset (delete all) memories in scope. Args: scope: Scope to reset. If None and root_scope is set, resets only wit
lib/crewai/src/crewai/memory/unified_memory.py:1028
↓ 34 callersMethodsearch
(self, query, limit=5, metadata_filter=None, score_threshold=0.6)
lib/crewai/tests/agents/test_agent.py:1884
↓ 34 callersFunctionwait_for_event_handlers
Wait for all pending event handlers to complete. This helper ensures all sync and async handlers finish processing before proceeding. Useful
lib/crewai/tests/utils.py:7
↓ 33 callersMethodcall
Call the LLM with the given messages. Args: messages: Input messages for the LLM. Can be a string or list of
lib/crewai/src/crewai/llms/base_llm.py:541
↓ 33 callersMethodremember
Store a single item in memory (synchronous). Routes through the same serialized save pool as ``remember_many`` to prevent races, but
lib/crewai/src/crewai/memory/unified_memory.py:435
↓ 33 callersMethodstream_turn
Stream intentional public output while fully draining native frames. IDs are single-use within a session. Provisional transcript replacement,
lib/crewai/src/crewai/experimental/flow_turns.py:259
↓ 33 callersMethodtitle
(self)
lib/crewai/src/crewai/experimental/evaluation/base_evaluator.py:28
↓ 32 callersFunction_codes
(validator: DeployValidator)
lib/cli/tests/deploy/test_validate.py:106
↓ 32 callersMethod_subscribe
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:2681
↓ 32 callersMethodadd
( # type: ignore[override] self, content: str | Path, data_type: str | DataType | Non
lib/crewai-tools/src/crewai_tools/rag/core.py:86
↓ 32 callersFunctionload_crew
Load a ``Crew`` from a JSON/JSONC definition file. The definition file describes the crew's agents, tasks, process type, and default inputs.
lib/crewai/src/crewai/project/crew_loader.py:25
↓ 31 callersMethod_safe_telemetry_operation
Execute telemetry operation safely, checking both readiness and environment variables. Args: operation: A callable that performs
lib/crewai/src/crewai/telemetry/telemetry.py:235
↓ 31 callersMethodcreate_crew
(self, **kwargs)
lib/cli/tests/test_crew_run_tui.py:108
↓ 31 callersMethoddump
Save current settings to settings.json.
lib/crewai-core/src/crewai_core/settings.py:246
↓ 31 callersMethodexecute_task
Execute a task with the agent. Args: task: Task to execute. context: Context to execute the task in. tool
lib/crewai/src/crewai/agent/core.py:1003
↓ 31 callersMethodresult
(self)
lib/crewai/tests/test_flow.py:1578
↓ 31 callersFunctiontrace_consent
Choose how executions in this context ask permission to share traces. The callback runs once after a successful execution has finished, or after
lib/crewai/src/crewai/telemetry/tracing/ephemeral.py:43
↓ 30 callersMethod_call_completions
Call OpenAI Chat Completions API. Falls back to the Responses API when the model turns out not to be served by chat completions, whic
lib/crewai/src/crewai/llms/providers/openai/completion.py:705
↓ 30 callersFunction_make_llm
Build a provider whose SDK clients are pinned to a mock transport. Replaces the private clients rather than patching module globals so the test
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:99
↓ 30 callersFunction_serialize
(value: Any)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:583
↓ 30 callersFunctioncreate_llm
Creates or returns an LLM instance based on the given llm_value. Args: llm_value: LLM instance, model name string, config dict, None, or
lib/crewai/src/crewai/utilities/llm_utils.py:22
↓ 30 callersMethoderrors
Retrieve an error message by key. Args: error: The key of the error message to retrieve. Returns: The error
lib/crewai/src/crewai/utilities/i18n.py:67
↓ 30 callersFunctionget_trace_session
Return the tracing session owned by the active execution.
lib/crewai/src/crewai/telemetry/tracing/context.py:98
↓ 30 callersMethodremove
Sync wrapper for aremove.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:460
↓ 29 callersFunction_make_tool
Return a DB2VectorSearchTool with mocked ibm_db packages.
lib/crewai-tools/tests/tools/test_db2_search_tool.py:63
↓ 29 callersMethodgather
(self)
lib/crewai/tests/test_flow_ask.py:166
↓ 29 callersMethodregister
Register an extension. Args: extension: The extension to register.
lib/crewai/src/crewai/a2a/extensions/base.py:178
↓ 28 callersFunctionbuild
(model: str = "gpt-5", **kwargs: Any)
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:43
↓ 28 callersMethodcreate
(self, execution_uuid: str)
lib/crewai/src/crewai/telemetry/tracing/grants.py:214
↓ 28 callersFunctionmachine_endpoints
The endpoint and proxy settings the machine's environment held as the CLI started, VALUES alone, and none since: a test's own machine has its own.
lib/cli/tests/test_api_keys.py:138
↓ 28 callersFunctionmake_tool
(**kwargs)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:190
↓ 28 callersMethodprompt
(self, call: int = 0)
lib/crewai/tests/agents/test_agent_spreadsheets.py:142
↓ 27 callersMethod_apply_stop_words
Apply stop words to truncate response content. This method provides consistent stop word behavior across all native SDK providers. Na
lib/crewai/src/crewai/llms/base_llm.py:681
↓ 27 callersMethod_prepare_responses_params
Prepare parameters for OpenAI Responses API. The Responses API uses a different structure than Chat Completions: - `input` instead of
lib/crewai/src/crewai/llms/providers/openai/completion.py:1071
↓ 27 callersFunction_write_crew
(project_dir: Path, crew_def: dict)
lib/crewai/tests/project/test_crew_loader.py:59
↓ 27 callersFunctioninterpolate_only
Interpolate placeholders (e.g., {key}) in a string while leaving JSON untouched. Only interpolates placeholders that follow the pattern {variable_
lib/crewai/src/crewai/utilities/string_utils.py:85
↓ 27 callersFunctionload_agent_project
Load the standalone agent selected by the project's entrypoint. Experimental: the project schema and loading API may change. ``[tool.crewai]
lib/crewai/src/crewai/project/agent_project.py:25
↓ 27 callersMethodresult
Return the final result after stream exhaustion or completion.
lib/crewai/src/crewai/types/streaming.py:77
↓ 27 callersMethodsupports_multimodal
Check if the model supports multimodal inputs. For litellm, check common vision-enabled model prefixes. Returns: True if
lib/crewai/src/crewai/llm.py:2855
↓ 26 callersFunction_conversational_declaration
A declaration naming the built-in methods explicitly. Synthesizing these entries from ``conversational.enabled`` is a follow-up; until then a
lib/crewai/tests/test_flow_conversation.py:2446
↓ 26 callersFunction_run_without_import_check
Run validation with the subprocess-based import check stubbed out; the classifier is exercised directly in its own tests below.
lib/cli/tests/deploy/test_validate.py:110
↓ 26 callersFunction_write_agent
(agents_dir: Path, name: str, **overrides)
lib/crewai/tests/project/test_crew_loader.py:47
↓ 26 callersMethodadd_texts
( self, texts: Iterable[str], metadatas: list[dict[str, Any]] | None = None, i
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:805
↓ 26 callersMethodappend_assistant_message
Append a final user-visible assistant message.
lib/crewai/src/crewai/flow/conversational_mixin.py:887
↓ 26 callersFunctionbody
The result without the framing line every result starts with.
lib/crewai-files/tests/spreadsheets/test_answers.py:65
↓ 26 callersFunctiondispatch
Dispatch a context to all hooks registered for a point. Resolves global then scoped hooks and runs them through :func:`run_hooks`. No-op fast
lib/crewai/src/crewai/hooks/dispatch.py:357
↓ 26 callersMethodflush
Block until all pending event handlers complete. This method waits for all futures from previously emitted events to finish executing
lib/crewai/src/crewai/events/event_bus.py:734
↓ 26 callersFunctiongenerate_model_description
Generate JSON schema description of a Pydantic model. This function takes a Pydantic model class and returns its JSON schema, which includes
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:650
↓ 26 callersMethodget_token_usage_summary
Get summary of token usage for this LLM instance. The counters are cumulative for the lifetime of this instance: they grow across eve
lib/crewai/src/crewai/llms/base_llm.py:1230
↓ 26 callersFunctionreset_last_event_id
Reset the last event ID to None. Should be called at the start of a new flow or when resetting event state.
lib/crewai/src/crewai/events/event_context.py:83
↓ 26 callersMethodtable
The sheet as a table under ``header_row`` (1-based), or the detected one.
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:121
↓ 25 callersFunction_agent
(role: str)
lib/crewai/tests/test_llm_overlay.py:53
↓ 25 callersMethod_effective_stream
Return the call-scoped streaming mode for this instance.
lib/crewai/src/crewai/llms/base_llm.py:367
↓ 25 callersFunction_json_responder
(body: dict[str, Any], status: int = 200)
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:124
↓ 25 callersMethodask
Request input from the user during flow execution. Blocks the current thread until the user provides input or the timeout expires. Wo
lib/crewai/src/crewai/flow/runtime/__init__.py:3514
↓ 25 callersFunctionbuild_flow_structure
Build a visualization structure projection from a FlowDefinition.
lib/crewai/src/crewai/flow/visualization/builder.py:169
↓ 25 callersFunctioncrewai_run
(*args: str)
lib/cli/tests/test_api_keys.py:134
↓ 25 callersMethodexecute
Execute the update mechanism and return result. Args: client: A2A client instance. message: Message to send.
lib/crewai/src/crewai/a2a/updates/base.py:130
↓ 25 callersMethodprompt
Generates the task prompt with optional markdown formatting. When the markdown attribute is True, instructions for formatting the res
lib/crewai/src/crewai/task.py:1012
↓ 24 callersFunction_create_analyst_crew
Create a simple analyst crew for file analysis.
lib/crewai/tests/test_crew_multimodal.py:95
↓ 24 callersFunction_emit_event
(event: object)
lib/cli/tests/test_crew_run_tui.py:95
↓ 24 callersMethod_track_token_usage_internal
Track token usage from Bedrock response.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2208
↓ 24 callersFunctioncreate_flow
Create a new flow. At a terminal, a Python flow asks for a model and its API keys and saves them to ``.env``. A declarative flow, whose start
lib/cli/src/crewai_cli/create_flow.py:24
↓ 24 callersMethodlist_records
List records in a scope, newest first. Args: scope: Optional scope path prefix to filter by. If None and root_scope
lib/crewai/src/crewai/memory/unified_memory.py:949
↓ 24 callersMethodsave_pending_feedback
Save state with a pending feedback marker. This method stores both the flow state and the pending feedback context, allowing the flow
lib/crewai/src/crewai/flow/persistence/sqlite.py:285
↓ 24 callersFunctionto_serializable
Converts a Python object into a JSON-compatible representation. Supports primitives, datetime objects, collections, dictionaries, dataclasses
lib/crewai/src/crewai/utilities/serialization.py:18
↓ 24 callersFunctionxlsx
(*sheets)
lib/crewai-files/tests/spreadsheets/test_answers.py:21
↓ 23 callersMethod__setattr__
Allow arbitrary attribute assignment for backward compat with plain class.
lib/crewai/src/crewai/flow/runtime/__init__.py:833
↓ 23 callersFunction_build_multimodal_message
Build a multimodal message with text and file content.
lib/crewai/tests/llms/test_multimodal_integration.py:78
↓ 23 callersMethod_emit_call_started_event
Emit LLM call started event.
lib/crewai/src/crewai/llms/base_llm.py:783
↓ 23 callersFunction_looping_crew
( llm: LLM, policy: ToolFailurePolicy | None = None, **agent_kwargs: Any )
lib/crewai/tests/tools/test_tool_failure.py:1839
↓ 23 callersFunction_mock_response
Build a ``requests.Response``-like mock with the attributes used by ``_make_request``.
lib/crewai-tools/tests/tools/brave_search_tool_test.py:37
↓ 23 callersFunction_sanitize_collection_name
Make a collection name valid for Qdrant. Replaces characters Qdrant rejects with ``_`` and limits the name to 255 bytes. Names that are alrea
lib/crewai/src/crewai/rag/qdrant/utils.py:43
↓ 23 callersFunction_start_span
( providers: TelemetryProviders, ctx: TelemetryExecutionContext, name: str, event: Any, at
lib/crewai/src/crewai/telemetry/tracing/handlers.py:690
↓ 23 callersFunctionconvert_tools_to_openai_schema
Convert CrewAI tools to OpenAI function calling format. This function converts CrewAI BaseTool and CrewStructuredTool objects into the OpenAI
lib/crewai/src/crewai/utilities/agent_utils.py:248
↓ 23 callersFunctioncreate_crew
Scaffold a classic Python/YAML crew project. Returns: The crew's folder, or None when nothing runnable was created: the crew was
lib/cli/src/crewai_cli/create_crew.py:205
↓ 23 callersMethodgenerate_doc_id
Generate a unique document id based on the source reference and content. If the source reference is not provided, the content is used as the s
lib/crewai-tools/src/crewai_tools/rag/base_loader.py:27
↓ 23 callersMethodget
Look up a node by event ID. Args: event_id: The event's unique identifier. Returns: The node, or None if not
lib/crewai/src/crewai/state/event_record.py:148
↓ 23 callersFunctionget_before_llm_call_hooks
Get all registered global before_llm_call hooks. Returns: List of registered before hooks
lib/crewai/src/crewai/hooks/llm_hooks.py:293
↓ 23 callersMethodget_context_window_size
Return 85% of ``context_window_size`` or of the catalog limit.
lib/crewai/src/crewai/llm.py:2646
↓ 23 callersFunctionget_platform_integration_token
Get the platform integration token from the current context or environment. Returns: The integration token if set, otherwise None.
lib/crewai/src/crewai/context.py:39
↓ 23 callersMethodrun
(self)
lib/cli/tests/test_run_usage.py:1358
↓ 23 callersMethodwrite
(self, text: str)
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:161
↓ 22 callersMethod_generate_description
(self)
lib/crewai-tools/src/crewai_tools/tools/patronus_eval_tool/patronus_eval_tool.py:102
↓ 22 callersFunction_store_span
Store a span and apply any pending end that arrived before it was created. The event-bus thread pool can deliver completion-event handlers before
lib/crewai/src/crewai/telemetry/tracing/handlers.py:766
↓ 22 callersMethodcopy
Create a deep copy of the Agent.
lib/crewai/src/crewai/agents/agent_builder/base_agent.py:712
↓ 22 callersMethodexecute
(self, sql, params=None, **kwargs)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:55
↓ 22 callersMethodget_or_create_collection
Get an existing collection or create it if it doesn't exist. Keyword Args: collection_name: Name of the collection to get or crea
lib/crewai/src/crewai/rag/qdrant/client.py:202
↓ 22 callersMethodpost
(ctx)
lib/crewai/tests/hooks/test_interception_conformance.py:211
↓ 22 callersFunctionreset_emission_counter
Reset the emission sequence counter to 1. Resets for the current context only.
lib/crewai/src/crewai/events/base_events.py:49
↓ 22 callersMethodset
Sync wrapper for aset.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:429
↓ 22 callersMethodto_structured_tool
(self)
lib/crewai/tests/utilities/test_planning_handler.py:125
↓ 22 callersFunctionxlsx
A workbook of ``(name, rows)`` or ``(name, rows, "hidden")`` sheets; ``far`` puts one value at ``(row, column)`` on the named sheet.
lib/crewai-files/tests/spreadsheets/test_reading.py:26
↓ 21 callersFunction_filter_none
(attrs: dict[str, Any])
lib/crewai/src/crewai/telemetry/tracing/semantic_conventions.py:78
↓ 21 callersMethodadd_documents
Add documents with their embeddings to a collection. Keyword Args: collection_name: The name of the collection to add documents t
lib/crewai/src/crewai/rag/qdrant/client.py:306
↓ 21 callersFunctioncreate_client
Create a client from configuration using the appropriate factory. Args: config: The RAG client configuration. Returns: The c
lib/crewai/src/crewai/rag/factory.py:42
↓ 21 callersFunctionget_crewai_version
Return the installed crewAI version string. Falls back to ``"unknown"`` when neither crewai nor crewai-core are pip-installed (e.g. running d
lib/crewai-core/src/crewai_core/version.py:25
↓ 21 callersFunctionget_or_create_project_id
Return the project's id, minting and persisting one if absent. Writes ``project_id`` into the ``[tool.crewai]`` table so it is committed with
lib/crewai-core/src/crewai_core/project.py:348
↓ 21 callersFunctionload_agent
Load an ``Agent`` from a JSON/JSONC or YAML constructor definition. ``project_root`` anchors local Python references, custom tools, and skill pat
lib/crewai/src/crewai/project/json_loader.py:268
← previousnext →101–200 of 19,482, ranked by callers