Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,757 in github.com/crewAIInc/crewAI
⨍
Functions
20,757
◇
Types & classes
3,596
↳
Endpoints
1,012
↓ 5 callers
Method
handle_task_started
Show task started panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:289
↓ 5 callers
Function
in_temp_dir
()
lib/cli/tests/tools/test_main.py:21
↓ 5 callers
Function
inline
(reference: str, text: str)
lib/crewai-files/tests/spreadsheets/test_reading.py:713
↓ 5 callers
Method
is_batch_initialized
Check if batch is initialized
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:501
↓ 5 callers
Function
keyless_json_crew
A JSON crew crewAI builds for real, with no key set for LLM's provider.
lib/cli/tests/test_run_usage.py:1307
↓ 5 callers
Method
kickoff
(self, inputs: dict[str, str])
lib/cli/tests/test_create_flow.py:657
↓ 5 callers
Method
kickoff_async
Start the flow execution asynchronously. This method performs state restoration (if an 'id' is provided and persistence is available)
lib/crewai/src/crewai/flow/runtime/__init__.py:2210
↓ 5 callers
Method
kill
(self)
lib/cli/tests/test_cli.py:439
↓ 5 callers
Function
line_to_add
(folder: Path, name: str)
lib/cli/tests/test_run_usage.py:1313
↓ 5 callers
Method
list_scopes
List immediate child scopes under path. Args: path: Scope path to list children of. If None and root_scope is set,
lib/crewai/src/crewai/memory/unified_memory.py:933
↓ 5 callers
Method
list_tools
List available tools from MCP server. Args: use_cache: Whether to use cached results. If None, uses client's cach
lib/crewai/src/crewai/mcp/client.py:406
↓ 5 callers
Method
list_triggers
List all available triggers from integrations.
lib/cli/src/crewai_cli/triggers/main.py:23
↓ 5 callers
Function
load_artifact
Read back an artifact this run saved: ``version``, or the latest one.
lib/crewai/src/crewai/artifacts.py:406
↓ 5 callers
Function
load_from_url
Load content from a URL. Args: url: The URL to fetch content from kwargs: Additional keyword arguments (can include 'headers' ove
lib/crewai-tools/src/crewai_tools/rag/loaders/utils.py:6
↓ 5 callers
Function
load_project_env
The project's `.env` over this process's environment, with two exceptions. `crewai eval`'s token: the token this process was started with is
lib/cli/src/crewai_cli/run_crew.py:916
↓ 5 callers
Function
lock
Acquire a named lock, yielding while it is held. Args: name: A human-readable lock name (e.g. ``"chromadb_init"``). The bui
lib/crewai-core/src/crewai_core/lock_store.py:80
↓ 5 callers
Function
main
Entry point for the CLI.
lib/devtools/src/crewai_devtools/cli.py:2618
↓ 5 callers
Function
make_not_found
(message: str, code: str | None = None)
lib/crewai/tests/llms/openai/test_responses_only_models.py:38
↓ 5 callers
Method
monotonic
(self)
lib/cli/tests/authentication/test_login_usage.py:116
↓ 5 callers
Method
on_tool_use
Record a tool usage event in the current trace. Args: tool_name: Name of the tool used. tool_args: Arguments passed t
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:230
↓ 5 callers
Function
origin_of
(url: str)
lib/crewai-core/src/crewai_core/auth/placeholder.py:79
↓ 5 callers
Function
planned_crew
(llm: BaseLLM, description: str)
lib/crewai/tests/agents/test_agent_spreadsheets.py:686
↓ 5 callers
Function
prepare_kickoff
Prepare crew for kickoff execution. Handles before callbacks, event emission, task handler reset, input interpolation, task callbacks, agent
lib/crewai/src/crewai/crews/utils.py:243
↓ 5 callers
Method
process_files
Process multiple files according to constraints. Args: files: Dictionary mapping names to file inputs. Returns:
lib/crewai-files/src/crewai_files/processing/processor.py:159
↓ 5 callers
Method
process_response_with_all
Process response through all registered extensions. Args: agent_response: The parsed agent response. extension_states
lib/crewai/src/crewai/a2a/extensions/base.py:233
↓ 5 callers
Function
process_task_state
Process A2A task state and return result dictionary. Shared logic for both polling and streaming handlers. Args: a2a_task: The A2A t
lib/crewai/src/crewai/a2a/task_helpers.py:138
↓ 5 callers
Function
prune_checkpoints
( location: str, keep: int | None, older_than: str | None, dry_run: bool = False )
lib/cli/src/crewai_cli/checkpoint_cli.py:707
↓ 5 callers
Method
read
Retrieve a cached tool result. Args: tool: Name of the tool. input: Input string used for the tool. Returns:
lib/crewai/src/crewai/agents/cache/cache_handler.py:46
↓ 5 callers
Function
recorded_tool_name
The tool_name the code under test handed to telemetry.
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:71
↓ 5 callers
Method
remove_crew
Remove a crew deployment. Args: uuid (Optional[str]): The UUID of the crew to remove.
lib/cli/src/crewai_cli/deploy/main.py:938
↓ 5 callers
Method
render
({ ctx, id, x, y })
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:82
↓ 5 callers
Method
request_input
Request user input via console (blocking). Displays the prompt message with formatting and waits for the user to type their response.
lib/crewai/src/crewai/flow/async_feedback/providers.py:139
↓ 5 callers
Function
required_key_names
Return the upper-cased ``ENV_VARS`` names ``provider`` needs set to run. Entries with a runtime default are left out, and so is azure's and c
lib/cli/src/crewai_cli/constants.py:223
↓ 5 callers
Method
reset
Clear all stored task outputs.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:79
↓ 5 callers
Function
resolve_plus_response
Return ``response``, awaiting it first when the client is async. Args: response: A response, or an awaitable resolving to one. Retur
lib/crewai/src/crewai/utilities/agent_utils.py:108
↓ 5 callers
Function
resolve_ref
Return the Python symbol named by a project definition field.
lib/crewai/src/crewai/utilities/declarative_refs.py:41
↓ 5 callers
Method
resume_async
Async version of resume. Resume flow execution, optionally with human feedback asynchronously. Args: feedback: The human
lib/crewai/src/crewai/flow/runtime/__init__.py:1412
↓ 5 callers
Function
route
(decision, expected="billing", **extra)
lib/crewai/tests/test_jev_evaluation_runner.py:112
↓ 5 callers
Method
run
(self, *args: Any, **kwargs: Any)
lib/crewai/src/crewai/flow/runtime/_actions.py:73
↓ 5 callers
Function
run_after_tool_call_hooks
Run all ``post_tool_call`` hooks against a context. Returns: The (possibly modified) tool result carried on the context.
lib/crewai/src/crewai/hooks/tool_hooks.py:193
↓ 5 callers
Function
run_awaited_by_evaluation
Was this run started by `crewai eval`, to be evaluated?
lib/crewai-core/src/crewai_core/eval_handshake.py:76
↓ 5 callers
Function
run_before_tool_call_hooks
Run all ``pre_tool_call`` hooks against a context. Returns: True if a hook blocked execution (returned False or raised :class:`Ho
lib/crewai/src/crewai/hooks/tool_hooks.py:173
↓ 5 callers
Function
running_with
(*stopped)
lib/cli/tests/experimental/test_eval_crew.py:1855
↓ 5 callers
Function
sanitize_tool_params_for_openai_strict
Sanitize a JSON schema for OpenAI strict function calling.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:618
↓ 5 callers
Method
save
(self, documents: list[str])
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:163
↓ 5 callers
Function
saved_token
()
lib/crewai/tests/telemetry/test_placeholder_traces.py:209
↓ 5 callers
Function
set_rag_config
Set global RAG client configuration and instantiate the client. Args: config: The RAG client configuration (ChromaDBConfig).
lib/crewai/src/crewai/rag/config/utils.py:27
↓ 5 callers
Function
should_auto_collect_first_time_traces
True if we should auto-collect traces for first-time user. Returns: True if first-time user AND telemetry not disabled AND tracing not ex
lib/crewai/src/crewai/events/listeners/tracing/utils.py:513
↓ 5 callers
Method
shutdown
(self)
lib/crewai/src/crewai/telemetry/tracing/ephemeral.py:224
↓ 5 callers
Method
store
Persist content and return its internal binding details. Args: content: Tool result text to store. estimated_token_co
lib/crewai/src/crewai/utilities/tool_result_artifacts.py:64
↓ 5 callers
Function
store_task_files
Store files for a task execution. Args: task_id: Unique identifier for the task. files: Dictionary mapping names to file inputs.
lib/crewai/src/crewai/utilities/file_store.py:214
↓ 5 callers
Method
stream
()
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:721
↓ 5 callers
Function
strip_null_from_types
Remove null type from anyOf/type arrays. Pydantic generates `T | None` for optional fields, which creates schemas with null in the type. Howe
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:465
↓ 5 callers
Method
stub_sync
( self, llm: BedrockCompletion, monkeypatch: pytest.MonkeyPatch, text: str = A
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:116
↓ 5 callers
Function
system_prompt
(llm, call=0)
lib/crewai/tests/agents/test_agent_state.py:84
↓ 5 callers
Function
temp_csv_file
()
lib/crewai-tools/tests/rag/test_csv_loader.py:12
↓ 5 callers
Function
to_langchain
Convert a list of tools to CrewStructuredTool instances.
lib/crewai/src/crewai/tools/base_tool.py:701
↓ 5 callers
Method
tools
Retrieve a tool prompt by key. Args: tool: The key of the tool prompt to retrieve. Returns: The tool prompt
lib/crewai/src/crewai/utilities/i18n.py:78
↓ 5 callers
Function
triggered_by_scope
Context manager to set the triggering event ID for causal chain tracking. All events emitted within this context will have their triggered_by_eve
lib/crewai/src/crewai/events/event_context.py:119
↓ 5 callers
Function
validate_directory_path
Validate that a directory path is safe to read. Same as :func:`validate_file_path` but also checks that the path is an existing directory.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:144
↓ 5 callers
Function
validate_file
Validate a file against provider constraints. Dispatches to the appropriate validator based on file type. Args: file: The file to va
lib/crewai-files/src/crewai_files/processing/validators.py:522
↓ 5 callers
Function
validate_model
Validate and convert a JSON string to a Pydantic model or dict. Args: result: The JSON string to validate and convert. model: The
lib/crewai/src/crewai/utilities/converter.py:286
↓ 5 callers
Function
write_env_file
Writes environment variables to a gitignored .env file for local use. The file holds API keys, so it is written owner-only, an existing one is
lib/cli/src/crewai_cli/utils.py:270
↓ 4 callers
Method
__init__
(self)
lib/crewai/tests/test_flow.py:528
↓ 4 callers
Function
_a_run_that_exits
`run_crew` printing an error, then exiting with CODE, as the JSON crew, declarative flow and agent paths do when their run fails.
lib/cli/tests/experimental/test_eval_crew.py:5146
↓ 4 callers
Method
_acall_handlers
Asynchronously call provided async handlers. Args: source: The object that emitted the event event: The event instanc
lib/crewai/src/crewai/events/event_bus.py:429
↓ 4 callers
Method
_aexecute_tasks
Executes tasks using native async and returns the final output. Args: tasks: List of tasks to execute start_index: In
lib/crewai/src/crewai/crew.py:1369
↓ 4 callers
Method
_aexport_output
Async equivalent of ``_export_output`` — uses ``acall`` so the event loop is not blocked.
lib/crewai/src/crewai/task.py:1344
↓ 4 callers
Function
_an_untraced_run_in
The app at the end of a run that was not traced, in a project whose `.env` is ENV and whose runs trace to this machine's own AMP; what it push
lib/cli/tests/test_crew_run_tui.py:3059
↓ 4 callers
Function
_answer
(status: int, body: dict[str, Any], url: str)
lib/cli/tests/authentication/test_login_usage.py:62
↓ 4 callers
Function
_answer
(status: int, body: dict[str, Any], url: str)
lib/crewai/tests/cli/authentication/test_login_usage.py:62
↓ 4 callers
Function
_answer_key_prompts
Answer API-key prompts in order and record each prompt's text and options.
lib/cli/tests/test_create_flow.py:145
↓ 4 callers
Function
_assert_history_tools_declared_and_disabled
Anthropic rejects tool_use/tool_result blocks in a request without tools.
lib/crewai/tests/llms/anthropic/test_anthropic.py:2267
↓ 4 callers
Function
_assert_tool_call_usage
(event: LLMCallCompletedEvent)
lib/crewai/tests/test_llm_litellm_usage_events.py:122
↓ 4 callers
Function
_awaiting_dir
This user's crewAI data directory, found from the account's home in the account database, never from `HOME` or `XDG_DATA_HOME`: a project's `.env`
lib/cli/src/crewai_cli/crew_run_tui.py:418
↓ 4 callers
Function
_bad_request
(message: str, param: str = "reasoning_effort")
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:67
↓ 4 callers
Function
_blank
(value: Cell)
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:619
↓ 4 callers
Function
_build
(**kwargs: object)
lib/crewai/tests/utilities/test_prompts_custom_templates.py:16
↓ 4 callers
Method
_build_collection_params
Build collection params, sizing vectors from the embedder when possible. When ``vectors_config`` is not given and the embedding function expo
lib/crewai/src/crewai/rag/qdrant/client.py:73
↓ 4 callers
Method
_build_config
Build an EdgeConfig for the given vector dimensionality.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:148
↓ 4 callers
Method
_build_messages
(self)
lib/crewai/src/crewai/utilities/converter.py:48
↓ 4 callers
Function
_build_rag_config
Build a RAG config for ``provider`` around a CrewAI embedding function. When ``base_config`` is the active config for the same provider, its
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:26
↓ 4 callers
Method
_build_s3_uri
Build an S3 URI from a key. Args: key: The S3 object key. Returns: S3 URI string.
lib/crewai-files/src/crewai_files/uploaders/bedrock.py:215
↓ 4 callers
Function
_capture_events
(run)
lib/crewai/tests/test_artifacts.py:263
↓ 4 callers
Method
_chat
(handler_result: Any)
lib/crewai/tests/test_flow_conversation.py:3703
↓ 4 callers
Function
_chunks
(text: str, chunk_size: int, chunk_overlap: int)
lib/crewai/tests/knowledge/test_knowledge_chunking.py:8
↓ 4 callers
Method
_claim_usage
Atomically check max usage and increment the counter. Returns: None if usage was claimed, otherwise a :class:`ToolFailure`. A
lib/crewai/src/crewai/tools/base_tool.py:337
↓ 4 callers
Method
_cleanup_deferred_tool_results
Remove temporary tool-result files and their reader aliases.
lib/crewai/src/crewai/agents/agent_executor.py:427
↓ 4 callers
Function
_cleanup_real_tool
(tool: OracleVectorSearchTool)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:166
↓ 4 callers
Function
_cli_args
Arguments of a documented `crewai …` line, with `<placeholder>` values filled.
lib/cli/tests/test_create_crew.py:2684
↓ 4 callers
Function
_coerce_int
(value: Any)
lib/crewai/src/crewai/types/usage_metrics.py:13
↓ 4 callers
Function
_collected
The single collected trace event of `event_type`.
lib/crewai/tests/tracing/test_trace_human_feedback_events.py:64
↓ 4 callers
Method
_complete_step
(self, style: str, message: str, detail: str = "")
lib/cli/src/crewai_cli/crew_run_tui.py:2503
↓ 4 callers
Function
_condition_branches
( condition: dict[str, Any], )
lib/crewai/src/crewai/flow/runtime/__init__.py:176
↓ 4 callers
Method
_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:2618
↓ 4 callers
Function
_conversation_agent
()
lib/crewai/tests/telemetry/test_tracer_isolation.py:197
↓ 4 callers
Method
_convert_tools_for_interference
Convert tools to a format that can be used for interference. Args: tools: List of tools to convert. Returns:
lib/crewai/src/crewai/llms/base_llm.py:649
↓ 4 callers
Function
_copy_method_metadata
Copy metadata from original function to wrapper. Args: wrapper: The wrapper object to copy metadata to original: The original fun
lib/crewai/src/crewai/hooks/wrappers.py:15
↓ 4 callers
Method
_copy_state
Create a copy of the current state. Returns: A copy of the current state
lib/crewai/src/crewai/flow/runtime/__init__.py:1848
↓ 4 callers
Function
_count_usage
One usage count, never more: a word from a closed list, nothing that names the run, the account or its content.
lib/cli/src/crewai_cli/experimental/eval_crew.py:324
← previous
next →
1,301–1,400 of 20,757, ranked by callers