MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions14,804 in github.com/crewAIInc/crewAI

↓ 3 callersMethod_acquire_sandbox
Return (sandbox, should_delete_after_use).
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:147
↓ 3 callersMethod_acquire_sandbox
Return (sandbox, should_kill_after_use).
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:147
↓ 3 callersFunction_afetch_agent_card_impl
Internal async implementation of AgentCard fetching.
lib/crewai/src/crewai/a2a/utils/agent_card.py:237
↓ 3 callersFunction_agent_class_from_definition
( defn: dict[str, Any], source: str | Path, *, resolve_python_refs: bool = True, project_r
lib/crewai/src/crewai/project/json_loader.py:864
↓ 3 callersMethod_aggregate_agent_results
( self, agent_id: str, agent_role: str, results: Sequence[AgentEvaluationResul
lib/crewai/src/crewai/experimental/evaluation/evaluation_display.py:250
↓ 3 callersMethod_ainvoke_loop
Re-run the executor flow asynchronously using feedback messages.
lib/crewai/src/crewai/experimental/agent_executor.py:3332
↓ 3 callersMethod_alocked
Async cross-process lock that acquires/releases in an executor.
lib/crewai/src/crewai/rag/chromadb/client.py:83
↓ 3 callersMethod_aprocess_async_tasks
Process pending async tasks and return their outputs.
lib/crewai/src/crewai/crew.py:1438
↓ 3 callersMethod_attempt_mcp_discovery
Attempt single MCP discovery; returns *(result, error_message, should_retry)*.
lib/crewai/src/crewai/mcp/tool_resolver.py:599
↓ 3 callersMethod_bind_runtime_state
(self, *event_dicts: dict[str, object])
lib/crewai/tests/events/test_event_context.py:192
↓ 3 callersMethod_chain_lineage
Update lineage fields after a successful checkpoint write. Sets ``_checkpoint_id`` and ``_parent_id`` so the next write records the c
lib/crewai/src/crewai/state/runtime.py:216
↓ 3 callersMethod_check_usage_limit
Check if tool has reached its usage limit. Args: tool: The tool to check tool_name: The name of the tool (used for er
lib/crewai/src/crewai/tools/tool_usage.py:792
↓ 3 callersMethod_clear_or_listeners
Clear fired OR listeners for cyclic flows.
lib/crewai/src/crewai/flow/runtime/__init__.py:1050
↓ 3 callersMethod_clear_scroll
(self, tab_id: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:474
↓ 3 callersMethod_collapse_plan_on_task_done
Collapse unfinished display-only plan steps once the task succeeds.
lib/cli/src/crewai_cli/crew_run_tui.py:1826
↓ 3 callersFunction_compute_file_hash
Compute SHA-256 hash of file content. Uses streaming for FilePath sources to avoid loading large files into memory.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:75
↓ 3 callersMethod_context_window_model_name
Return the model id used for context-window lookup. LiteLLM keeps provider-qualified names such as ``openai/gpt-5.6-luna``. Strip a r
lib/crewai/src/crewai/llm.py:2490
↓ 3 callersMethod_crew
(self, **crew_kwargs)
lib/crewai/tests/test_tool_cache_default.py:229
↓ 3 callersMethod_current_usage_summary
Snapshot the cumulative usage counters backing this agent's LLM. The counters live on the LLM instance (or the agent's token process
lib/crewai/src/crewai/agent/core.py:1845
↓ 3 callersFunction_detect_location
Resolve the default checkpoint location. When the caller passes the default directory path, check whether a SQLite database exists at the con
lib/cli/src/crewai_cli/checkpoint_cli.py:65
↓ 3 callersMethod_drain_memory_writes
Block until all pending background memory saves have completed. Covers the crew memory, per-agent memories, and the manager agent's m
lib/crewai/src/crewai/crew.py:1890
↓ 3 callersMethod_effective_internal_routes
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:1398
↓ 3 callersFunction_ensure_dir_mode
Tighten a dedicated config directory to 0o700. Skips directories shared with other users or content (the system temp dir and the current work
lib/crewai-core/src/crewai_core/settings.py:29
↓ 3 callersFunction_ensure_handlers_registered
Register checkpoint handlers on the event bus once, lazily.
lib/crewai/src/crewai/state/checkpoint_listener.py:43
↓ 3 callersMethod_ensure_indexes
Create payload indexes for efficient filtering.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:163
↓ 3 callersFunction_entity_icon
(etype: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:114
↓ 3 callersFunction_ephemeral_user
(text: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:1041
↓ 3 callersFunction_event_types
(handled)
lib/crewai/tests/tracing/test_skill_used_tracing.py:41
↓ 3 callersMethod_execute_listeners
Executes all listeners and routers triggered by a method completion. This internal method manages the execution flow by: 1. First exe
lib/crewai/src/crewai/flow/runtime/__init__.py:3141
↓ 3 callersMethod_execute_start_method
Executes a flow's start method and its triggered listeners. This internal method handles the execution of methods marked with @start
lib/crewai/src/crewai/flow/runtime/__init__.py:2811
↓ 3 callersMethod_execute_tasks
Executes tasks sequentially and returns the final output. Args: tasks (List[Task]): List of tasks to execute manager
lib/crewai/src/crewai/crew.py:1561
↓ 3 callersFunction_expect_object
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:602
↓ 3 callersMethod_export_output
( self, result: str | BaseModel )
lib/crewai/src/crewai/task.py:1197
↓ 3 callersMethod_extract_chat_finish_reason_and_id
ChatCompletion / ChatCompletionChunk share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2710
↓ 3 callersMethod_extract_claude_tool_result_ids
(message: LLMMessage)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:295
↓ 3 callersMethod_extract_finish_reason_and_id
Azure ``ChatCompletions`` / ``StreamingChatCompletionsUpdate`` share the choices-shape; delegate to the shared extractor.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1341
↓ 3 callersMethod_extract_thinking_block
Extract and format thinking block from content block. Args: content_block: Content block from Anthropic response Returns
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:691
↓ 3 callersMethod_fetch_all_available_columns
Fetch columns for *table_name* using a parameterised query. The table name is bound via SQLAlchemy's ``:param`` syntax to prevent SQL
lib/crewai-tools/src/crewai_tools/tools/nl2sql/nl2sql_tool.py:407
↓ 3 callersFunction_fetch_openai_compatible
Parse an OpenAI-shaped ``GET /models`` response.
lib/cli/src/crewai_cli/model_catalog.py:223
↓ 3 callersFunction_filter_methods
Filter methods by attribute presence, preserving exact callable types. Args: methods: Dictionary of methods to filter. attribute:
lib/crewai/src/crewai/project/crew_base.py:416
↓ 3 callersFunction_format_json_in_text
Find JSON objects/arrays in text and pretty-print them.
lib/cli/src/crewai_cli/crew_run_tui.py:102
↓ 3 callersMethod_format_prompt
Format prompt template with input values. Args: prompt: Template string. inputs: Values to substitute. Retur
lib/crewai/src/crewai/experimental/agent_executor.py:3245
↓ 3 callersFunction_format_size
(size: int)
lib/cli/src/crewai_cli/checkpoint_cli.py:193
↓ 3 callersMethod_format_tools_for_converse
Convert CrewAI tools to Converse API format following AWS specification.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1980
↓ 3 callersFunction_generate_release_notes
Generate, display, and optionally edit release notes. Args: version: Version being released. tag_name: Tag name for the release.
lib/devtools/src/crewai_devtools/cli.py:936
↓ 3 callersMethod_get_agent_backstory
Safely gets the agent's backstory, providing a default if not available. Returns: The agent's backstory or a default value.
lib/crewai/src/crewai/utilities/reasoning_handler.py:496
↓ 3 callersFunction_get_click_requirement_from_pyproject
Parse the click requirement directly from a pyproject.toml file.
lib/cli/tests/test_click_compatibility.py:24
↓ 3 callersFunction_get_file_path
Get the filesystem path if file source is FilePath. Args: file: The file input to check. Returns: Path if source is FilePath
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:52
↓ 3 callersFunction_get_generic_system_id
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:320
↓ 3 callersMethod_get_headers
(self, organization_id: str | None = None)
lib/crewai-tools/src/crewai_tools/tools/generate_crewai_automation_tool/generate_crewai_automation_tool.py:62
↓ 3 callersMethod_get_inference_config
Get inference configuration following AWS Converse API specification.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2011
↓ 3 callersFunction_get_linux_machine_id
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:284
↓ 3 callersMethod_get_max_replans
Get max replans from planning config or default to 3.
lib/crewai/src/crewai/experimental/agent_executor.py:572
↓ 3 callersFunction_get_project_attribute
Look up a dotted attribute path inside ``pyproject_path``. The file must declare ``crewai`` in ``[project].dependencies`` for the lookup to s
lib/crewai-core/src/crewai_core/project.py:156
↓ 3 callersMethod_get_reasoning_effort
Get the reasoning effort level from the agent's planning config. Returns: The reasoning effort level: "low", "medium", or "high".
lib/crewai/src/crewai/experimental/agent_executor.py:558
↓ 3 callersFunction_get_server_config
Get A2AServerConfig from an agent's a2a configuration. Args: agent: The Agent instance to check. Returns: A2AServerConfig if
lib/crewai/src/crewai/a2a/utils/agent_card.py:83
↓ 3 callersFunction_getattr_for
Build a getattr side_effect that resolves the patched tool name to ``tool_cls`` while delegating every other lookup (e.g. the ``is_deprecated_
lib/crewai-tools/tests/test_generate_tool_specs.py:11
↓ 3 callersMethod_has_existing_data
True when either shard already holds persisted records.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:187
↓ 3 callersFunction_has_poetry_lockfile
Return True when the project has a Poetry lockfile.
lib/cli/src/crewai_cli/run_crew.py:387
↓ 3 callersFunction_has_uv_lockfile
Return True when the project has a uv lockfile.
lib/cli/src/crewai_cli/run_crew.py:381
↓ 3 callersFunction_is_chat_model
Heuristically reject embedding/audio/image/etc. models by their id.
lib/cli/src/crewai_cli/model_catalog.py:483
↓ 3 callersFunction_is_conversational_flow
(flow_class: type)
lib/crewai/src/crewai/flow/dsl/_utils.py:58
↓ 3 callersFunction_is_interactive
()
lib/cli/src/crewai_cli/tui_picker.py:22
↓ 3 callersMethod_is_public_turn_result
Whether a handler's return value should become the assistant reply. Declarative ``agent`` and ``crew`` actions return ``LiteAgentOutput`` /
lib/crewai/src/crewai/flow/conversational_mixin.py:1466
↓ 3 callersFunction_is_relative_to
(path: Path, root: Path)
lib/crewai/src/crewai/project/json_loader.py:837
↓ 3 callersFunction_is_test_environment
Detect if we're running in a test environment.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:186
↓ 3 callersFunction_json_schema_valid
Return True if *instance* validates against *schema*.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:25
↓ 3 callersMethod_locked
Return a cross-process lock context manager, or nullcontext if no lock name.
lib/crewai/src/crewai/rag/chromadb/client.py:78
↓ 3 callersMethod_login_to_tool_repository
(self)
lib/cli/src/crewai_cli/authentication/main.py:27
↓ 3 callersFunction_looks_like_windows_absolute_path
(value: str)
lib/crewai/src/crewai/project/json_loader.py:1792
↓ 3 callersMethod_make_agent_state
(self)
lib/crewai/tests/test_checkpoint.py:656
↓ 3 callersMethod_make_batch_manager
Create a TraceBatchManager with a pre-set trace_batch_id (simulating first-time user).
lib/crewai/tests/tracing/test_tracing.py:1077
↓ 3 callersFunction_make_formatter
(monkeypatch)
lib/crewai/tests/utilities/test_console_formatter_tui_mode.py:9
↓ 3 callersMethod_make_handler_with_manager
Create a FirstTimeTraceHandler wired to a TraceBatchManager.
lib/crewai/tests/tracing/test_tracing.py:1325
↓ 3 callersFunction_make_key
Create a cache key from file hash and provider.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:55
↓ 3 callersMethod_make_messages_for_n_chunks
Build a message list that will produce exactly *n* chunks. Each message has 400 chars (~100 tokens). With max_tokens=100 returned by
lib/crewai/tests/utilities/test_agent_utils.py:925
↓ 3 callersMethod_mark_todo_running
(self, todo: TodoItem)
lib/crewai/src/crewai/experimental/agent_executor.py:491
↓ 3 callersFunction_merge_flow_method_definition
( wrapper: FlowMethod[P, R], definition: FlowMethodDefinition, )
lib/crewai/src/crewai/flow/dsl/_utils.py:110
↓ 3 callersFunction_module_is_project_local
(module: Any, project_root: Path)
lib/crewai/src/crewai/project/json_loader.py:825
↓ 3 callersFunction_normalize_messages_for_chunking
Return non-system messages with oversized entries split to fit max_tokens.
lib/crewai/src/crewai/utilities/agent_utils.py:929
↓ 3 callersMethod_observe_completed_step
Observe a completed step via LLM or a lightweight heuristic.
lib/crewai/src/crewai/experimental/agent_executor.py:619
↓ 3 callersMethod_open_deployment_page
Open the deployment show page in the user's browser when possible.
lib/cli/src/crewai_cli/deploy/main.py:221
↓ 3 callersMethod_open_shard
Open an existing shard or create a new one at *path*.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:153
↓ 3 callersFunction_poll_pr_until_merged
Poll a GitHub PR until it is merged. Exit if closed without merging. Args: branch_name: Branch name to look up the PR. label: Hum
lib/devtools/src/crewai_devtools/cli.py:832
↓ 3 callersMethod_pop_task_state
Return the start-time state for a completion/failure event's task. Tasks can run async/overlapping, so the event's task identity is m
lib/cli/src/crewai_cli/crew_run_tui.py:1835
↓ 3 callersMethod_prepare_completion_params
( self, messages: list[LLMMessage], tools: list[dict[str, Any]] | None = None )
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:344
↓ 3 callersMethod_prepare_git_repository
Prepare Git for deploy while preserving remote deploy when possible.
lib/cli/src/crewai_cli/deploy/main.py:389
↓ 3 callersFunction_prune_sqlite
(db_path: str, keep: int | None, older_than: timedelta | None)
lib/cli/src/crewai_cli/checkpoint_cli.py:673
↓ 3 callersFunction_python_reference_definition_errors
( defn: dict[str, Any], source: str | Path, )
lib/crewai/src/crewai/project/json_loader.py:1226
↓ 3 callersFunction_read_json
(path: Path)
lib/cli/src/crewai_cli/model_catalog.py:583
↓ 3 callersMethod_register_handler
Register a handler for the given event type. Args: event_type: The event class to listen for handler: The handler fun
lib/crewai/src/crewai/events/event_bus.py:217
↓ 3 callersMethod_release_sandbox
(self, sandbox: Any, should_delete: bool)
lib/crewai-tools/src/crewai_tools/tools/daytona_sandbox_tool/daytona_base_tool.py:172
↓ 3 callersMethod_release_sandbox
(self, sandbox: Any, should_kill: bool)
lib/crewai-tools/src/crewai_tools/tools/e2b_sandbox_tool/e2b_base_tool.py:171
↓ 3 callersMethod_remember_responses_only_model
Record that this model must use the Responses API.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1722
↓ 3 callersFunction_reset
()
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:227
↓ 3 callersFunction_resolve_callable_fields
( kwargs: dict[str, Any], source: str | Path, *, scalar_fields: set[str], list_fields: set
lib/crewai/src/crewai/project/json_loader.py:1506
↓ 3 callersFunction_resolve_crew_inputs
Resolve kickoff inputs for a declarative crew. Mirrors the declarative-flow experience (``_resolve_flow_inputs``): layers ``--inputs`` over t
lib/cli/src/crewai_cli/run_crew.py:180
↓ 3 callersFunction_resolve_crew_skills
Resolve crew-level skill paths once so agents don't repeat the work.
lib/crewai/src/crewai/crews/utils.py:57
↓ 3 callersFunction_resolve_object_reference_fields
( kwargs: dict[str, Any], source: str | Path, fields: set[str], project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1447
↓ 3 callersFunction_resolve_result
Resolve a potentially async result to its value.
lib/crewai/src/crewai/project/wrappers.py:140
← previousnext →1,101–1,200 of 14,804, ranked by callers