Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
↓ 3 callers
Function
get_provider
Get the current human input provider. Returns: The current provider, or a new SyncHumanInputProvider if none set.
lib/crewai/src/crewai/core/providers/human_input.py:451
↓ 3 callers
Method
goto
(self, url: str)
lib/crewai-tools/src/crewai_tools/tools/stagehand_tool/stagehand_tool.py:288
↓ 3 callers
Method
handle_agent_reasoning
Public method for the planning process that creates and refines a plan for the task until the agent is ready to execute it. Returns:
lib/crewai/src/crewai/utilities/reasoning_handler.py:187
↓ 3 callers
Function
handle_context_length
Handle context length exceeded by either summarizing or raising an error. Args: respect_context_window: Whether to respect context window
lib/crewai/src/crewai/utilities/agent_utils.py:1011
↓ 3 callers
Method
handle_execution_completion
Handle the completion flow as shown in your diagram.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:47
↓ 3 callers
Method
handle_flow_status
Show flow status panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:349
↓ 3 callers
Method
handle_lite_agent_execution
Handle lite agent execution events with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:837
↓ 3 callers
Method
handle_tool_usage_finished
Handle tool usage finished event with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:468
↓ 3 callers
Method
handle_tool_usage_started
Handle tool usage started event with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:437
↓ 3 callers
Method
head_commit
Return the short hash of HEAD, or None when there is no commit yet.
lib/cli/src/crewai_cli/git.py:137
↓ 3 callers
Function
hierarchical
(manager_reply: str, description: str, worker: ScriptedLLM)
lib/crewai/tests/agents/test_agent_spreadsheets.py:599
↓ 3 callers
Method
hook_dispatched_span
Records an interception-hook dispatch via Feature Usage. Emits ``hooks:<point>`` on every dispatch, plus ``hooks:aborted`` when a hoo
lib/crewai/src/crewai/telemetry/telemetry.py:1331
↓ 3 callers
Function
in_temp_dir
()
lib/cli/tests/tools/test_main.py:21
↓ 3 callers
Method
increment_delegations
Increment the delegations counter.
lib/crewai/src/crewai/task.py:1229
↓ 3 callers
Function
inject_a2a_server_methods
Inject A2A server methods onto an Agent instance. Adds a `to_agent_card(url: str) -> AgentCard` method to the agent that generates an A2A-com
lib/crewai/src/crewai/a2a/utils/agent_card.py:579
↓ 3 callers
Method
is_active
Check if this extension is active for the current request. An extension is active if the client declared support for it. Args:
lib/crewai/src/crewai/a2a/extensions/server.py:143
↓ 3 callers
Method
is_context_window_overflowing_threshold
Check whether a pending request exceeds the usable context window. ``get_context_window_size`` already reserves 15% of the raw model
lib/crewai/src/crewai/llms/base_llm.py:505
↓ 3 callers
Function
is_declarative_flow_project_env
()
lib/cli/src/crewai_cli/run_declarative_flow.py:609
↓ 3 callers
Function
is_flow_method
Check if the object carries Flow method wrapper metadata.
lib/crewai/src/crewai/flow/dsl/_utils.py:47
↓ 3 callers
Method
is_git_installed
Check if Git is installed and available in the system.
lib/cli/src/crewai_cli/git.py:41
↓ 3 callers
Function
is_inside_event_loop
Check if code is currently running inside an asyncio event loop. This is used to detect when code is being called from within an async context
lib/crewai/src/crewai/utilities/agent_utils.py:166
↓ 3 callers
Method
is_tool_result_overflowing_threshold
Check whether a tool result exceeds the deferred-output threshold. The threshold is 25% of the model's usable context window. The count
lib/crewai/src/crewai/llms/base_llm.py:483
↓ 3 callers
Function
isolated_telemetry
Build a fresh Telemetry without touching the process-wide singleton. Telemetry is a singleton whose __init__ registers atexit and signal hand
lib/crewai/tests/telemetry/test_coding_agent_detection.py:77
↓ 3 callers
Function
kick
(agent: Agent, entry: str, messages: Any)
lib/crewai/tests/agents/test_agent_spreadsheets.py:200
↓ 3 callers
Method
kickoff_for_each_async
Executes the Crew's workflow for each input asynchronously. Args: inputs: List of input dictionaries, one per execution.
lib/crewai/src/crewai/crew.py:1200
↓ 3 callers
Function
kickoff_input_text
The text of a kickoff's user input; an assistant or tool message is the model's, so a URL in one is not the agent's input.
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:104
↓ 3 callers
Method
list_cached
Return metadata for every cached skill.
lib/crewai/src/crewai/skills/cache.py:129
↓ 3 callers
Method
list_crews
List all available crews.
lib/cli/src/crewai_cli/deploy/main.py:839
↓ 3 callers
Method
list_scopes
(self, _prefix)
lib/crewai/tests/hooks/test_interception_conformance.py:361
↓ 3 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:404
↓ 3 callers
Function
load_env_vars
Loads environment variables from a .env file in the specified folder path.
lib/cli/src/crewai_cli/utils.py:257
↓ 3 callers
Function
load_jsonc_file
Load a JSON or JSONC file.
lib/crewai/src/crewai/project/json_loader.py:211
↓ 3 callers
Function
load_schema
Load a vendored A2UI JSON schema by name and version. Args: name: Schema name without extension, e.g. ``"server_to_client"``. ver
lib/crewai/src/crewai/a2a/extensions/a2ui/schema/__init__.py:37
↓ 3 callers
Function
load_skill_resources
Promote a skill to RESOURCES disclosure level. Catalogs available resource directories (scripts, references, assets). Args: skill: S
lib/crewai/src/crewai/skills/parser.py:159
↓ 3 callers
Function
loopback
Serves one response on 127.0.0.1: a head sent at once, then a tail one byte every 50 ms, or at once when ``trickle`` is off.
lib/crewai-tools/tests/utilities/test_safe_requests.py:744
↓ 3 callers
Function
make_tool
(response: Any)
lib/crewai-tools/tests/tools/test_linkup_search_tool.py:15
↓ 3 callers
Function
migrate_pyproject
Migrate the pyproject.toml to the new format. This function is used to migrate the pyproject.toml to the new format. And it will be used
lib/cli/src/crewai_cli/update_crew.py:39
↓ 3 callers
Function
missing_key_line
The line that tells how to set ``name`` for the project's runs, naming the hosts the project's ``.env`` and JSON crew ``json_crew`` send requests
lib/cli/src/crewai_cli/api_keys.py:214
↓ 3 callers
Function
mock_arxiv_response
()
lib/crewai-tools/tests/tools/arxiv_paper_tool_test.py:15
↓ 3 callers
Function
no_spreadsheet_urls
For a run crewAI makes on model text: it reads no spreadsheet URL.
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:227
↓ 3 callers
Function
nobody_watching
Is the output going somewhere no person reads it as it prints? A coding agent or a script runs `crewai eval` with its stdout captured, so std
lib/cli/src/crewai_cli/experimental/eval_crew.py:2310
↓ 3 callers
Function
numbers
Text that reads as a number, as floats; NaN where it doesn't.
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:762
↓ 3 callers
Method
observe_client
Accept ordered session activity, not proof of physical audible output. A null delivery_id permits local cached audio. Identified playback mus
lib/crewai/src/crewai/experimental/flow_replies.py:204
↓ 3 callers
Method
parallel_analyze
Field resolution + consolidation via parallel individual LLM calls. Classifies each active item into one of four groups: - Group A: f
lib/crewai/src/crewai/memory/encoding_flow.py:224
↓ 3 callers
Function
pick
Arrow-key single-select picker. Args: title: Header text. options: List of ``(value, description)`` tuples. labels: Optio
lib/cli/src/crewai_cli/tui_picker.py:506
↓ 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
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:158
↓ 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:273
↓ 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:1022
↓ 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
researcher
(self)
lib/crewai/tests/test_project.py:62
↓ 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:91
↓ 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
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_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
Method
shutdown
(self)
lib/crewai-core/src/crewai_core/telemetry.py:137
↓ 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
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:3153
↓ 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:153
↓ 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
← previous
next →
1,901–2,000 of 19,264, ranked by callers