Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
↓ 2 callers
Method
generate_plan
Generate execution plan if planning is enabled. This is the entry point for the agent execution flow. If planning is enabled on the a
lib/crewai/src/crewai/agents/agent_executor.py:573
↓ 2 callers
Method
get
(self, url: str, **kwargs: Any)
lib/crewai-tools/tests/utilities/test_safe_requests.py:680
↓ 2 callers
Method
get_attribute
(self, name: str)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:159
↓ 2 callers
Method
get_audience
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:25
↓ 2 callers
Method
get_audience
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:23
↓ 2 callers
Method
get_authorize_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:13
↓ 2 callers
Method
get_authorize_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:11
↓ 2 callers
Method
get_authorize_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:11
↓ 2 callers
Method
get_authorize_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:11
↓ 2 callers
Method
get_cached_uploads
Get all cached uploads for a provider. Args: provider: Provider name. Returns: List of cached uploads.
lib/crewai-files/src/crewai_files/resolution/resolver.py:639
↓ 2 callers
Method
get_context_window_size
Get the context window size for the model.
lib/crewai/src/crewai/llms/providers/openai/completion.py:3161
↓ 2 callers
Method
get_context_window_size
(self)
lib/crewai/tests/test_flow_context_compaction.py:63
↓ 2 callers
Method
get_crew_logs
Get logs for a crew. Args: uuid (Optional[str]): The UUID of the crew to get logs for. log_type (str): The t
lib/cli/src/crewai_cli/deploy/main.py:908
↓ 2 callers
Method
get_evaluation
(self, evaluation_id)
lib/cli/tests/test_crew_run_tui.py:3078
↓ 2 callers
Method
get_final_message
(self)
lib/crewai/tests/llms/anthropic/test_anthropic.py:1637
↓ 2 callers
Method
get_full_text
Get all streamed text content concatenated. Returns: All text chunks concatenated together.
lib/crewai/src/crewai/types/streaming.py:392
↓ 2 callers
Function
get_global_hook_list
Return the live global hook list for a point. The returned list object is stable for the lifetime of the process, which lets legacy modules a
lib/crewai/src/crewai/hooks/dispatch.py:109
↓ 2 callers
Function
get_hooks
Return a copy of the global hooks registered for a point.
lib/crewai/src/crewai/hooks/dispatch.py:141
↓ 2 callers
Function
get_i18n
Get a cached I18N instance. This function caches I18N instances to avoid redundant file I/O and JSON parsing. Each unique prompt_file path ge
lib/crewai/src/crewai/utilities/i18n.py:132
↓ 2 callers
Method
get_input_tokens_count
(self, messages: Any, *args: Any)
lib/crewai/tests/test_flow_context_compaction.py:55
↓ 2 callers
Method
get_integration_token
Return the Enterprise Action Auth Token for the active organization.
lib/cli/src/crewai_cli/plus_api.py:34
↓ 2 callers
Method
get_integration_token
Return the Enterprise Action Auth Token for the active organization.
lib/crewai-core/src/crewai_core/plus_api.py:587
↓ 2 callers
Method
get_issuer
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:22
↓ 2 callers
Method
get_issuer
(self)
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:20
↓ 2 callers
Method
get_issuer
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:20
↓ 2 callers
Method
get_issuer
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:20
↓ 2 callers
Method
get_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:19
↓ 2 callers
Method
get_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:17
↓ 2 callers
Method
get_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:17
↓ 2 callers
Method
get_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:17
↓ 2 callers
Function
get_knowledge_config
Get knowledge configuration from agent. Args: agent: The agent instance. Returns: Dictionary of knowledge configuration.
lib/crewai/src/crewai/agent/utils.py:113
↓ 2 callers
Function
get_project_description
Return the project description from ``pyproject.toml``.
lib/crewai-core/src/crewai_core/project.py:290
↓ 2 callers
Function
get_rag_config
Get current RAG configuration. Returns: The current RAG configuration object.
lib/crewai/src/crewai/rag/config/utils.py:87
↓ 2 callers
Method
get_record
Return a single record by ID, or None if not found.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:385
↓ 2 callers
Function
get_scoped_hooks
Return the hooks registered in the current execution scope for a point. Used by seams that carry a pre-snapshotted hook list (e.g. the agent
lib/crewai/src/crewai/hooks/dispatch.py:187
↓ 2 callers
Function
get_task_files
Retrieve files for a task execution. Args: task_id: Unique identifier for the task. Returns: Dictionary of files or None if
lib/crewai/src/crewai/utilities/file_store.py:229
↓ 2 callers
Method
get_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:16
↓ 2 callers
Method
get_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:14
↓ 2 callers
Method
get_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:14
↓ 2 callers
Method
get_token_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/workos.py:14
↓ 2 callers
Method
get_trace
Retrieve a trace by agent and task ID. Args: agent_id: The agent's identifier. task_id: The task's identifier.
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:331
↓ 2 callers
Method
get_tracer
(self, name: str | None = None)
lib/crewai/tests/telemetry/test_span_attribute_bound.py:69
↓ 2 callers
Function
get_upload_cache
Get or create the default upload cache. Args: ttl: Default TTL in seconds. namespace: Cache namespace. cache_type: Backen
lib/crewai-files/src/crewai_files/cache/upload_cache.py:504
↓ 2 callers
Function
get_user_id
Stable, anonymized user identifier with caching.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:413
↓ 2 callers
Method
groupByIdenticalAction
(triggerIds)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1510
↓ 2 callers
Function
guess_kind
Pick a text kind from what the output looks like. Defaults to markdown.
lib/crewai/src/crewai/artifacts.py:46
↓ 2 callers
Function
handle_agent_action_core
Core logic for handling agent actions and tool results. Args: formatted_answer: The agent's action tool_result: The result of exe
lib/crewai/src/crewai/utilities/agent_utils.py:888
↓ 2 callers
Method
handle_async_request
Handle async request with interception. Args: request: The HTTP request to handle. Returns: The HTTP respons
lib/crewai/src/crewai/llms/hooks/transport.py:112
↓ 2 callers
Method
handle_crew_status
Handle crew completion/failure with panel display.
lib/crewai/src/crewai/events/utils/console_formatter.py:228
↓ 2 callers
Function
handle_empty_pop
Handle a pop attempt on an empty stack.
lib/crewai/src/crewai/events/event_context.py:194
↓ 2 callers
Function
handle_knowledge_retrieval
Handle knowledge retrieval for task execution. This function handles both agent-specific and crew-specific knowledge queries. Args:
lib/crewai/src/crewai/agent/utils.py:125
↓ 2 callers
Function
handle_mismatch
Handle a mismatched event pair.
lib/crewai/src/crewai/events/event_context.py:208
↓ 2 callers
Function
handle_output_parser_exception
Handle OutputParserError by updating messages and formatted_answer. Args: e: The OutputParserError that occurred messages: List o
lib/crewai/src/crewai/utilities/agent_utils.py:959
↓ 2 callers
Method
handle_request
Handle request with interception. Args: request: The HTTP request to handle. Returns: The HTTP response.
lib/crewai/src/crewai/llms/hooks/transport.py:76
↓ 2 callers
Method
handle_step_observed_low
Low reasoning effort: mark step complete and continue linearly. Skips the refine/goal-achieved pipeline but still gates on hard failu
lib/crewai/src/crewai/agents/agent_executor.py:938
↓ 2 callers
Method
handle_task_status
Show task completion/failure panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:305
↓ 2 callers
Method
handle_tool_failure_detected
Render a tool that ran but reported it did not succeed. The case that used to print as a green "Completed" panel.
lib/crewai/src/crewai/events/utils/console_formatter.py:512
↓ 2 callers
Method
handler
(signum: int, frame: Any)
lib/crewai/src/crewai/telemetry/telemetry.py:199
↓ 2 callers
Function
has_reached_max_iterations
Check if the maximum number of iterations has been reached. Args: iterations: Current number of iterations. max_iterations: Maxim
lib/crewai/src/crewai/utilities/agent_utils.py:374
↓ 2 callers
Method
has_reached_max_usage_count
Check if the tool has reached its maximum usage count.
lib/crewai/src/crewai/tools/structured_tool.py:449
↓ 2 callers
Method
has_reasoning
Check if there are reasoning summaries.
lib/crewai/src/crewai/llms/providers/openai/completion.py:337
↓ 2 callers
Method
has_uncommitted_changes
Check if the repository has uncommitted changes.
lib/cli/src/crewai_cli/git.py:106
↓ 2 callers
Method
heuristic_observation
Build an observation without an LLM call. Used when ``PlanningConfig.observe_steps`` is False or when ``reasoning_effort`` is ``"low"
lib/crewai/src/crewai/agents/planner_observer.py:88
↓ 2 callers
Method
human_feedback_span
Records human feedback feature usage. Args: event_type: Type of event - "requested" or "received". has_routing: Wheth
lib/crewai/src/crewai/telemetry/telemetry.py:1255
↓ 2 callers
Method
init
(self)
lib/crewai/tests/test_flow.py:993
↓ 2 callers
Method
initialize
Initialize a Git repository and create an initial commit if needed.
lib/cli/src/crewai_cli/git.py:74
↓ 2 callers
Method
initialize_file
Initialize the file with an empty dictionary and overwrite any existing data.
lib/crewai/src/crewai/utilities/file_handler.py:140
↓ 2 callers
Method
inject_all_tools
Inject tools from all registered extensions. Args: agent: The agent instance to inject tools into.
lib/crewai/src/crewai/a2a/extensions/base.py:186
↓ 2 callers
Method
invalidate
Remove a cached skill. Returns: True if the cache entry existed and was removed, False otherwise.
lib/crewai/src/crewai/skills/cache.py:152
↓ 2 callers
Function
invoke
(llm: BaseLLM, mode: str)
lib/crewai/tests/llms/test_missing_api_key.py:130
↓ 2 callers
Method
invoke
Main method for tool execution.
lib/crewai/src/crewai/tools/structured_tool.py:423
↓ 2 callers
Method
is_ahead_or_behind
Check if the repository is ahead or behind the remote.
lib/cli/src/crewai_cli/git.py:110
↓ 2 callers
Function
is_first_execution
True if this is the first execution for this user.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:428
↓ 2 callers
Function
is_native_tool_calling_unsupported_error
Return whether an error means native tool calling is unavailable.
lib/crewai/src/crewai/utilities/agent_utils.py:1400
↓ 2 callers
Function
is_tracing_enabled
Return True if tracing should currently be active. Mirrors the runtime gate (``crewai.events.listeners.tracing.utils. should_enable_tracing``
lib/crewai-core/src/crewai_core/user_data.py:77
↓ 2 callers
Method
iter_bytes
(self)
lib/crewai-files/tests/spreadsheets/test_loading.py:183
↓ 2 callers
Method
iter_content
( chunk_size: int = 1, decode_unicode: bool = False )
lib/crewai-tools/tests/utilities/test_safe_requests.py:687
↓ 2 callers
Method
iter_error_chain
Yield an exception and its explicit or implicit causes once each.
lib/crewai/src/crewai/llms/retry.py:70
↓ 2 callers
Method
kickoff
(self, *args: Any, **kwargs: Any)
lib/crewai/src/crewai/flow/conversational_mixin.py:300
↓ 2 callers
Method
kickoff
Start the flow execution in a synchronous context. This method wraps kickoff_async so that all state initialization and event emissio
lib/crewai/src/crewai/flow/runtime/__init__.py:2140
↓ 2 callers
Function
last_run_path
(directory: Path | None = None)
lib/crewai/src/crewai/telemetry/tracing/last_run.py:56
↓ 2 callers
Method
list_files
List all uploaded files. Returns: List of dictionaries with file information.
lib/crewai-files/src/crewai_files/uploaders/base.py:112
↓ 2 callers
Method
list_records
List records in a scope, newest first. Args: scope_prefix: Optional scope path prefix to filter by. limit: Maximum nu
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:530
↓ 2 callers
Function
load_agent_from_repository
Load an agent from the repository. Args: from_repository: The name of the agent to load. Returns: A dictionary of attributes
lib/crewai/src/crewai/utilities/agent_utils.py:1147
↓ 2 callers
Function
load_declarative_flow
Load a declarative Flow instance from a definition path.
lib/cli/src/crewai_cli/run_declarative_flow.py:518
↓ 2 callers
Function
load_json_crew_project
Load and structurally validate a JSON crew project from files. When ``collect_errors`` is true, all discoverable structural errors are return
lib/crewai/src/crewai/project/json_loader.py:340
↓ 2 callers
Method
load_pending_feedback
(self, flow_uuid)
lib/crewai/tests/telemetry/test_deferred_trace_transitions.py:404
↓ 2 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
↓ 2 callers
Function
load_spreadsheet
Read ``file`` as a workbook, reusing the result for the same content. A URL is streamed and stopped at ``max_bytes``, so a large file is never he
lib/crewai-files/src/crewai_files/spreadsheets/__init__.py:97
↓ 2 callers
Method
log
Log data with structured fields. Keyword Args: task_name: Name of the task. task: Description of the task.
lib/crewai/src/crewai/utilities/file_handler.py:65
↓ 2 callers
Function
log_flow_definition_issues
(definition: FlowDefinition)
lib/crewai/src/crewai/flow/flow_definition.py:1007
↓ 2 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:867
↓ 2 callers
Method
mark_events_collected
Mark that events have been collected during execution.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:43
↓ 2 callers
Function
mark_first_execution_done
Mark that the first execution has been completed. Args: user_consented: Whether the user consented to trace collection.
lib/crewai/src/crewai/events/listeners/tracing/utils.py:434
↓ 2 callers
Function
mark_mapped
Record ``llm`` as built by the overlay, so no model key maps it again. ``declared`` is what the caller declared before the overlay mapped it —
lib/crewai/src/crewai/llm_overlay.py:282
↓ 2 callers
Function
markdown_heading_anchor
(text: str)
lib/crewai/src/crewai/flow/skill.py:564
↓ 2 callers
Function
max_attr_bytes
The byte bound :func:`truncate_attr` applies when given none. See :data:`DEFAULT_MAX_ATTR_BYTES`. The SDK's limit counts characters and a cha
lib/crewai/src/crewai/telemetry/tracing/gen_ai_shapes.py:450
↓ 2 callers
Function
measure_operation
Context manager to measure and log operation performance. Args: operation: Name of the operation. filename: Optional filename bei
lib/crewai-files/src/crewai_files/cache/metrics.py:71
↓ 2 callers
Function
message_to_llm_dict
Coerce a stored ``ConversationMessage`` (or dict) into an ``LLMMessage``.
lib/crewai/src/crewai/flow/conversational.py:183
↓ 2 callers
Function
model_call_hooks_already_dispatched
Whether an enclosing caller already dispatched hooks for the current call.
lib/crewai/src/crewai/hooks/llm_hooks.py:202
← previous
next →
2,901–3,000 of 19,663, ranked by callers