MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,484 in github.com/crewAIInc/crewAI

↓ 2 callersMethod_prepare_task_execution
Prepare common setup for task execution shared by sync and async paths. Handles reasoning, prompt building, and memory retrieval. Ar
lib/crewai/src/crewai/agent/core.py:708
↓ 2 callersFunction_print_brief
The markdown brief AMP wrote for a coding agent, when nobody is watching. It is what the report page's "Copy for your coding agent" button copies
lib/cli/src/crewai_cli/experimental/eval_crew.py:2326
↓ 2 callersFunction_print_evaluation_line
The evaluation's link, once the app that showed it has gone. An evaluation started inside the app is read there; the terminal is what is left
lib/cli/src/crewai_cli/run_crew.py:1097
↓ 2 callersFunction_print_info
(meta: dict[str, Any])
lib/cli/src/crewai_cli/checkpoint_cli.py:413
↓ 2 callersFunction_proactively_summarize_context
Try to summarize oversized context without blocking a valid LLM call.
lib/crewai/src/crewai/utilities/agent_utils.py:678
↓ 2 callersMethod_process_async_tasks
( self, futures: list[tuple[Task, Future[TaskOutput], int]], was_replayed: bool = Fals
lib/crewai/src/crewai/crew.py:2035
↓ 2 callersMethod_process_completion_response
Process completion response with usage tracking, tool execution, and events. Args: response: Chat completion response from Azure
lib/crewai/src/crewai/llms/providers/azure/completion.py:874
↓ 2 callersFunction_process_query_results
Process ChromaDB query results and convert to SearchResult format. Args: collection: The ChromaDB collection (sync or async) that was que
lib/crewai/src/crewai/rag/chromadb/utils.py:268
↓ 2 callersFunction_process_response_result
Process LLM response and determine next action. Shared logic for both sync and async handlers. Returns: Tuple of (final_result, next
lib/crewai/src/crewai/a2a/wrapper.py:851
↓ 2 callersMethod_process_response_with_tools
Process response, execute function calls, and finalize completion. Args: response: The completion response contents:
lib/crewai/src/crewai/llms/providers/gemini/completion.py:946
↓ 2 callersMethod_process_schema_type
Process a JSON schema and return appropriate Python type.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:110
↓ 2 callersFunction_process_search_results
Process Qdrant search response into SearchResult format. The threshold is applied to the normalized score, the same 0-1 scale the results rep
lib/crewai/src/crewai/rag/qdrant/utils.py:209
↓ 2 callersMethod_process_stream_chunk
Process a single streaming chunk. Args: chunk: The streaming chunk response full_response: Accumulated response text
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1066
↓ 2 callersMethod_process_streaming_update
Process a single streaming update chunk. Args: update: Streaming update from Azure API full_response: Accumulated res
lib/crewai/src/crewai/llms/providers/azure/completion.py:996
↓ 2 callersFunction_project_endpoints
Where the project's `.env`, JSON crew or agents.yaml send model requests that the machine's own environment does not, each as `host (setting)`.
lib/cli/src/crewai_cli/api_keys.py:322
↓ 2 callersFunction_project_files
The project's own files, by path relative to it: hidden folders, caches, virtual environments, `crewai eval export` folders and `eval.jsonc` (the
lib/cli/src/crewai_cli/experimental/eval_crew.py:1030
↓ 2 callersFunction_project_root
(project_root: Path | None)
lib/crewai/src/crewai/project/json_loader.py:803
↓ 2 callersFunction_project_run_command
Return a runner command using the project environment.
lib/cli/src/crewai_cli/run_crew.py:596
↓ 2 callersFunction_project_script_target
(script_name: str)
lib/cli/src/crewai_cli/kickoff_flow.py:17
↓ 2 callersFunction_project_state
Each project file with its modification time and size.
lib/cli/src/crewai_cli/experimental/eval_crew.py:1072
↓ 2 callersFunction_project_tracing_value
`CREWAI_TRACING_ENABLED` as the run will see it: the project's `.env` (which wins, as the run loads it) or else the environment, lowercased.
lib/cli/src/crewai_cli/experimental/eval_crew.py:288
↓ 2 callersFunction_prompt_can_be_shown
Could a question about traces be put to somebody at all? Three cases where it cannot: a suite under test, a host that asked for tracing messa
lib/crewai/src/crewai/events/listeners/tracing/utils.py:531
↓ 2 callersMethod_prompt_input_async
Show rich panel and prompt for input without blocking the event loop. Args: crew: The crew instance for context. Returns
lib/crewai/src/crewai/core/providers/human_input.py:372
↓ 2 callersFunction_prompt_text
( label: str, default: str = "", *, spacing_before: bool = True, )
lib/cli/src/crewai_cli/create_json_crew.py:312
↓ 2 callersFunction_provider_api_key
First non-empty API key found among the provider's env vars.
lib/cli/src/crewai_cli/model_catalog.py:76
↓ 2 callersFunction_pydantic_valid_event
Return True if *data* validates as an A2UIEvent.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:43
↓ 2 callersFunction_pydantic_valid_message
Return True if *data* validates as an A2UIMessage.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:34
↓ 2 callersFunction_python_ref_path
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:692
↓ 2 callersFunction_query_value
(url: str, params: tuple[str, ...])
lib/crewai-files/src/crewai_files/spreadsheets/__init__.py:171
↓ 2 callersFunction_raise_for_upstream_error
Raise when a 200 response carries an upstream error instead of choices. Gateways commit `200 OK` as soon as a provider accepts the request, so a
lib/crewai/src/crewai/llms/providers/openai/completion.py:131
↓ 2 callersFunction_raw_create_double
Double for `chat.completions.with_raw_response.create`. `text` has to be real JSON carrying `choices` so the gateway error-envelope guard see
lib/crewai/tests/llms/openai/test_openai.py:503
↓ 2 callersFunction_react_text_executor
Wire an executor for the ReAct text tool route (execute_tool_action).
lib/crewai/tests/agents/test_react_tool_hook_contract.py:35
↓ 2 callersFunction_read_agent_definition
(path: Path)
lib/crewai/src/crewai/project/json_loader.py:241
↓ 2 callersFunction_read_definition
(path: Path)
lib/cli/src/crewai_cli/agent_tools.py:157
↓ 2 callersFunction_read_key
()
lib/cli/src/crewai_cli/tui_picker.py:31
↓ 2 callersFunction_record
(record_id: str, scope: str)
lib/crewai/tests/memory/test_lancedb_scoped_count.py:23
↓ 2 callersMethod_record_to_point
Convert a MemoryRecord to a Qdrant Point.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:192
↓ 2 callersMethod_record_to_row
(self, record: MemoryRecord)
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:272
↓ 2 callersFunction_record_usage
Count an evaluation that is actually starting, whether the caller was logged in, and which run it grades. TARGET is `last_run` when `crewai e
lib/cli/src/crewai_cli/experimental/eval_crew.py:135
↓ 2 callersFunction_recorded_run
This execution's own record, if its trace reached AMP. crewAI records a run when its spans are exported, so the record answers the one questi
lib/cli/src/crewai_cli/crew_run_tui.py:498
↓ 2 callersMethod_redeploy
( self, endpoint: str, *, project_id: str | None, force: bool )
lib/crewai-core/src/crewai_core/plus_api.py:482
↓ 2 callersFunction_referenced_input_names
All ``{placeholder}`` names referenced by a crew's agents and tasks.
lib/cli/src/crewai_cli/run_crew.py:196
↓ 2 callersMethod_refresh_tree
(self)
lib/cli/src/crewai_cli/checkpoint_tui.py:335
↓ 2 callersMethod_register_action_event_handlers
Register handlers for action events (LLM calls, tool usage).
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:444
↓ 2 callersFunction_register_custom_provider
A custom vector store: its own config class plus a registered factory.
lib/crewai/tests/knowledge/test_knowledge_storage_providers.py:219
↓ 2 callersMethod_remember_no_reasoning_effort_model
Record that this model rejected `reasoning_effort`. Called once the retry without the parameter has succeeded, so a retry that fails
lib/crewai/src/crewai/llms/providers/openai/completion.py:2161
↓ 2 callersMethod_remember_tools_need_responses
Send this model's later calls on this endpoint to the Responses API. Not with ``custom_openai=True``: `_effective_api` never upgrades those,
lib/crewai/src/crewai/llms/providers/openai/completion.py:2098
↓ 2 callersMethod_render
Render the tool name and description in plain text.
lib/crewai/src/crewai/tools/tool_usage.py:855
↓ 2 callersMethod_render_log_panel
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:2245
↓ 2 callersMethod_replace
( self, sandbox: Any, paths: list[str], pattern: str, replacement: str
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_file_tool.py:472
↓ 2 callersMethod_replace_step
Replace current step in-place (no archive). Used for tool results.
lib/cli/src/crewai_cli/crew_run_tui.py:2443
↓ 2 callersFunction_report_empty_llm_answer
( printer: Printer, verbose: bool, *, retrying: bool )
lib/crewai/src/crewai/utilities/agent_utils.py:512
↓ 2 callersFunction_report_url
The report link, if it is one a browser may be sent to. It is printed as a link and opened without a click, and it comes from whichever AMP a
lib/cli/src/crewai_cli/experimental/eval_crew.py:1507
↓ 2 callersMethod_request_kwargs
Validate the LLM, dispatch before-call hooks and build the request.
lib/crewai/src/crewai/utilities/internal_instructor.py:172
↓ 2 callersMethod_require_cel_source
(value: str, *, source: str | None = None)
lib/crewai/src/crewai/flow/expressions.py:455
↓ 2 callersMethod_reset_current
Reset the current agent and task tracking state.
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:212
↓ 2 callersMethod_reset_memory_system
Reset a single memory system. Args: system: The memory system instance to reset. name: Display name of the memory sys
lib/crewai/src/crewai/crew.py:2453
↓ 2 callersMethod_reset_turn_execution_state
Clear per-execution tracking so the next turn re-runs the graph.
lib/crewai/src/crewai/flow/conversational_mixin.py:1245
↓ 2 callersMethod_reset_user_settings
Reset all user settings to default values.
lib/crewai-core/src/crewai_core/settings.py:264
↓ 2 callersFunction_resolve_against_base
Resolve *path* the way the sandbox does, anchoring relatives to *base_dir*. ``validate_file_path`` and ``format_path_for_display`` both join a re
lib/crewai-tools/src/crewai_tools/tools/file_read_tool/file_read_tool.py:16
↓ 2 callersMethod_resolve_answer_from_history_prompt
Return the deprecated history-only route's effective prompt.
lib/crewai/src/crewai/flow/conversational_mixin.py:1293
↓ 2 callersFunction_resolve_api_key
Pick ``api_key``, then ``GOOGLE_API_KEY``, then ``GEMINI_API_KEY``. The placeholder is skipped so a leftover one cannot hide a real key further
lib/crewai/src/crewai/llms/providers/gemini/completion.py:44
↓ 2 callersMethod_resolve_as_url
Resolve a URL source as UrlReference. Args: file: The file with URL source. Returns: UrlReference with the U
lib/crewai-files/src/crewai_files/resolution/resolver.py:147
↓ 2 callersMethod_resolve_duration
Validate and clamp the requested duration to ``max_seconds``. ``BaseTool.run`` skips ``args_schema`` validation when called with posi
lib/crewai-tools/src/crewai_tools/tools/wait_tool/wait_tool.py:157
↓ 2 callersFunction_resolve_embedder_python_refs
( value: Any, source: str | Path, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1607
↓ 2 callersFunction_resolve_explain_command
Resolve the underlying command from an EXPLAIN [ANALYZE] [VERBOSE] statement. Returns the real command (e.g., 'DELETE') if ANALYZE is present, el
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:185
↓ 2 callersFunction_resolve_hooks
Resolve the ordered hooks for a point: global first, then scoped.
lib/crewai/src/crewai/hooks/dispatch.py:201
↓ 2 callersMethod_resolve_index_name
(self, index_name: str | None, idx_type: str)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:659
↓ 2 callersMethod_resolve_inline
Resolve a file as inline content. Args: file: The file to resolve (used for logging). provider: Provider name.
lib/crewai-files/src/crewai_files/resolution/resolver.py:396
↓ 2 callersMethod_resolve_input_provider
Resolve the input provider using the priority chain. Resolution order: 1. ``self.input_provider`` (per-flow override) 2. ``fl
lib/crewai/src/crewai/flow/runtime/__init__.py:3469
↓ 2 callersFunction_resolve_instance_ref
(ref: str, *, field: str)
lib/crewai/src/crewai/flow/runtime/__init__.py:297
↓ 2 callersFunction_resolve_persistence
(value: Any)
lib/crewai/src/crewai/flow/runtime/__init__.py:285
↓ 2 callersFunction_resolve_project_path
( value: str, project_root: Path | None, source: str | Path, )
lib/crewai/src/crewai/project/json_loader.py:1803
↓ 2 callersFunction_resolve_ref
Resolve a $ref to its actual schema. Args: ref: The $ref string (e.g., "#/$defs/MyType"). root_schema: The root schema containing
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:1079
↓ 2 callersMethod_resolve_system_prompt
Return the effective conversational system prompt.
lib/crewai/src/crewai/flow/conversational_mixin.py:1284
↓ 2 callersFunction_resolve_tool_class
(ref: str)
lib/crewai/src/crewai/project/json_loader.py:1939
↓ 2 callersFunction_resolve_tool_fields
( kwargs: dict[str, Any], source: str | Path, project_root: Path | None = None, )
lib/crewai/src/crewai/project/json_loader.py:1177
↓ 2 callersMethod_resolved_overlay
The llm ``llm_overlay`` puts this agent on, given its ``declared`` one. The role's key wins over the model keys; with neither, ``declared``.
lib/crewai/src/crewai/agent/core.py:554
↓ 2 callersMethod_restore_state
Restore flow state from persistence. Args: stored_state: Previously stored state to restore Raises: ValueErr
lib/crewai/src/crewai/flow/runtime/__init__.py:1953
↓ 2 callersFunction_retry_after_seconds
Read a numeric ``Retry-After`` hint from common SDK response shapes.
lib/crewai/src/crewai/llms/retry.py:208
↓ 2 callersFunction_role
(value: Any, default: str)
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:356
↓ 2 callersMethod_roles
(messages: Any)
lib/crewai/tests/test_flow_conversation.py:1610
↓ 2 callersMethod_run
(self, text: str)
lib/crewai/tests/tools/test_tool_failure.py:1885
↓ 2 callersMethod_run
(self, min_value: int, max_value: int)
lib/crewai/tests/tools/test_tool_usage.py:48
↓ 2 callersMethod_run_again_traced
Close, and run the crew again traced through `crewai eval`'s own path (`run_crew._chain_traced_rerun`).
lib/cli/src/crewai_cli/crew_run_tui.py:1559
↓ 2 callersMethod_run_async
Async implementation of tool execution. A fresh ``MCPClient`` is created for every invocation so that concurrent calls never share tr
lib/crewai/src/crewai/tools/mcp_native_tool.py:113
↓ 2 callersFunction_run_capturing_flow_lifecycle
(yaml_str, event_types)
lib/crewai/tests/test_flow_from_definition.py:3477
↓ 2 callersMethod_run_context
(self)
lib/crewai/src/crewai/flow/expressions.py:302
↓ 2 callersMethod_run_crew_worker
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:921
↓ 2 callersFunction_run_endpoints
The hosts :func:`_project_endpoints` names, and those the crew's own code pointed a provider at through the environment while it loaded.
lib/cli/src/crewai_cli/api_keys.py:232
↓ 2 callersFunction_run_from_locked_project
(test: unittest.TestCase)
lib/cli/tests/deploy/test_deploy_main.py:205
↓ 2 callersFunction_run_in_project_env
`crewai run` from the scaffolded project, as `uv run crewai run` runs it.
lib/cli/tests/test_create_flow.py:723
↓ 2 callersFunction_safe_branch
Validate that a branch name doesn't escape the base directory. Raises: ValueError: If the branch resolves outside the base directory.
lib/crewai/src/crewai/state/provider/json_provider.py:22
↓ 2 callersFunction_safe_delete
Safely delete a file, logging any errors. Args: uploader: The file uploader to use. file_id: The file ID to delete. provi
lib/crewai-files/src/crewai_files/cache/cleanup.py:33
↓ 2 callersFunction_safe_shape
( transform: Callable[[Any], Any], value: Any, attr: str )
lib/crewai/src/crewai/telemetry/tracing/semantic_conventions.py:82
↓ 2 callersMethod_sanitize_name
Sanitize names to create proper Python class names.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:90
↓ 2 callersFunction_save_results_to_file
Saves the search results to a file.
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:23
↓ 2 callersMethod_save_state_sql
Execute the save-state INSERT without acquiring the lock. Args: conn: An open SQLite connection. flow_uuid: Unique id
lib/crewai/src/crewai/flow/persistence/sqlite.py:147
↓ 2 callersFunction_saved_whole
Did this command save FOLDER whole? Its marker is there, a plain file.
lib/cli/src/crewai_cli/experimental/eval_crew.py:2549
↓ 2 callersMethod_say_what_became_of_the_evaluation
(self, execution_id: str | None)
lib/cli/src/crewai_cli/crew_run_tui.py:1058
← previousnext →2,501–2,600 of 19,484, ranked by callers