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
↓ 15 callers
Function
_error_envelope
A 200 body holding only an upstream error, as gateways send it.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:39
↓ 15 callers
Function
_find_latest_non_yanked_version
Return the latest non-prerelease, non-yanked version from PyPI releases.
lib/crewai-core/src/crewai_core/version.py:61
↓ 15 callers
Method
_is_conversational_enabled
(self)
lib/crewai/src/crewai/flow/conversational_mixin.py:1090
↓ 15 callers
Function
_rec
( content: str = "test", scope: str = "/", categories: list[str] | None = None, importance: fl
lib/crewai/tests/memory/test_qdrant_edge_storage.py:35
↓ 15 callers
Function
_resolve_tools
Resolve tool specs into tool instances or serialized BaseTool dicts. Strings keep the existing shorthand behavior. Dicts are passed through so
lib/crewai/src/crewai/project/json_loader.py:1858
↓ 15 callers
Method
_search
( self, skill_command: SkillCommand, query: str | None, responses: list[httpx.
lib/cli/tests/skills/test_main.py:375
↓ 15 callers
Function
_slack_steps
()
lib/crewai/tests/tools/test_tool_failure.py:107
↓ 15 callers
Method
accept_event
Claim one runner-issued event at the transport boundary. Call before handing off output, including after any queue/delay. This fences
lib/crewai/src/crewai/experimental/flow_turns.py:211
↓ 15 callers
Method
create_collection
Create a new collection in Qdrant. Keyword Args: collection_name: Name of the collection to create. Must be unique. v
lib/crewai/src/crewai/rag/qdrant/client.py:122
↓ 15 callers
Method
discard
(self)
lib/crewai/tests/test_flow_from_definition.py:3978
↓ 15 callers
Function
end_execution
End an execution context owned by the current kickoff. Nested kickoffs pass ``None`` and leave the outer uuid in place.
lib/crewai/src/crewai/execution.py:261
↓ 15 callers
Method
execute
(self, sql: str, params: Any = None, **kwargs: Any)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:34
↓ 15 callers
Method
fetchall
(self)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:62
↓ 15 callers
Method
from_checkpoint
Restore a Crew from a checkpoint, ready to resume via kickoff(). Args: config: Checkpoint configuration with ``restore_from`` set
lib/crewai/src/crewai/crew.py:434
↓ 15 callers
Method
from_string
Parse the ``application[/action][@connection_uuid|private]`` syntax. Raises: ValueError: If the selector does not follow the supp
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:30
↓ 15 callers
Method
get_audience
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:23
↓ 15 callers
Method
get_input_tokens_count
Estimate request input tokens with LiteLLM's local tokenizer. LiteLLM does not make a provider request for this calculation. Its toke
lib/crewai/src/crewai/llm.py:824
↓ 15 callers
Method
interpolate_inputs_and_add_conversation_history
Interpolate inputs into the task description, expected output, and output file path. Add conversation history if present. Args:
lib/crewai/src/crewai/task.py:1104
↓ 15 callers
Method
load
Load all task output records from the database. Returns: List of dictionaries containing task output records, ordered by task_ind
lib/crewai/src/crewai/memory/storage/kickoff_task_outputs_storage.py:175
↓ 15 callers
Function
load_skill_metadata
Load a skill at METADATA disclosure level. Parses SKILL.md frontmatter only and validates directory name. Args: skill_dir: Path to t
lib/crewai/src/crewai/skills/parser.py:95
↓ 15 callers
Method
pause_live_updates
Pause Live session updates to allow for human input without interference. This stops any active streaming Live session to prevent console ref
lib/crewai/src/crewai/events/utils/console_formatter.py:193
↓ 15 callers
Function
platform_context
Context manager to temporarily set the platform integration token. Args: integration_token: The integration token to set within the context
lib/crewai/src/crewai/context.py:52
↓ 15 callers
Method
recall
Retrieve relevant memories. ``shallow`` embeds the query directly and runs a single vector search. ``deep`` (default) uses the Recall
lib/crewai/src/crewai/memory/unified_memory.py:686
↓ 15 callers
Function
register_before_llm_call_hook
Register a global before_llm_call hook. Global hooks are added to all executors automatically. This is a convenience function for registering
lib/crewai/src/crewai/hooks/llm_hooks.py:229
↓ 15 callers
Function
resolve_tool_failure_policy
Resolve the effective policy for one call. Most specific wins: tool, task, agent, crew, then :attr:`ToolFailurePolicy.WARN`. Callers pass eit
lib/crewai/src/crewai/tools/tool_failure.py:180
↓ 15 callers
Function
safe_get_bounded
GET a URL through :func:`safe_get`, refusing bodies over *max_bytes*. The body is streamed and abandoned as soon as it crosses the limit, so an
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:187
↓ 15 callers
Method
stop
Stop the MCP server.
lib/crewai-tools/src/crewai_tools/adapters/mcp_adapter.py:196
↓ 15 callers
Method
to_dict
Convert to JSON-RPC error object format.
lib/crewai/src/crewai/a2a/errors.py:146
↓ 15 callers
Function
validate_jwt_token
Verify a JWT's signature and claims using PyJWT. Args: jwt_token: The JWT (JWS) string to validate. jwks_url: The URL of the JWKS
lib/crewai-core/src/crewai_core/auth/utils.py:13
↓ 14 callers
Function
_count
(n: int)
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:68
↓ 14 callers
Method
_effective_api
Which OpenAI API to actually use for this model. Honours an explicit ``api`` setting, but upgrades to ``"responses"`` for models alre
lib/crewai/src/crewai/llms/providers/openai/completion.py:2237
↓ 14 callers
Method
_emit_stream_chunk_event
Emit stream chunk event. Args: chunk: The text content of the chunk. from_task: The task that initiated the call.
lib/crewai/src/crewai/llms/base_llm.py:916
↓ 14 callers
Method
_initialize_backend_batch
Send batch initialization to backend
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:129
↓ 14 callers
Method
_invoke_after_llm_call_hooks
Invoke after_llm_call hooks for an LLM call that reached the provider. This method should be called by native provider implementations after
lib/crewai/src/crewai/llms/base_llm.py:1316
↓ 14 callers
Function
_make_list_flow
()
lib/crewai/tests/test_flow.py:2217
↓ 14 callers
Method
_should_defer_trace_finalization
Whether this kickoff should defer final flow trace finalization.
lib/crewai/src/crewai/flow/runtime/__init__.py:510
↓ 14 callers
Function
callable_to_string
Serialize a module-level callable as a ``"module.qualname"`` string. Args: fn: The callable to serialize. Returns: The dotte
lib/crewai/src/crewai/types/callback.py:109
↓ 14 callers
Method
chat
(self)
lib/crewai/tests/test_flow_ask.py:289
↓ 14 callers
Method
close
(self)
lib/crewai-tools/tests/tools/stagehand_tool_test.py:96
↓ 14 callers
Method
create
(self, handle: str)
lib/cli/src/crewai_cli/tools/main.py:68
↓ 14 callers
Function
discover_skills
Scan a directory for skill directories containing SKILL.md. Loads each discovered skill at METADATA disclosure level. Args: search_p
lib/crewai/src/crewai/skills/loader.py:44
↓ 14 callers
Method
drain_writes
Block until all pending background saves have completed. Called automatically by ``recall()`` and should be called by the crew at shu
lib/crewai/src/crewai/memory/unified_memory.py:355
↓ 14 callers
Method
get_agent
(self, handle: str)
lib/crewai-core/src/crewai_core/plus_api.py:376
↓ 14 callers
Function
get_conversion_instructions
Generate conversion instructions based on the model and LLM capabilities. Args: model: A Pydantic model class. llm: The language
lib/crewai/src/crewai/utilities/converter.py:582
↓ 14 callers
Function
get_crewai_tools_dependency
Return the generated-project dependency for CrewAI with tools. Args: current_version: The CrewAI version the range starts at; defaults to
lib/cli/src/crewai_cli/version.py:29
↓ 14 callers
Function
is_interactive
Prompt only in an interactive terminal, never in non-interactive mode.
lib/cli/src/crewai_cli/input_prompt.py:49
↓ 14 callers
Function
llm_call_context
Context manager that establishes an LLM call scope with a unique call_id.
lib/crewai/src/crewai/llms/base_llm.py:163
↓ 14 callers
Function
provider_env
Only ``env`` and the provider's non-key settings; nothing from the real env.
lib/crewai/tests/llms/test_missing_api_key.py:103
↓ 14 callers
Method
query
(self, *args: Any, **kwargs: Any)
lib/crewai/tests/hooks/test_deny_reaches_the_caller.py:102
↓ 14 callers
Method
run
(self)
lib/crewai/tests/test_stream_frames.py:288
↓ 14 callers
Function
sanitize_scope_name
Sanitize a name for use in hierarchical scope paths. Converts to lowercase, replaces non-alphanumeric chars (except underscore and hyphen) wi
lib/crewai/src/crewai/memory/utils.py:8
↓ 14 callers
Method
start
Start the MCP server and initialize the tools.
lib/crewai-tools/src/crewai_tools/adapters/mcp_adapter.py:192
↓ 14 callers
Function
telemetry_session
Capture a crew or flow using the enterprise event/session lifecycle. Hosts supply verified identity, collectors, resources, span processors,
lib/crewai/src/crewai/telemetry/tracing/session.py:293
↓ 14 callers
Method
tool_names
(self, call: int = 0)
lib/crewai/tests/agents/test_agent_spreadsheets.py:139
↓ 13 callers
Function
_build_crew
(policy: ToolFailurePolicy | None = None, **task_kwargs: Any)
lib/crewai/tests/tools/test_tool_failure.py:119
↓ 13 callers
Method
_evaluate_now
AMP evaluates the run; this thread only carries the answers back.
lib/cli/src/crewai_cli/crew_run_tui.py:1583
↓ 13 callers
Method
_get_sync_client
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:373
↓ 13 callers
Function
_is_version_yanked
Return ``(yanked, reason)`` for ``version_str`` against PyPI releases.
lib/crewai-core/src/crewai_core/version.py:91
↓ 13 callers
Function
_make_tar_gz
Build an in-memory .tar.gz containing the given filename → content mapping.
lib/crewai/tests/skills/test_cache.py:16
↓ 13 callers
Method
_require_memory
Return the bound ``Memory`` or raise a clear error if missing.
lib/crewai/src/crewai/memory/memory_scope.py:79
↓ 13 callers
Function
_review_llm
(*responses: Any, function_calling: bool = True)
lib/crewai/tests/test_human_feedback_decorator.py:906
↓ 13 callers
Method
_run
(self, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/tools/vision_tool/vision_tool.py:139
↓ 13 callers
Function
_run_learning_flow
Kick off a one-step learn=True flow whose method returns ``output``.
lib/crewai/tests/test_human_feedback_decorator.py:913
↓ 13 callers
Method
_usage_to_dict
Convert a provider usage object to a plain dict and flatten the cache/reasoning sub-counts that LiteLLM nests under provider-specific
lib/crewai/src/crewai/llm.py:2250
↓ 13 callers
Function
_write
(tmp_path: Path, contents: str)
lib/cli/tests/test_run_declarative_flow.py:263
↓ 13 callers
Function
_write_json_checkpoint
( base_dir: str, branch: str = "main", name: str | None = None, data: str | None = None, t
lib/crewai/tests/test_checkpoint_cli.py:73
↓ 13 callers
Function
at_a_terminal
A person at a terminal who gives ANSWERS, in order; returns the prompts. Call it in the test itself: pytest swaps `sys.stdout` after fixtures run
lib/cli/tests/test_run_usage.py:1320
↓ 13 callers
Method
clear
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1248
↓ 13 callers
Function
ephemeral_tracing
Own buffering and consent; activation can change between deferred turns.
lib/crewai/src/crewai/telemetry/tracing/ephemeral.py:182
↓ 13 callers
Method
from_dict
Create a Fingerprint from a dictionary representation. Args: data: Dictionary representation of a fingerprint Returns:
lib/crewai/src/crewai/security/fingerprint.py:136
↓ 13 callers
Method
generate
(self)
lib/crewai/tests/telemetry/test_flow_telemetry.py:315
↓ 13 callers
Method
get_actions
Get the actions available for the selected applications.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/integrations_client.py:242
↓ 13 callers
Method
get_client_id
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:30
↓ 13 callers
Function
get_constraints_for_provider
Get constraints for a provider by name or return if already ProviderConstraints. Args: provider: Provider name string or ProviderConstrai
lib/crewai-files/src/crewai_files/processing/constraints.py:323
↓ 13 callers
Method
get_platform_tools
Resolve platform app selectors into tools. Args: apps: App or ``app/action`` selectors to resolve. Returns:
lib/crewai/src/crewai/agent/core.py:1444
↓ 13 callers
Method
insert
(self, index: int, tool: T)
lib/crewai-tools/src/crewai_tools/adapters/tool_collection.py:48
↓ 13 callers
Function
parse_frontmatter
Split SKILL.md content into frontmatter dict and body text. Args: content: Raw SKILL.md file content. Returns: Tuple of (fro
lib/crewai/src/crewai/skills/parser.py:39
↓ 13 callers
Function
parse_toml
Parse a TOML string and return its parsed contents.
lib/crewai-core/src/crewai_core/project.py:44
↓ 13 callers
Function
string_to_callable
Convert a dotted path string to the callable it references. If *value* is already callable it is returned as-is, with a warning if :func:`cal
lib/crewai/src/crewai/types/callback.py:32
↓ 13 callers
Method
supports_function_calling
Check if the model supports function calling.
lib/crewai/src/crewai/llms/providers/azure/completion.py:1311
↓ 12 callers
Function
_assert_tools_overlapped
()
lib/crewai/tests/agents/test_native_tool_calling.py:130
↓ 12 callers
Method
_classify_import_error
Turn a raw import-time exception into a user-actionable finding.
lib/cli/src/crewai_cli/deploy/validate.py:971
↓ 12 callers
Method
_emit_call_denied_event
Report a hook deny as a deny rather than as a provider failure. The call still owes its started event a terminal one, so the failed event
lib/crewai/src/crewai/llms/base_llm.py:894
↓ 12 callers
Function
_forbid_prompts
(monkeypatch: MonkeyPatch)
lib/cli/tests/test_create_flow.py:160
↓ 12 callers
Method
_git_path
(self, mock_input, mock_repository, mock_fetch_env)
lib/cli/tests/deploy/test_deploy_main.py:1144
↓ 12 callers
Function
_kickoff
(payload: Any, agent_cls: type = Agent)
lib/crewai/tests/agents/test_agent_kickoff_message_history.py:64
↓ 12 callers
Function
_llm_mock
(return_value: str = "described")
lib/crewai-tools/tests/tools/test_vision_tool.py:15
↓ 12 callers
Function
_mock_get
(monkeypatch: pytest.MonkeyPatch, get_response: Any)
lib/crewai-tools/tests/utilities/test_safe_requests.py:137
↓ 12 callers
Function
_normalize_ollama_base_url
Normalize an Ollama base URL into a full OpenAI-compatible endpoint. ``OLLAMA_HOST`` follows Ollama's own convention and may be a bare host (
lib/crewai/src/crewai/llms/providers/openai_compatible/completion.py:105
↓ 12 callers
Method
_oauth2_base_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:40
↓ 12 callers
Function
_output
What was printed, without the colors click adds at a terminal.
lib/cli/tests/test_create_flow.py:136
↓ 12 callers
Function
_parallel_prompt
()
lib/crewai/tests/agents/test_native_tool_calling.py:102
↓ 12 callers
Function
_pin_crewai_deps
Replace crewai dependency version pins in a pyproject.toml string. Handles both pinned (==) and minimum (>=) version specifiers, as well as e
lib/devtools/src/crewai_devtools/cli.py:610
↓ 12 callers
Function
_record
Build a record with a fixed vector and a timestamp ``index`` minutes after BASE_TIME.
lib/crewai/tests/memory/test_storage_backend_contract.py:51
↓ 12 callers
Method
_safe_telemetry_procedure
Run a void telemetry procedure, swallowing failures.
lib/crewai-core/src/crewai_core/telemetry.py:394
↓ 12 callers
Function
_saved_methods
(store)
lib/crewai/tests/test_flow_from_definition.py:3646
↓ 12 callers
Function
_skills_page
(rows: list[dict[str, object]], total_pages: int)
lib/cli/tests/skills/test_main.py:359
↓ 12 callers
Function
_unreadable
()
lib/crewai-files/src/crewai_files/spreadsheets/reading.py:331
↓ 12 callers
Function
_validate_deployment_repo_crewai_pin
Fail unless every effective canary CrewAI requirement has the exact pin.
lib/devtools/src/crewai_devtools/cli.py:1596
↓ 12 callers
Method
aadd_documents
Add documents with their embeddings to a collection asynchronously. Keyword Args: collection_name: The name of the collection to
lib/crewai/src/crewai/rag/qdrant/client.py:355
← previous
next →
301–400 of 19,482, ranked by callers