Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
↓ 3 callers
Method
filter_by_names
(self, names: list[str] | None = None)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:63
↓ 3 callers
Method
finalize_session_traces
(self)
lib/cli/tests/test_trace_consent_session.py:192
↓ 3 callers
Function
find_json_project_file
Return ``stem.jsonc`` or ``stem.json``, preferring JSONC.
lib/crewai/src/crewai/project/json_loader.py:178
↓ 3 callers
Function
find_version_files
Find all __init__.py files that contain __version__. Args: base_path: Base directory to search in. Returns: List of paths to
lib/devtools/src/crewai_devtools/cli.py:667
↓ 3 callers
Method
finish
( self, error_type: type[BaseException] | None = None, error: BaseException | None = N
lib/crewai/src/crewai/execution.py:44
↓ 3 callers
Method
fitToAvailableSpace
(centerScreen = false)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:2404
↓ 3 callers
Function
flow_template_expression_description
(prefix: str)
lib/crewai/src/crewai/flow/expressions.py:179
↓ 3 callers
Method
flush_to_central
Sync local shard records to the central shard.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:784
↓ 3 callers
Function
format_error_for_display
Return exception details without OS-added absolute path context.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:52
↓ 3 callers
Function
format_inline_value
(value: Any)
lib/crewai/src/crewai/flow/skill.py:571
↓ 3 callers
Method
from_settings
Build an ``Oauth2Settings`` instance from the persisted CrewAI settings.
lib/crewai-core/src/crewai_core/auth/oauth2.py:49
↓ 3 callers
Method
from_tool_pack
Create multiple MergeAgentHandlerTool instances from a Tool Pack. Args: tool_pack_id: UUID of the Tool Pack
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:267
↓ 3 callers
Function
generate_input_description_with_ai
Generate an input description using AI based on the context of the crew. Args: input_name: The name of the input placeholder. cre
lib/crewai/src/crewai/utilities/crew_chat.py:418
↓ 3 callers
Method
get_chunker
(self)
lib/crewai-tools/src/crewai_tools/rag/data_types.py:32
↓ 3 callers
Method
get_context_window_size
Get the context window size for the model.
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:2096
↓ 3 callers
Function
get_enclosing_parent_id
Get the parent of the current scope (stack[-2]).
lib/crewai/src/crewai/events/event_context.py:68
↓ 3 callers
Function
get_enterprise_api_base_url
Get the enterprise API base URL from environment or use default.
lib/crewai-tools/src/crewai_tools/adapters/enterprise_adapter.py:12
↓ 3 callers
Function
get_env_context
()
lib/crewai/src/crewai/utilities/env.py:28
↓ 3 callers
Method
get_file_info
Get information about an uploaded file. Args: file_id: The file identifier. Returns: Dictionary with file in
lib/crewai-files/src/crewai_files/uploaders/base.py:101
↓ 3 callers
Function
get_files
Retrieve files for a crew execution. Args: execution_id: Unique identifier for the crew execution. Returns: Dictionary of fi
lib/crewai/src/crewai/utilities/file_store.py:193
↓ 3 callers
Method
get_input_tokens_count
(self, messages)
lib/crewai/tests/llms/test_context_window.py:389
↓ 3 callers
Method
get_last_raw_result
(self, fallback: Any)
lib/crewai/src/crewai/tools/tool_usage.py:143
↓ 3 callers
Method
get_organizations
(self)
lib/crewai-core/src/crewai_core/plus_api.py:584
↓ 3 callers
Function
get_packages
Get all packages from lib/ directory. Args: lib_dir: Path to lib/ directory. Returns: List of package directory paths.
lib/devtools/src/crewai_devtools/cli.py:683
↓ 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
Function
get_rag_client
Get the current RAG client instance. Returns: The current RAG client, creating one if needed.
lib/crewai/src/crewai/rag/config/utils.py:106
↓ 3 callers
Function
get_rag_provider
Get the provider name of the active RAG configuration. Unlike :func:`get_rag_config`, this never builds a default configuration or client, so
lib/crewai/src/crewai/rag/config/utils.py:48
↓ 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:1230
↓ 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_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
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_crew
(**crew_kwargs)
lib/crewai/tests/test_tool_cache_default.py:128
← previous
next →
1,901–2,000 of 19,482, ranked by callers