MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

↓ 3 callersFunction_do_checkpoint
Write a checkpoint and prune old ones if configured.
lib/crewai/src/crewai/state/checkpoint_listener.py:113
↓ 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:1917
↓ 3 callersMethod_effective_internal_routes
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:1567
↓ 3 callersFunction_encrypted
HTTPS, or plain HTTP to this machine — the rule `TraceGrantClient` already applies to collector grants (localhost, its subdomains, loopback addres
lib/cli/src/crewai_cli/experimental/eval_crew.py:738
↓ 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:164
↓ 3 callersFunction_entity_icon
(etype: str)
lib/cli/src/crewai_cli/checkpoint_tui.py:115
↓ 3 callersFunction_env_file
The `.env` crewAI loads for the project: the nearest one at or above it, as python-dotenv's `find_dotenv` finds it from the project's venv.
lib/cli/src/crewai_cli/api_keys.py:513
↓ 3 callersFunction_ephemeral_user
(text: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:1170
↓ 3 callersFunction_event_types
(handled)
lib/crewai/tests/tracing/test_skill_used_tracing.py:41
↓ 3 callersFunction_execute_declarative_flow_command
Run COMMAND in the project's environment. Args: command: The `uv run crewai ...` command to run. counted_run: COMMAND is a `crewa
lib/cli/src/crewai_cli/run_declarative_flow.py:575
↓ 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:3171
↓ 3 callersMethod_execute_single_native_tool_call
Execute a single native tool call and return metadata/result.
lib/crewai/src/crewai/agents/agent_executor.py:2231
↓ 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:2837
↓ 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:1586
↓ 3 callersFunction_exit_without_chat_terminal
Explain how to drive a conversational flow headless, then exit 1. The chat TUI would block on a terminal that is not there. Callers check ``i
lib/cli/src/crewai_cli/kickoff_flow.py:120
↓ 3 callersFunction_expect_object
(value: Any, source: str | Path)
lib/crewai/src/crewai/project/json_loader.py:655
↓ 3 callersMethod_export_output
( self, result: str | BaseModel )
lib/crewai/src/crewai/task.py:1287
↓ 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:3180
↓ 3 callersMethod_extract_claude_tool_result_ids
(message: LLMMessage)
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:311
↓ 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:1359
↓ 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:794
↓ 3 callersMethod_extract_tools_from_message_history
Extract tool definitions from toolUse blocks in message history. When no tools are passed but messages contain toolUse, we need to re
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2078
↓ 3 callersFunction_failure_message
The one-line reason a tool call failed, or None when it succeeded.
lib/crewai/src/crewai/telemetry/tracing/handlers.py:1359
↓ 3 callersFunction_fake_run
(recorded: list[list[str]], status: str)
lib/devtools/tests/test_release_catalog_phase.py:22
↓ 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:428
↓ 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_final_answer_response
(text: str)
lib/crewai/tests/llms/anthropic/test_anthropic.py:2169
↓ 3 callersFunction_find_local_crewai_source_dir
Return the repo's CrewAI source dir when running from a source checkout.
lib/cli/src/crewai_cli/run_crew.py:587
↓ 3 callersFunction_finished_span
()
lib/crewai-core/tests/test_telemetry_export_logs.py:33
↓ 3 callersMethod_format_prompt
Format prompt template with input values. Args: prompt: Template string. inputs: Values to substitute. Retur
lib/crewai/src/crewai/agents/agent_executor.py:3539
↓ 3 callersFunction_format_size
(size: int)
lib/cli/src/crewai_cli/checkpoint_cli.py:209
↓ 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:924
↓ 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 callersMethod_get_execution_start_index
(self, tasks: list[Task])
lib/crewai/src/crewai/crew.py:1578
↓ 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:364
↓ 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:2146
↓ 3 callersFunction_get_linux_machine_id
()
lib/crewai/src/crewai/events/listeners/tracing/utils.py:328
↓ 3 callersMethod_get_max_replans
Get max replans from planning config or default to 3.
lib/crewai/src/crewai/agents/agent_executor.py:759
↓ 3 callersMethod_get_native_provider
Get native provider class if available.
lib/crewai/src/crewai/llm.py:658
↓ 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:223
↓ 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/agents/agent_executor.py:745
↓ 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 callersMethod_get_sync_client
(self)
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:352
↓ 3 callersMethod_get_uploader
Get or create an uploader for a provider. Args: provider: Provider name. Returns: FileUploader instance for
lib/crewai-files/src/crewai_files/resolution/resolver.py:615
↓ 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_handle_non_streaming_response
Handle a non-streaming response from the LLM. Args: params: Parameters for the completion call callbacks: Optional li
lib/crewai/src/crewai/llm.py:1287
↓ 3 callersMethod_handle_streaming_converse
Handle streaming converse API call with comprehensive event handling.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:993
↓ 3 callersMethod_handle_streaming_responses
Handle streaming Responses API call.
lib/crewai/src/crewai/llms/providers/openai/completion.py:1527
↓ 3 callersMethod_has_existing_data
True when either shard already holds persisted records.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:188
↓ 3 callersFunction_has_poetry_lockfile
Return True when the project has a Poetry lockfile.
lib/cli/src/crewai_cli/run_crew.py:542
↓ 3 callersFunction_has_project_file
(project_root: Path | None = None)
lib/cli/src/crewai_cli/run_declarative_flow.py:615
↓ 3 callersFunction_has_uv_lockfile
Return True when the project has a uv lockfile.
lib/cli/src/crewai_cli/run_crew.py:536
↓ 3 callersMethod_infer_provider_from_model
Infer the provider from the model name. This method first checks the hardcoded constants list for known models. If not found, it uses
lib/crewai/src/crewai/llm.py:614
↓ 3 callersFunction_info_json_file
(path: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:280
↓ 3 callersFunction_info_json_latest
(location: str)
lib/cli/src/crewai_cli/checkpoint_cli.py:262
↓ 3 callersMethod_invoke_loop
Run the agent's thought process until it reaches a conclusion or max iterations. Args: response_model: Optional Pydantic
lib/crewai/src/crewai/lite_agent.py:915
↓ 3 callersFunction_invoke_update
()
lib/cli/tests/test_update_crew.py:123
↓ 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:24
↓ 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:1635
↓ 3 callersFunction_is_relative_to
(path: Path, root: Path)
lib/crewai/src/crewai/project/json_loader.py:890
↓ 3 callersFunction_item_needing_fields
()
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:25
↓ 3 callersFunction_json_schema_valid
Return True if *instance* validates against *schema*.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:25
↓ 3 callersFunction_kickoff_ticket_crew
( llm: _DeferringLLM, *, follow_up: bool, use_async: bool )
lib/crewai/tests/agents/test_agent_executor.py:3091
↓ 3 callersFunction_limits
(q: Query)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:541
↓ 3 callersFunction_load
Load exact local bytes through the public loader entry point.
lib/crewai-tools/tests/rag/test_json_loader_bom.py:8
↓ 3 callersFunction_load_project_env
The project's .env, as `crewai run` loads it — so CREWAI_PLUS_URL here is the one the run used — with `crewai eval`'s token left as it was, and th
lib/cli/src/crewai_cli/experimental/eval_crew.py:795
↓ 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:82
↓ 3 callersFunction_looks_like_windows_absolute_path
(value: str)
lib/crewai/src/crewai/project/json_loader.py:1847
↓ 3 callersMethod_make_agent_state
(self)
lib/crewai/tests/test_checkpoint.py:706
↓ 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:871
↓ 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:1119
↓ 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 callersFunction_make_older
(path: Path, than: Path)
lib/cli/tests/deploy/test_validate.py:337
↓ 3 callersFunction_make_task
Build a minimal task whose id and key are enough for the storage layer.
lib/crewai/tests/storage/test_kickoff_task_outputs_storage.py:18
↓ 3 callersMethod_mark_todo_running
(self, todo: TodoItem)
lib/crewai/src/crewai/agents/agent_executor.py:678
↓ 3 callersFunction_mcp_server_label
(server_name: str | None, server_url: str | None)
lib/crewai/src/crewai/telemetry/tracing/handlers.py:3195
↓ 3 callersFunction_merge_flow_method_definition
( wrapper: FlowMethod[P, R], definition: FlowMethodDefinition, )
lib/crewai/src/crewai/flow/dsl/_utils.py:110
↓ 3 callersMethod_messages_contain_tool_content
Check if messages contain toolUse or toolResult content blocks. Bedrock requires toolConfig when messages have tool-related content.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:2063
↓ 3 callersFunction_module_is_project_local
(module: Any, project_root: Path)
lib/crewai/src/crewai/project/json_loader.py:878
↓ 3 callersMethod_observe_completed_step
Observe a completed step via LLM or a lightweight heuristic.
lib/crewai/src/crewai/agents/agent_executor.py:806
↓ 3 callersMethod_offers_reasoning_effort_none
Whether the tools 400 offers `reasoning_effort="none"` as a way out. Bedrock's OpenAI-compatible endpoint names only /v1/responses for GPT-6
lib/crewai/src/crewai/llms/providers/openai/completion.py:2063
↓ 3 callersMethod_on_compatible_server
Whether requests go to an OpenAI-compatible server rather than OpenAI. Decided by where the client actually points -- an explicit ``base_url`
lib/crewai/src/crewai/llms/providers/openai/completion.py:2143
↓ 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:364
↓ 3 callersMethod_open_report
(self, url: str)
lib/cli/src/crewai_cli/crew_run_tui.py:1729
↓ 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:154
↓ 3 callersMethod_parse_vision_sentinel
Parse a VISION_IMAGE sentinel into (media_type, base64_data), or None.
lib/crewai/src/crewai/agents/step_executor.py:511
↓ 3 callersFunction_patch_tui_run
Stub the TUI pieces of _run_json_crew so only exit handling runs.
lib/cli/tests/test_run_crew.py:753
↓ 3 callersFunction_pick_model
(monkeypatch: MonkeyPatch, model: str)
lib/cli/tests/test_create_flow.py:141
↓ 3 callersFunction_pipeline
Built inside each test, after any env change: the SDK reads its span limits when the provider is constructed.
lib/crewai/tests/telemetry/test_span_attribute_bound.py:76
↓ 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:820
← previousnext →1,601–1,700 of 19,264, ranked by callers