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
↓ 4 callers
Function
_resolve_model_class
( value: Any, source: str | Path, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:1599
↓ 4 callers
Function
_resolve_python_ref
( value: Any, source: str | Path, *, expected: str, project_root: Path | None, )
lib/crewai/src/crewai/project/json_loader.py:703
↓ 4 callers
Method
_resolve_repo_name
Resolve user input to a full repo name, or None if not found.
lib/cli/src/crewai_cli/remote_template/main.py:187
↓ 4 callers
Function
_restore_paused_review
Restore a paused review whose step and context name no LLM at all.
lib/crewai/tests/test_async_human_feedback.py:1900
↓ 4 callers
Method
_retry_operation
Retry an operation with exponential backoff. Args: operation: Async operation to retry. timeout: Operation timeout in
lib/crewai/src/crewai/mcp/client.py:706
↓ 4 callers
Method
_row_to_record
(self, row: dict[str, Any])
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:289
↓ 4 callers
Method
_run
Write *content* to *filename*, confined to the tool's sandbox.
lib/crewai-tools/src/crewai_tools/tools/file_writer_tool/file_writer_tool.py:97
↓ 4 callers
Function
_run_conversational_flow_tui
( flow: Any, definition: str | Path | None = None, *, stream: bool | None = None, session_
lib/cli/src/crewai_cli/kickoff_flow.py:137
↓ 4 callers
Method
_run_crew_with_payload
Run the crew with the trigger payload using the run_with_trigger method.
lib/cli/src/crewai_cli/triggers/main.py:124
↓ 4 callers
Function
_run_in_forked_child
Run ``action`` in a forked child; return "ok" or the error it raised.
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:276
↓ 4 callers
Function
_said
(capsys: pytest.CaptureFixture[str])
lib/cli/tests/authentication/test_login_usage.py:176
↓ 4 callers
Function
_said
(capsys: pytest.CaptureFixture[str])
lib/crewai/tests/cli/authentication/test_login_usage.py:176
↓ 4 callers
Function
_save_placeholder
(token: str)
lib/cli/tests/test_crew_run_tui.py:238
↓ 4 callers
Method
_scan_rows
Scan rows optionally filtered by scope prefix. Uses a full table scan (no vector query) so the limit is applied after the scope filte
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:486
↓ 4 callers
Method
_scrape
Run one scrape and turn the outcome into content or a failure.
lib/crewai-tools/src/crewai_tools/tools/oxylabs_base_tool/oxylabs_base_tool.py:237
↓ 4 callers
Function
_search_ids
(storage: LanceDBStorage, scope_prefix: str)
lib/crewai/tests/memory/test_lancedb_filter_escaping.py:58
↓ 4 callers
Function
_search_ids
(results: list[tuple[MemoryRecord, float]])
lib/crewai/tests/memory/test_storage_backend_async_parity.py:98
↓ 4 callers
Function
_seconds_ago
(seconds: float)
lib/cli/tests/experimental/test_eval_crew.py:1351
↓ 4 callers
Method
_select_tool
(self, tool_name: str)
lib/crewai/src/crewai/tools/tool_usage.py:810
↓ 4 callers
Function
_set_span_attributes
Set ``attributes`` on ``span``, no string value over the export bound. The ``gen_ai.*`` content attributes arrive already bounded (and marked),
lib/crewai/src/crewai/telemetry/tracing/handlers.py:612
↓ 4 callers
Function
_set_task_fingerprint
Set task identity and fingerprint data on an event.
lib/crewai/src/crewai/events/types/task_events.py:96
↓ 4 callers
Function
_sets_endpoint
Whether setting ``name`` sends requests to another host: a base URL, an API base, an endpoint or a proxy.
lib/cli/src/crewai_cli/api_keys.py:79
↓ 4 callers
Function
_settings
(domain: str = DOMAIN)
lib/crewai-core/tests/test_auth_refresh.py:43
↓ 4 callers
Function
_setup_after_llm_call_hooks
Setup and invoke after_llm_call hooks for the executor context. Args: executor_context: The executor context to setup the hooks for.
lib/crewai/src/crewai/utilities/agent_utils.py:1943
↓ 4 callers
Function
_setup_before_llm_call_hooks
Setup and invoke before_llm_call hooks for the executor context. Args: executor_context: The executor context to setup the hooks for.
lib/crewai/src/crewai/utilities/agent_utils.py:1866
↓ 4 callers
Method
_setup_messages
Set up messages for the agent execution.
lib/crewai/src/crewai/agents/agent_executor.py:533
↓ 4 callers
Method
_should_observe_steps
Whether to run PlannerObserver LLM calls after each step. Explicit ``observe_steps=False`` disables observation at any effort level.
lib/crewai/src/crewai/agents/agent_executor.py:785
↓ 4 callers
Method
_should_upload
Determine if a file should be uploaded rather than inlined. Uses type-specific constraints to make smarter decisions: - Checks if fil
lib/crewai-files/src/crewai_files/resolution/resolver.py:230
↓ 4 callers
Method
_skip_interception
Whether ``point`` must not be dispatched for this flow. Per point rather than per flow: an internal flow that is itself the whole run
lib/crewai/src/crewai/flow/runtime/__init__.py:2642
↓ 4 callers
Function
_span
The single exported span with ``name``, failing loudly if it is not unique.
lib/crewai/tests/telemetry/test_crew_completed_span.py:63
↓ 4 callers
Function
_split_identifier_parts
(name: str)
lib/crewai-tools/src/crewai_tools/tools/oracle_vector_search_tool/vector_search.py:90
↓ 4 callers
Function
_standalone_counts
(exporter)
lib/crewai/tests/telemetry/test_tracer_isolation.py:220
↓ 4 callers
Method
_start_evaluation
(self, execution_id: str)
lib/cli/src/crewai_cli/crew_run_tui.py:1640
↓ 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:300
↓ 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:1889
↓ 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:3354
↓ 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:219
↓ 4 callers
Function
_trace_question_asked
The question was put to a person on this machine: a yes from anywhere, or any answer recorded with ``trace_consent_asked`` (see ``has_user_dec
lib/crewai/src/crewai/events/listeners/tracing/utils.py:430
↓ 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:2921
↓ 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:2642
↓ 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
_user_data_lock_name
Return a stable lock name for the user data file.
lib/crewai-core/src/crewai_core/user_data.py:29
↓ 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:314
↓ 4 callers
Function
_verdict_of
(evaluation_id: str, gate: str = "passed")
lib/cli/tests/experimental/test_eval_crew.py:4524
↓ 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
Method
_write_mcp_auth_project
(tmp_path: Path, auth: object, **extra: object)
lib/crewai/tests/project/test_json_loader.py:327
↓ 4 callers
Function
_write_project
(path: Path)
lib/cli/tests/deploy/test_deploy_main.py:2219
↓ 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
action_view_traces
Open AMP's view of this run's traces. crewAI prints that link after a run, but never under a TUI — its console is kept out of this la
lib/cli/src/crewai_cli/crew_run_tui.py:1432
↓ 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
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:384
↓ 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
Function
api_response
Build the HTTP response the TypeSafe API would send.
lib/crewai-tools/tests/tools/test_jev_decision_tool.py:33
↓ 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
authenticate
Authenticate using simple token comparison. Args: token: The bearer token to authenticate. Returns: Authenti
lib/crewai/src/crewai/a2a/auth/server_schemes.py:166
↓ 4 callers
Function
awaited_evaluation
What `crewai eval` said about this run, when it started it: None for a run nobody is evaluating. Never raises: a directory or a file that cannot
lib/crewai-core/src/crewai_core/eval_handshake.py:57
↓ 4 callers
Method
build_agent_context
Build canonical message context for an agent or direct LLM call. Each entry of the agent's thread sits where it was recorded in the c
lib/crewai/src/crewai/flow/conversational_mixin.py:820
↓ 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:512
↓ 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
Function
call_tool
(name)
lib/crewai/tests/mcp/test_mcp_auth.py:73
↓ 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
chunk
Chunk the input text into smaller pieces. Args: text: The text to chunk. Returns: A list of text chunks.
lib/crewai-tools/src/crewai_tools/rag/chunkers/base_chunker.py:168
↓ 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
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:386
↓ 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:376
↓ 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:661
↓ 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: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
Method
disconnect
Close HTTP connection. Raises: MCPConnectionError: If the server refused the connection. The refusal is reported
lib/crewai/src/crewai/mcp/transports/http.py:207
↓ 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:424
↓ 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
← previous
next →
1,501–1,600 of 20,757, ranked by callers