MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions13,938 in github.com/crewAIInc/crewAI

↓ 3 callersMethod__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/task_events.py:55
↓ 3 callersMethod_acall_completions
Async call to OpenAI Chat Completions API. Falls back to the Responses API for models not served by chat completions, mirroring :meth
lib/crewai/src/crewai/llms/providers/openai/completion.py:630
↓ 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:3286
↓ 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:1425
↓ 3 callersMethod_bind_runtime_state
(self, *event_dicts: dict[str, object])
lib/crewai/tests/events/test_event_context.py:192
↓ 3 callersMethod_build_route_catalog
( self, router_config: RouterConfig | None, )
lib/crewai/src/crewai/experimental/conversational_mixin.py:1025
↓ 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:780
↓ 3 callersMethod_clear_or_listeners
Clear fired OR listeners for cyclic flows.
lib/crewai/src/crewai/flow/runtime/__init__.py:1009
↓ 3 callersMethod_clear_scroll
(self, tab_id: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:474
↓ 3 callersMethod_coerce_llm
(llm: str | BaseLLM | Any)
lib/crewai/src/crewai/experimental/conversational_mixin.py:1174
↓ 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:1822
↓ 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_conversation_flow_definition
(self)
lib/crewai/src/crewai/experimental/conversational_mixin.py:777
↓ 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:1759
↓ 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:1877
↓ 3 callersFunction_emit
Run one telemetry span method against a mocked tracer. The singleton is reset first: it caches the provider built on the very first construct
lib/crewai/tests/telemetry/test_telemetry.py:311
↓ 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:961
↓ 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:3025
↓ 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:2699
↓ 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:1548
↓ 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:1191
↓ 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:2692
↓ 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:1329
↓ 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:644
↓ 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_messages_for_gemini
Format messages for Gemini API. Gemini has specific requirements: - System messages are separate system_instruction - Content
lib/crewai/src/crewai/llms/providers/gemini/completion.py:548
↓ 3 callersMethod_format_messages_for_provider
Format messages according to provider requirements. Args: messages: List of message dictionaries with 'role' and 'content' keys.
lib/crewai/src/crewai/llm.py:2311
↓ 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:3199
↓ 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:1974
↓ 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:490
↓ 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:2005
↓ 3 callersMethod_get_knowledge_search_query
Generate a search query for the knowledge base based on the task description.
lib/crewai/src/crewai/agent/core.py:1368
↓ 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:532
↓ 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:518
↓ 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 callersMethod_is_conversational
(cls)
lib/crewai/src/crewai/experimental/conversational_mixin.py:793
↓ 3 callersMethod_is_conversational_enabled
(self)
lib/crewai/src/crewai/experimental/conversational_mixin.py:797
↓ 3 callersFunction_is_conversational_flow
(flow_class: type)
lib/crewai/src/crewai/flow/dsl/_utils.py:57
↓ 3 callersFunction_is_interactive
()
lib/cli/src/crewai_cli/tui_picker.py:22
↓ 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:1076
↓ 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:1324
↓ 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:698
↓ 3 callersMethod_mark_todo_running
(self, todo: TodoItem)
lib/crewai/src/crewai/experimental/agent_executor.py:451
↓ 3 callersFunction_merge_flow_method_definition
( wrapper: FlowMethod[P, R], definition: FlowMethodDefinition, )
lib/crewai/src/crewai/flow/dsl/_utils.py:109
↓ 3 callersFunction_module_is_project_local
(module: Any, project_root: Path)
lib/crewai/src/crewai/project/json_loader.py:825
↓ 3 callersMethod_observe_completed_step
Observe a completed step via LLM or a lightweight heuristic.
lib/crewai/src/crewai/experimental/agent_executor.py:579
↓ 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:220
↓ 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:1831
↓ 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:367
↓ 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:1706
← previousnext →1,001–1,100 of 13,938, ranked by callers