Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,264 in github.com/crewAIInc/crewAI
⨍
Functions
19,264
◇
Types & classes
3,413
↳
Endpoints
990
↓ 2 callers
Method
extract_id
Extract the checkpoint ID from a ``db_path#id`` string.
lib/crewai/src/crewai/state/provider/sqlite_provider.py:123
↓ 2 callers
Method
extract_memories
Extract discrete memories from content; delegates to underlying Memory.
lib/crewai/src/crewai/memory/memory_scope.py:172
↓ 2 callers
Function
extract_memories_from_content
Use the LLM to extract discrete memory statements from raw content. This is a pure helper: it does NOT store anything. Callers should call me
lib/crewai/src/crewai/memory/analyze.py:155
↓ 2 callers
Method
extract_model
(self, spec: ModelSpec)
lib/crewai/src/crewai/flow/skill.py:351
↓ 2 callers
Function
extract_task_section
Extract the ## Task body from a structured enriched instruction. For structured descriptions (e.g. with ## Task and ## Instructions sections),
lib/crewai/src/crewai/utilities/agent_utils.py:318
↓ 2 callers
Function
extract_tool_info
Extract tool information from various schema formats. Handles both OpenAI/standard format and direct format: - OpenAI format: {"type": "funct
lib/crewai/src/crewai/llms/providers/utils/common.py:44
↓ 2 callers
Method
extract_tool_info
(self, tool_class: type[BaseTool])
lib/crewai-tools/src/crewai_tools/generate_tool_specs.py:41
↓ 2 callers
Function
fail
(message: str, exc_type: type[Exception] = JSONProjectError)
lib/crewai/src/crewai/project/json_loader.py:395
↓ 2 callers
Method
find_element
(self, by: str, selector: str)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:152
↓ 2 callers
Function
find_sheet
The sheet named ``sheet`` (case-insensitive), or the first for empty. Raises: QueryError: No such sheet, or it wasn't read; the message s
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:328
↓ 2 callers
Method
finish_spans
Drain event handlers, then close spans missing completion events.
lib/crewai/src/crewai/telemetry/tracing/session.py:230
↓ 2 callers
Method
flow_creation_span
Records the creation of a new flow.
lib/crewai-core/src/crewai_core/telemetry.py:667
↓ 2 callers
Method
flow_creation_span
Records the creation of a new flow. Args: flow_name: Name of the flow being created.
lib/crewai/src/crewai/telemetry/telemetry.py:982
↓ 2 callers
Method
flow_execution_span
Records the execution of a flow. Args: flow_name: Name of the flow being executed. node_names: List of nodes being ex
lib/crewai/src/crewai/telemetry/telemetry.py:1017
↓ 2 callers
Function
flow_project
(folder: Path)
lib/cli/tests/test_api_keys.py:50
↓ 2 callers
Function
flush_and_shutdown
Export what is still buffered, waiting at most ``FINAL_FLUSH_SECONDS``. ``BatchSpanProcessor.force_flush`` ignores its timeout and runs the expor
lib/crewai-core/src/crewai_core/telemetry.py:150
↓ 2 callers
Method
forget
Delete memories matching criteria. Args: scope: Scope to delete from. If None and root_scope is set, deletes only
lib/crewai/src/crewai/memory/unified_memory.py:828
↓ 2 callers
Function
format_answer
Format a response from the LLM into an AgentAction or AgentFinish. Args: answer: The raw response from the LLM Returns: Eith
lib/crewai/src/crewai/utilities/agent_utils.py:444
↓ 2 callers
Method
format_block
Format a resolved file into a Gemini content block. Args: resolved: Resolved file. Returns: Content block di
lib/crewai-files/src/crewai_files/formatting/gemini.py:21
↓ 2 callers
Function
format_description_for_llm
Compose the LLM-facing tool description. Combines the tool name, its argument JSON schema, and the authored description into the prompt block
lib/crewai/src/crewai/tools/structured_tool.py:145
↓ 2 callers
Function
format_native_tool_output_for_agent
Format native tool output when a tool explicitly defines a formatter.
lib/crewai/src/crewai/utilities/agent_utils.py:1501
↓ 2 callers
Method
format_output_for_agent
Format a raw tool result into the string representation sent to an agent.
lib/crewai/src/crewai/tools/base_tool.py:406
↓ 2 callers
Method
from_checkpoint
Read a checkpoint from the SQLite database. Args: location: A location string returned by ``checkpoint()``. Returns:
lib/crewai/src/crewai/state/provider/sqlite_provider.py:127
↓ 2 callers
Method
from_job
(cls, job: JobRecord)
lib/crewai/src/crewai/experimental/flow_replies.py:36
↓ 2 callers
Method
from_tuple
Create a GuardrailResult from a validation tuple. Args: result: A tuple of (success, data) where data is either the validated res
lib/crewai/src/crewai/utilities/guardrail.py:101
↓ 2 callers
Method
generate_content
(self)
lib/cli/src/crewai_cli/templates/flow/main.py:31
↓ 2 callers
Function
generate_crew_description_with_ai
Generate a brief description of the crew using AI. Args: crew: The crew object. chat_llm: The chat language model to use for AI c
lib/crewai/src/crewai/utilities/crew_chat.py:488
↓ 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:3160
↓ 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:3049
↓ 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_rag_client
Get the current RAG client instance. Returns: The current RAG client, creating one if needed.
lib/crewai/src/crewai/rag/config/utils.py:62
↓ 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
Method
get_scope_info
(self, scope: str)
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:545
↓ 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
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:503
↓ 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
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:992
↓ 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
← previous
next →
2,801–2,900 of 19,264, ranked by callers