Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,735 in github.com/crewAIInc/crewAI
⨍
Functions
19,735
◇
Types & classes
3,466
↳
Endpoints
994
↓ 3 callers
Function
pick_many
( title: str, labels: list[str], *, separator_indices: set[int] | None = None, preselected
lib/cli/src/crewai_cli/tui_picker.py:565
↓ 3 callers
Function
pick_one
Arrow-key single-select from plain labels. Returns: Selected index, or ``-1`` if cancelled.
lib/cli/src/crewai_cli/tui_picker.py:547
↓ 3 callers
Method
print_crew_evaluation_result
Prints the evaluation result of the crew in a table. A Crew with 2 tasks using the command crewai test -n 3 will output the f
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:96
↓ 3 callers
Function
process_config
Process the config dictionary and update the values accordingly. Args: values: The dictionary of values to update. model_class: T
lib/crewai/src/crewai/utilities/config.py:6
↓ 3 callers
Function
process_llm_response
Process the LLM response and format it into an AgentAction or AgentFinish. Args: answer: The raw response from the LLM use_stop_w
lib/crewai/src/crewai/utilities/agent_utils.py:866
↓ 3 callers
Method
project_created_span
(self, kind: str, project_id: str | None)
lib/cli/tests/test_create_flow.py:549
↓ 3 callers
Function
project_dir
The run's project: the working directory, as every project-local path in crewAI.
lib/crewai/src/crewai/telemetry/tracing/last_run.py:40
↓ 3 callers
Function
prompt_user_for_trace_viewing
Prompt user if they want to see their traces with timeout. Returns True if user agrees, False otherwise. ``sharing`` explicitly asks perm
lib/crewai/src/crewai/events/listeners/tracing/utils.py:550
↓ 3 callers
Method
prune
Remove oldest checkpoint files beyond *max_keep* on a branch.
lib/crewai/src/crewai/state/provider/json_provider.py:98
↓ 3 callers
Method
raise_for_status
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:175
↓ 3 callers
Method
read_chunks
Stream file content in chunks without loading entirely into memory. Args: chunk_size: Size of each chunk in bytes. Yield
lib/crewai-files/src/crewai_files/core/sources.py:274
↓ 3 callers
Function
read_spreadsheet_inputs
Download and read the spreadsheets whose URLs ``text`` holds, keeping to the URLs an enclosing run trusts. Blocks on the network and on parsi
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:155
↓ 3 callers
Method
recall
(self, *_args: Any, **_kwargs: Any)
lib/crewai/tests/hooks/test_hook_abort_propagation.py:329
↓ 3 callers
Method
remember
Store one or more items in memory. Pass a single string for synchronous save (returns the MemoryRecord). Pass a list of strings for n
lib/crewai/src/crewai/flow/runtime/__init__.py:1027
↓ 3 callers
Method
remember
Remember content; scope is relative to this scope's root.
lib/crewai/src/crewai/memory/memory_scope.py:104
↓ 3 callers
Function
remember_project_state
Keep the list of the project's files as they are for the run an evaluation is about to read, so the next `crewai eval` can tell whether the pr
lib/cli/src/crewai_cli/experimental/eval_crew.py:1080
↓ 3 callers
Method
remove
(self, tool: T)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:52
↓ 3 callers
Function
render_report
Pretty-print results to the shared rich console.
lib/cli/src/crewai_cli/deploy/validate.py:1229
↓ 3 callers
Function
render_template
Render a template file using ``{{placeholder}}`` replacements.
lib/cli/src/crewai_cli/utils.py:189
↓ 3 callers
Method
reset
(self)
lib/crewai/src/crewai/knowledge/knowledge.py:162
↓ 3 callers
Method
reset
(self)
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:149
↓ 3 callers
Method
resetEdgesToDefault
(edgeIds = null, excludeEdges = [])
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1161
↓ 3 callers
Method
reset_all
Reset the entire backing memory store, ignoring ``root_scope``.
lib/crewai/src/crewai/memory/unified_memory.py:1044
↓ 3 callers
Function
resolve_plus_client
Return the CrewAI AMP client to use, or build ``default``. Hosted runtimes install a client of their own through ``_create_plus_client_hook``
lib/crewai/src/crewai/utilities/agent_utils.py:87
↓ 3 callers
Function
restore
Write ``crew`` to a checkpoint and restore it, optionally as a checkpoint written before ``checkpoint_input_description`` existed.
lib/crewai/tests/agents/test_agent_spreadsheets.py:796
↓ 3 callers
Function
restore_machine_transport
Put the pinned proxy and CA variables back in ``environ``, dropping any set since. For a process that loads a project's .env and then starts anot
lib/crewai-core/src/crewai_core/plus_api.py:179
↓ 3 callers
Function
resume_checkpoint
(location: str, checkpoint_id: str | None)
lib/cli/src/crewai_cli/checkpoint_cli.py:483
↓ 3 callers
Method
route_by_answer_type
Route based on whether answer is AgentAction or AgentFinish. When todos are active and the LLM produces a final answer, we treat it a
lib/crewai/src/crewai/agents/agent_executor.py:1906
↓ 3 callers
Function
run
()
lib/crewai/tests/agents/test_agent_spreadsheets.py:448
↓ 3 callers
Function
run_crew
(**crew_kwargs)
lib/crewai/tests/test_tool_cache_default.py:128
↓ 3 callers
Function
run_hooks
Execute an explicit list of hooks against a context. This is the shared engine used both by :func:`dispatch` (which resolves global + scoped
lib/crewai/src/crewai/hooks/dispatch.py:295
↓ 3 callers
Function
sanitize_metadata_for_chromadb
Sanitize metadata to ensure ChromaDB compatibility. ChromaDB only accepts str, int, float, or bool values in metadata. This function converts
lib/crewai-tools/src/crewai_tools/rag/misc.py:17
↓ 3 callers
Function
sanitize_tool_params_for_anthropic_strict
Sanitize a JSON schema for Anthropic strict tool use.
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:628
↓ 3 callers
Method
save_state
Persist the flow state after method completion. Args: flow_uuid: Unique identifier for the flow instance method_name:
lib/crewai/src/crewai/flow/persistence/base.py:48
↓ 3 callers
Method
search
Search for memories by vector similarity with optional filters. Args: query_embedding: Embedding vector for the query.
lib/crewai/src/crewai/memory/storage/backend.py:56
↓ 3 callers
Method
set_callbacks
Attempt to keep a single set of callbacks in litellm by removing old duplicates and adding new ones. Note: This only affects
lib/crewai/src/crewai/llm.py:2657
↓ 3 callers
Function
set_emission_counter
Set the emission counter to resume from a given value.
lib/crewai/src/crewai/events/base_events.py:59
↓ 3 callers
Method
set_headers
(self, headers: dict[str, Any])
lib/crewai-tools/src/crewai_tools/tools/brave_search_tool/base.py:148
↓ 3 callers
Method
set_runtime_state
Set the RuntimeState that will be passed to event handlers.
lib/crewai/src/crewai/events/event_bus.py:282
↓ 3 callers
Method
set_tracer
(self)
lib/cli/tests/test_run_usage.py:137
↓ 3 callers
Function
setup_platform_tools
Validate CrewAI Platform apps among ``tools`` and return the AMP token.
lib/cli/src/crewai_cli/agent_tools.py:36
↓ 3 callers
Method
shutdown
(self)
lib/crewai-core/src/crewai_core/telemetry.py:137
↓ 3 callers
Method
shutdown
(self)
lib/crewai/tests/cli/test_project_created_span.py:28
↓ 3 callers
Method
simple_task
(self)
lib/crewai/tests/test_project.py:33
↓ 3 callers
Method
snapshot
Read under state_lock when work can still mutate state.
lib/crewai/src/crewai/experimental/flow_jobs.py:257
↓ 3 callers
Function
source_for
Provide notebook input through both file and inline source paths.
lib/crewai-tools/tests/rag/test_notebook_loader.py:14
↓ 3 callers
Method
split_text
Split the input text into chunks. Args: text: The text to split. Returns: A list of text chunks.
lib/crewai-tools/src/crewai_tools/rag/chunkers/base_chunker.py:38
↓ 3 callers
Function
spreadsheet_tools
The two spreadsheet tools, answering about ``files``, which ``urls`` (URL to name) also names.
lib/crewai/src/crewai/tools/agent_tools/spreadsheet_tools.py:257
↓ 3 callers
Function
start
Marks a method as a flow's starting point. This decorator designates a method as an entry point for the flow execution. It can optionally spe
lib/crewai/src/crewai/flow/dsl/_start.py:18
↓ 3 callers
Method
stub_async
( self, llm: BedrockCompletion, monkeypatch: pytest.MonkeyPatch, text: str = A
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:126
↓ 3 callers
Method
supports_stop_words
Check if the model supports stop words.
lib/crewai/src/crewai/llms/providers/openai/completion.py:3154
↓ 3 callers
Method
system_text
System text from the top-level ``system`` parameter, as sent.
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:158
↓ 3 callers
Method
table_exists
(self)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:656
↓ 3 callers
Method
task_failed
Records that a task execution failed and closes its span with ERROR. Failures were previously routed through ``task_ended``, which closes eve
lib/crewai/src/crewai/telemetry/telemetry.py:579
↓ 3 callers
Function
tickets_xlsx
(note: str = "")
lib/crewai/tests/agents/test_agent_spreadsheets.py:57
↓ 3 callers
Method
to_json
Convert text to json. Args: current_attempt: The current attempt number for conversion retries. Returns: A J
lib/crewai/src/crewai/utilities/converter.py:155
↓ 3 callers
Method
to_structured_tool
Convert this tool to a CrewStructuredTool instance.
lib/crewai/src/crewai/tools/base_tool.py:432
↓ 3 callers
Function
tool_result
(messages: list[dict[str, Any]])
lib/crewai/tests/agents/test_agent_spreadsheets.py:160
↓ 3 callers
Method
tool_usage_error
Records when a tool usage results in an error. Args: llm: The language model being used when the error occurred. agen
lib/crewai/src/crewai/telemetry/telemetry.py:664
↓ 3 callers
Function
total_row
The sheet row of the last row when it looks like a total of the rows above: a total label, or a numeric column whose last value is the sum of the
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:145
↓ 3 callers
Method
train
Trains the crew for a given number of iterations.
lib/crewai/src/crewai/crew.py:958
↓ 3 callers
Function
unregister_after_llm_call_hook
Unregister a specific global after_llm_call hook. Args: hook: The hook function to remove Returns: True if the hook was foun
lib/crewai/src/crewai/hooks/llm_hooks.py:339
↓ 3 callers
Function
unregister_before_llm_call_hook
Unregister a specific global before_llm_call hook. Args: hook: The hook function to remove Returns: True if the hook was fou
lib/crewai/src/crewai/hooks/llm_hooks.py:313
↓ 3 callers
Method
update_crew_from_zip
Update an existing crew deployment from a local project ZIP archive. PROJECT_ID as for `create_crew_from_zip`; FORCE redeploys even while a
lib/cli/src/crewai_cli/plus_api.py:195
↓ 3 callers
Function
uses_openai_responses_api
Return whether provider/API should use OpenAI Responses file support.
lib/crewai-files/src/crewai_files/processing/constraints.py:349
↓ 3 callers
Function
validate_directory_name
Validate that a directory name matches the skill name. Args: skill_dir: Path to the skill directory. skill_name: The declared ski
lib/crewai/src/crewai/skills/validation.py:43
↓ 3 callers
Method
validate_expression
Validate a full CEL expression without evaluating it.
lib/crewai/src/crewai/flow/expressions.py:249
↓ 3 callers
Function
validate_pdf
Validate a PDF file against constraints. Args: file: The PDF file to validate. constraints: PDF constraints to validate against.
lib/crewai-files/src/crewai_files/processing/validators.py:300
↓ 3 callers
Function
version
Show the installed version of crewai.
lib/cli/src/crewai_cli/cli.py:370
↓ 3 callers
Function
versions_match
Return True when two skill versions refer to the same version. Versions arrive as ``1.2.0`` or ``v1.2.0`` depending on whether they came from
lib/crewai/src/crewai/skills/validation.py:18
↓ 3 callers
Function
wait_for_consent
(app, pilot)
lib/cli/tests/test_trace_consent_session.py:30
↓ 3 callers
Method
with_disclosure_level
Create a new Skill at a different disclosure level. Args: level: The new disclosure level. instructions: Optional ins
lib/crewai/src/crewai/skills/models.py:151
↓ 3 callers
Function
write_eval_config
Write the criteria this run was graded on, for the project to edit. Only when the project has none: after that the file is theirs, and the one
lib/cli/src/crewai_cli/experimental/eval_crew.py:556
↓ 2 callers
Method
__del__
(self)
lib/crewai/src/crewai/rag/embeddings/providers/oracle/embedding_callable.py:115
↓ 2 callers
Method
__get__
Support the descriptor protocol for method binding. This allows the wrapped method to be properly bound to an instance when accessed
lib/crewai/src/crewai/flow/flow_wrappers.py:112
↓ 2 callers
Method
__init__
( self, chunk_size: int = 3000, chunk_overlap: int = 300, separators: list[str
lib/crewai-tools/src/crewai_tools/rag/chunkers/text_chunker.py:53
↓ 2 callers
Method
__init__
( self, chunk_size: int = 1200, chunk_overlap: int = 100, separators: list[str
lib/crewai-tools/src/crewai_tools/rag/chunkers/structured_chunker.py:5
↓ 2 callers
Method
__init__
(self, create=None, statuses=None)
lib/cli/tests/experimental/test_eval_crew.py:91
↓ 2 callers
Method
__init__
Create an MCPHTTPError. Args: status_code: HTTP status the server responded with. detail: Optional underlying error t
lib/crewai/src/crewai/mcp/exceptions.py:90
↓ 2 callers
Method
__init__
Initialize the CustomLLM with a predefined response. Args: response: The predefined response to return from call().
lib/crewai/tests/test_custom_llm.py:17
↓ 2 callers
Method
__init__
(self, llm, tools)
lib/crewai/tests/agents/test_lite_agent.py:275
↓ 2 callers
Method
__setitem__
(self, key: str, value: ClientAuthScheme | None)
lib/crewai/src/crewai/a2a/auth/utils.py:57
↓ 2 callers
Function
_a2a_agent
()
lib/crewai/tests/test_artifacts.py:769
↓ 2 callers
Function
_a_crew_whose_script_fails
The real `crewai run` on a classic crew whose `uv run run_crew` exits 3, or raises FAILURE.
lib/cli/tests/experimental/test_eval_crew.py:4340
↓ 2 callers
Function
_a_grade
(grade: Any)
lib/cli/src/crewai_cli/experimental/eval_crew.py:1689
↓ 2 callers
Method
_acall_responses
Async call to OpenAI Responses API.
lib/crewai/src/crewai/llms/providers/openai/completion.py:989
↓ 2 callers
Function
_accepted
AMP's answer to a start: the evaluation it opened, or its refusal as a sentence.
lib/cli/src/crewai_cli/experimental/eval_crew.py:1473
↓ 2 callers
Function
_activate_tracing
(tracing: ExecutionTrace)
lib/crewai/src/crewai/execution.py:252
↓ 2 callers
Method
_add_property_ordering
Add propertyOrdering to JSON schema for Gemini 2.0 compatibility. Gemini 2.0 models require an explicit propertyOrdering list to define
lib/crewai/src/crewai/llms/providers/gemini/completion.py:1557
↓ 2 callers
Method
_add_skill_loader_tool
Add the internal loader used for request-scoped skill disclosure.
lib/crewai/src/crewai/agent/core.py:667
↓ 2 callers
Function
_adelegate_to_a2a
Async version of _delegate_to_a2a.
lib/crewai/src/crewai/a2a/wrapper.py:1637
↓ 2 callers
Method
_aexecute_core
Run the core execution logic of the task asynchronously.
lib/crewai/src/crewai/task.py:721
↓ 2 callers
Method
_aexecute_without_timeout
Execute a task without a timeout asynchronously. Args: task_prompt: The prompt to send to the agent. task: The task b
lib/crewai/src/crewai/agent/core.py:1283
↓ 2 callers
Function
_afetch_agent_card_cached
Cached async implementation of AgentCard fetching.
lib/crewai/src/crewai/a2a/utils/agent_card.py:227
↓ 2 callers
Function
_afetch_agent_cards_concurrently
Fetch agent cards concurrently for multiple A2A agents using asyncio.
lib/crewai/src/crewai/a2a/wrapper.py:1468
↓ 2 callers
Function
_agent
()
lib/crewai/tests/tracing/test_trace_agent_prompt_output.py:30
↓ 2 callers
Method
_agent_and_task
(self, code: str)
lib/crewai/tests/tools/test_tool_failure.py:1314
↓ 2 callers
Function
_agent_messages
(inputs: str | None)
lib/cli/src/crewai_cli/run_agent.py:53
↓ 2 callers
Method
_ahandle_converse
Handle async non-streaming converse API call.
lib/crewai/src/crewai/llms/providers/bedrock/completion.py:1331
↓ 2 callers
Method
_ahandle_human_feedback
Process human feedback asynchronously and refine answer. Args: formatted_answer: Initial agent result. Returns:
lib/crewai/src/crewai/agents/agent_executor.py:3571
← previous
next →
2,001–2,100 of 19,735, ranked by callers