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
↓ 4 callers
Method
_start_evaluation
(self, execution_id: str)
lib/cli/src/crewai_cli/crew_run_tui.py:1566
↓ 4 callers
Function
_structured_stream_events
()
lib/crewai/tests/llms/anthropic/test_anthropic.py:2021
↓ 4 callers
Method
_stub_llm
()
lib/crewai/tests/hooks/test_llm_hooks.py:610
↓ 4 callers
Function
_summary_llm
(reply: str = "<summary>Summary</summary>")
lib/crewai/tests/llms/test_context_window.py:296
↓ 4 callers
Function
_supports_reasoning_effort
Whether the model accepts `reasoning_effort` on /v1/chat/completions.
lib/crewai/src/crewai/llms/providers/openai/completion.py:218
↓ 4 callers
Function
_task_span
(raw: str)
lib/crewai/tests/telemetry/test_span_attribute_bound.py:152
↓ 4 callers
Method
_tick
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1815
↓ 4 callers
Function
_token_response
(status_code: int, body: dict[str, str])
lib/cli/tests/authentication/test_auth_main.py:34
↓ 4 callers
Function
_tool_flow_definition
(ref: str, with_: dict[str, Any])
lib/crewai/tests/test_flow_from_definition.py:3240
↓ 4 callers
Function
_tool_span
(result: str)
lib/crewai/tests/telemetry/test_span_attribute_bound.py:95
↓ 4 callers
Function
_tool_use_id
(block: _AnthropicToolUseBlock)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:216
↓ 4 callers
Method
_trigger_replan
Trigger dynamic replanning with accumulated context. Regenerates the execution plan based on what has been learned from previous atte
lib/crewai/src/crewai/agents/agent_executor.py:2915
↓ 4 callers
Method
_try_parse_step_observation
Parse streamed observation JSON and update the exact step it names.
lib/cli/src/crewai_cli/crew_run_tui.py:2568
↓ 4 callers
Method
_untrack_key
Remove key tracking for a provider.
lib/crewai-files/src/crewai_files/cache/upload_cache.py:145
↓ 4 callers
Function
_uuid_to_point_id
Convert a UUID string to a stable Qdrant point ID. Falls back to hashing for non-UUID strings.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:53
↓ 4 callers
Method
_validate_kwargs
Validate keyword arguments against args_schema if present. Args: kwargs: The keyword arguments to validate. Returns:
lib/crewai/src/crewai/tools/base_tool.py:306
↓ 4 callers
Function
_verdict_of
(evaluation_id: str, gate: str = "passed")
lib/cli/tests/experimental/test_eval_crew.py:3945
↓ 4 callers
Method
_without_reasoning_effort
Params with `reasoning_effort` removed, or None if it was not set.
lib/crewai/src/crewai/llms/providers/openai/completion.py:2219
↓ 4 callers
Function
_write_json_crew_project
(root: Path, *, definition: str = "crew.jsonc")
lib/crewai/tests/cli/test_crew_chat.py:146
↓ 4 callers
Function
_write_local_skill
Write a project-local ./skills/<name>/SKILL.md under *tmp_path*.
lib/crewai/tests/skills/test_registry.py:63
↓ 4 callers
Function
_write_project
(path: Path)
lib/cli/tests/deploy/test_deploy_main.py:2159
↓ 4 callers
Function
a_key_missing_as_an_older_crewai_loads
Loading the JSON crew fails the first time as crewai 1.15.34 to 1.15.37 fail it, and builds it for real after that; returns the error. Those
lib/cli/tests/test_run_usage.py:1379
↓ 4 callers
Method
acall
Call the LLM with the given messages. Args: messages: Input messages for the LLM. Can be a string or list of
lib/crewai/src/crewai/llms/base_llm.py:611
↓ 4 callers
Method
aexecute_task
( self, task: Any, context: str | None = None, tools: list[BaseTool] | None =
lib/crewai/tests/agents/agent_builder/test_base_agent.py:28
↓ 4 callers
Function
agent_flow
Build a Flow that calls the Agent loader for each kickoff or chat turn.
lib/crewai/src/crewai/agent/conversation.py:30
↓ 4 callers
Method
aget_all_for_provider
Get all cached uploads for a provider. Args: provider: The provider name. Returns: List of cached uploads fo
lib/crewai-files/src/crewai_files/cache/upload_cache.py:383
↓ 4 callers
Method
animateEdgeStyles
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1037
↓ 4 callers
Method
animateNodeOpacity
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1000
↓ 4 callers
Method
aquery
Query across all knowledge sources asynchronously. Args: query: List of query strings. results_limit: Maximum number
lib/crewai/src/crewai/knowledge/knowledge.py:167
↓ 4 callers
Function
assert_event_count
( mock_emit, expected_completed_tool_call: int = 0, expected_stream_chunk: int = 0, expected_c
lib/crewai/tests/test_llm.py:601
↓ 4 callers
Function
assert_events_are_anonymous
(sent: list[str])
lib/cli/tests/test_run_usage.py:189
↓ 4 callers
Method
ause
Execute a tool asynchronously. Args: calling: The tool calling information. tool_string: The raw tool string from the
lib/crewai/src/crewai/tools/tool_usage.py:187
↓ 4 callers
Method
bind
Rebind the runtime ``Memory`` dependency after restore. Required after deserializing from a checkpoint, since the live ``Memory`` can
lib/crewai/src/crewai/memory/memory_scope.py:70
↓ 4 callers
Function
build_summary_prompt
Build the LLM request used to summarize a conversation chunk.
lib/crewai/src/crewai/utilities/message_utils.py:61
↓ 4 callers
Method
call
Call Azure AI Inference API. Args: messages: Input messages tools: List of tool/function definitions call
lib/crewai/src/crewai/llms/providers/azure/completion.py:509
↓ 4 callers
Method
call
( self, messages: Any, tools: list[dict[str, Any]] | None = None, response_mod
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:77
↓ 4 callers
Method
callback
(self, step)
lib/crewai/tests/agents/test_agent.py:672
↓ 4 callers
Function
calling_for
(tool: BaseTool)
lib/crewai/tests/tools/test_tool_usage_error_attribution.py:79
↓ 4 callers
Method
checkpoint
Write a checkpoint to the SQLite database. Args: data: The serialized JSON string to persist. location: Path to the S
lib/crewai/src/crewai/state/provider/sqlite_provider.py:59
↓ 4 callers
Method
clear_tokens
Remove the stored token file (no-op if absent).
lib/crewai-core/src/crewai_core/token_manager.py:80
↓ 4 callers
Method
clear_user_settings
Clear all user settings.
lib/crewai-core/src/crewai_core/settings.py:234
↓ 4 callers
Function
closest_name
Nearest candidate name to a likely typo, if one is close enough.
lib/cli/src/crewai_cli/input_prompt.py:43
↓ 4 callers
Method
collect
(self)
lib/crewai/tests/test_flow_jobs.py:49
↓ 4 callers
Method
connect
Start the MCP server process and establish connection. Returns: Self for method chaining. Raises: Connection
lib/crewai/src/crewai/mcp/transports/stdio.py:69
↓ 4 callers
Method
content
Printable text content for chunk-like consumers.
lib/crewai/src/crewai/types/streaming.py:45
↓ 4 callers
Function
content_blocks_to_text
Join every block of an MCP ``CallToolResult.content`` into one string. Text blocks and embedded text resources keep their text, one block per
lib/crewai/src/crewai/mcp/content.py:6
↓ 4 callers
Function
convert_oneof_to_anyof
Convert oneOf to anyOf for OpenAI compatibility. OpenAI's Structured Outputs support anyOf better than oneOf. This recursively converts all o
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:385
↓ 4 callers
Function
convert_with_instructions
Convert a result string to a Pydantic model or JSON using instructions. Args: result: The result string to convert. model: The Py
lib/crewai/src/crewai/utilities/converter.py:374
↓ 4 callers
Method
create
(**kwargs)
lib/crewai/tests/llms/openai/test_tools_reasoning_effort_retry.py:725
↓ 4 callers
Method
create_crew_from_zip
Create a crew deployment from a local project ZIP archive. PROJECT_ID is `[tool.crewai].project_id`, so AMP knows which project the d
lib/cli/src/crewai_cli/plus_api.py:167
↓ 4 callers
Function
create_frame_streaming_state
Create state for a scoped public frame stream.
lib/crewai/src/crewai/utilities/streaming.py:208
↓ 4 callers
Function
create_mock_llm
Create a mock LLM that returns a simple response. The mock includes all attributes required by the telemetry system, particularly the 'model'
lib/crewai/tests/telemetry/test_flow_crew_span_integration.py:30
↓ 4 callers
Function
create_mysql_search_tool
( mock_rag_client: MagicMock, table_name: str )
lib/crewai-tools/tests/tools/test_mysql_search_tool.py:19
↓ 4 callers
Function
create_research_tools
Create research tools for testing structured planning.
lib/crewai/tests/utilities/test_structured_planning.py:316
↓ 4 callers
Function
create_resolver
Create a configured FileResolver. Args: provider: Optional provider name to load default threshold from constraints. prefer_uploa
lib/crewai-files/src/crewai_files/resolution/resolver.py:658
↓ 4 callers
Function
create_safe_session
Return a session that pins TCP to a validated peer and does not follow redirects.
lib/crewai-tools/src/crewai_tools/security/safe_requests.py:83
↓ 4 callers
Function
create_skill_loader_tool
Create a loader tool when metadata-only skills are available. Args: skills: Skills configured on the agent. source: Event source
lib/crewai/src/crewai/skills/tool.py:89
↓ 4 callers
Method
crew
(self)
lib/crewai/tests/test_crew.py:5024
↓ 4 callers
Function
crew_factory
(simple_agent_factory, simple_task_factory)
lib/crewai/tests/test_crew_thread_safety.py:35
↓ 4 callers
Function
enable_prompt_line_editing
Enable cursor movement/history editing for Click text prompts when available.
lib/cli/src/crewai_cli/utils.py:108
↓ 4 callers
Function
ensure_all_properties_required
Ensure all properties are in the required array for OpenAI strict mode. OpenAI's strict structured outputs require all properties to be listed
lib/crewai/src/crewai/utilities/pydantic_schema_utils.py:423
↓ 4 callers
Function
enter_spreadsheet_scope
Start a run that trusts the URLs its input gave it; an agent run inside it reads only those. A run inside another keeps the outer run's trust.
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:213
↓ 4 callers
Method
env_context_span
Records the coding tool environment context.
lib/crewai/src/crewai/telemetry/telemetry.py:1239
↓ 4 callers
Function
error_type_for_status
Map an HTTP status to the ``error_type`` reported on MCP events. Args: status_code: HTTP status the server responded with, when known.
lib/crewai/src/crewai/mcp/exceptions.py:118
↓ 4 callers
Method
errors
(self)
lib/cli/src/crewai_cli/deploy/validate.py:281
↓ 4 callers
Method
evaluate
( self, agent: Agent | BaseAgent, execution_trace: dict[str, Any], final_outpu
lib/crewai/src/crewai/experimental/evaluation/metrics/reasoning_metrics.py:48
↓ 4 callers
Function
exit_spreadsheet_scope
(token: Token[frozenset[str] | None])
lib/crewai/src/crewai/agent/spreadsheet_inputs.py:222
↓ 4 callers
Method
extract_memories
Extract discrete memories from content. Delegates to this flow's memory. Args: content: Raw text (e.g. task + result dump).
lib/crewai/src/crewai/flow/runtime/__init__.py:1067
↓ 4 callers
Method
fetch
Return a DocumentDB access token and its remaining lifetime.
lib/crewai-tools/src/crewai_tools/tools/azure_documentdb_vector_search_tool/auth.py:20
↓ 4 callers
Method
fetch_arxiv_data
( self, search_query: str, max_results: int )
lib/crewai-tools/src/crewai_tools/tools/arxiv_paper_tool/arxiv_paper_tool.py:78
↓ 4 callers
Method
finalize
()
lib/crewai/tests/tracing/test_tracing.py:771
↓ 4 callers
Method
find_spec
( self, fullname: str, path: Sequence[str] | None, target: ModuleType | None =
lib/crewai/src/crewai/cli/__init__.py:46
↓ 4 callers
Function
firecrawl_mcp
Configure Firecrawl's hosted streamable HTTP transport.
scripts/wharf_runner.py:68
↓ 4 callers
Method
flush
(self, timeout_millis: int = 30000)
lib/crewai/src/crewai/telemetry/tracing/session.py:225
↓ 4 callers
Method
force_flush
(self, timeout_millis: int = 30000)
lib/crewai/tests/telemetry/test_tracer_isolation.py:34
↓ 4 callers
Function
format_sandbox_error
Restate a containment rejection with a tool-specific remedy. Rejections from :func:`validate_file_path` end by advertising the process-wide e
lib/crewai-tools/src/crewai_tools/security/safe_path.py:59
↓ 4 callers
Method
from_tool_name
Create a MergeAgentHandlerTool from a tool name. Args: tool_name: Name of the tool (e.g., "linear__create_issue")
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:145
↓ 4 callers
Function
generate_crew_chat_inputs
Generate the ChatInputs required for the crew by analyzing the tasks and agents. Args: crew: The crew object containing tasks and agents.
lib/crewai/src/crewai/utilities/crew_chat.py:366
↓ 4 callers
Method
get_context_window_size
Get the context window size for the LLM. Returns: The number of tokens/characters the model can handle: 85% of ``cont
lib/crewai/src/crewai/llms/base_llm.py:723
↓ 4 callers
Function
get_conversation_messages
Read message history from flow state or the internal fallback buffer.
lib/crewai/src/crewai/flow/conversation.py:98
↓ 4 callers
Method
get_crew_status
Get the status of a crew. Args: uuid (Optional[str]): The UUID of the crew to check.
lib/cli/src/crewai_cli/deploy/main.py:871
↓ 4 callers
Method
get_evaluation_results
(self)
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:192
↓ 4 callers
Method
get_failed_todos
Get all failed todos. Returns: List of failed TodoItem objects.
lib/crewai/src/crewai/utilities/planning_types.py:169
↓ 4 callers
Method
get_input_tokens_count
Estimate the input-token count a request will consume. Providers with native token-estimation support should override this method. Th
lib/crewai/src/crewai/llms/base_llm.py:446
↓ 4 callers
Function
get_platform_integration_token
Get the Platform integration token from the environment.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/misc.py:4
↓ 4 callers
Function
get_project_id
Return ``[tool.crewai].project_id`` if the project has one.
lib/cli/src/crewai_cli/utils.py:83
↓ 4 callers
Function
get_retry_delay_seconds
Calculate a jittered backoff delay for a one-based retry number. A provider-provided retry delay takes precedence over locally calculated bac
lib/crewai/src/crewai/llms/retry.py:100
↓ 4 callers
Function
get_supported_content_types
Get supported MIME type prefixes for a provider. Args: provider: Provider name string. api: Optional API variant (e.g., "response
lib/crewai-files/src/crewai_files/processing/constraints.py:363
↓ 4 callers
Method
getpeername
(self)
lib/crewai-tools/tests/utilities/test_safe_requests.py:426
↓ 4 callers
Method
has_tool_outputs
Check if there are any built-in tool outputs.
lib/crewai/src/crewai/llms/providers/openai/completion.py:328
↓ 4 callers
Method
initialize
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1997
↓ 4 callers
Function
initialize_if_git_available
Initialize a Git repository when Git is available.
lib/cli/src/crewai_cli/git.py:232
↓ 4 callers
Function
install_crew
Install the crew by running the UV command to lock and install.
lib/cli/src/crewai_cli/install_crew.py:39
↓ 4 callers
Method
invoke_async
Execute agent asynchronously with given inputs. This method is designed for use within async contexts, such as when the agent is call
lib/crewai/src/crewai/agents/agent_executor.py:3229
↓ 4 callers
Function
is_registry_ref
Return True if *value* looks like a registry reference (@org/name).
lib/crewai/src/crewai/skills/registry.py:41
↓ 4 callers
Method
list_cached
Show locally installed skills.
lib/cli/src/crewai_cli/skills/main.py:337
↓ 4 callers
Method
list_categories
List categories and counts. Args: path: Scope path to filter categories by. If None and root_scope is set, defaul
lib/crewai/src/crewai/memory/unified_memory.py:1014
↓ 4 callers
Method
list_skills
List one page of the current organization's registry skills. Args: org: Sent as ``org``, which AMP ignores: it lists the organiza
lib/crewai-core/src/crewai_core/plus_api.py:433
↓ 4 callers
Method
list_templates
List available templates with an interactive selector to install.
lib/cli/src/crewai_cli/remote_template/main.py:45
↓ 4 callers
Method
load
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/mdx_loader.py:18
← previous
next →
1,401–1,500 of 19,482, ranked by callers