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
↓ 3 callers
Function
guess_kind
Pick a text kind from what the output looks like. Defaults to markdown.
lib/crewai/src/crewai/artifacts.py:47
↓ 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:1012
↓ 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
Method
increment_delegations
Increment the delegations counter.
lib/crewai/src/crewai/task.py:1266
↓ 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:167
↓ 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:1204
↓ 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_scopes
(self, _prefix)
lib/crewai/tests/hooks/test_interception_conformance.py:361
↓ 3 callers
Function
load_jsonc_file
Load a JSON or JSONC file.
lib/crewai/src/crewai/project/json_loader.py:212
↓ 3 callers
Function
load_resources
Promote a skill to RESOURCES disclosure level. Args: skill: Skill to promote. Returns: Skill at RESOURCES level.
lib/crewai/src/crewai/skills/loader.py:281
↓ 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
log_in_again
AMP refused the saved login: start `crewai login` once, as the run app's Deploy does (`run_crew._chain_deploy`), so the evaluation can be tried ag
lib/cli/src/crewai_cli/experimental/eval_crew.py:893
↓ 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:784
↓ 3 callers
Function
make_tool
(response: Any)
lib/crewai-tools/tests/tools/test_linkup_search_tool.py:15
↓ 3 callers
Function
message_to_llm_dict
Coerce a stored ``ConversationMessage`` (or dict) into an ``LLMMessage``.
lib/crewai/src/crewai/flow/conversational.py:208
↓ 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
native_call
(backend, tool, cache, args)
lib/crewai/tests/agents/test_native_tool_hook_contract.py:105
↓ 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:2484
↓ 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
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:867
↓ 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
Ask the person at the terminal whether to upload this run's trace. Returns True only for an explicit yes; no, Enter, and the timeout are "Not
lib/crewai/src/crewai/events/listeners/tracing/utils.py:636
↓ 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:287
↓ 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:1032
↓ 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:1223
↓ 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:88
↓ 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
Function
retry_once_on_placeholder_rejection
Run ACTION, and once more when AMP refused the temporary account it used. The refused account has expired or was removed and is already discarded
lib/cli/src/crewai_cli/command.py:31
↓ 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:1911
↓ 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:629
↓ 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
Function
saved_login
The `crewai login` token, or None: AMP then treats the caller as anonymous. Only "not logged in" reads as anonymous. A credential that exists but
lib/cli/src/crewai_cli/experimental/eval_crew.py:838
↓ 3 callers
Function
saved_placeholder
The saved temporary account, when BASE_URL's AMP issued it and it has not expired.
lib/crewai-core/src/crewai_core/auth/placeholder.py:84
↓ 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
Function
secure_storage_is_own
Is the folder ``TokenManager`` keeps credentials in this account's own? It is found under ``HOME`` (``LOCALAPPDATA`` on Windows), which a project
lib/crewai-core/src/crewai_core/token_manager.py:36
↓ 3 callers
Function
sent_anywhere
(amp: FakeAMP, secret: str)
lib/crewai/tests/telemetry/test_placeholder_traces.py:588
↓ 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
Method
snapshot
Copy serializable turn/reply records, never live execution handles.
lib/crewai/src/crewai/experimental/flow_turns.py:245
↓ 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
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
← previous
next →
2,101–2,200 of 20,757, ranked by callers