Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
20,483 in github.com/crewAIInc/crewAI
⨍
Functions
20,483
◇
Types & classes
3,557
↳
Endpoints
1,005
↓ 7 callers
Function
_definition
(project: Path)
lib/cli/tests/test_agent_tools.py:30
↓ 7 callers
Function
_failed_events
(mock_emit: MagicMock)
lib/crewai/tests/test_llm_litellm_streaming_errors.py:75
↓ 7 callers
Method
_finalize_task_prompt
Apply skill context, tool preparation, and training data to the task prompt. Args: task_prompt: The task prompt after memory and
lib/crewai/src/crewai/agent/core.py:826
↓ 7 callers
Method
_format_messages
( self, messages: str | list[LLMMessage], *, file_api: str | None = None )
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:148
↓ 7 callers
Method
_get_client
Get the appropriate client - instance-specific or global.
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:113
↓ 7 callers
Function
_http_status_error
(status_code: int, detail: str = "refused")
lib/crewai/tests/mcp/test_mcp_exceptions.py:25
↓ 7 callers
Function
_http_status_error
(status_code: int)
lib/crewai/tests/mcp/test_http_transport_auth.py:19
↓ 7 callers
Function
_install_client
Install *client* the way a hosted runtime does.
lib/crewai/tests/skills/test_registry.py:74
↓ 7 callers
Function
_is_escape_hatch_enabled
True when ``ALLOW_UNSAFE_PATHS`` is set and ``FORCE_SAFE_PATHS`` is not.
lib/crewai-tools/src/crewai_tools/security/safe_path.py:84
↓ 7 callers
Function
_is_sqlite
Check if a file is a SQLite database by reading its magic bytes.
lib/cli/src/crewai_cli/checkpoint_cli.py:96
↓ 7 callers
Method
_load_from_file
(self, content)
lib/crewai-tools/tests/rag/test_mdx_loader.py:18
↓ 7 callers
Method
_load_from_path
(self, path)
lib/crewai-tools/tests/rag/test_json_loader.py:25
↓ 7 callers
Method
_make_client_kwargs
(self)
lib/crewai/src/crewai/llms/providers/azure/completion.py:302
↓ 7 callers
Method
_make_executor
Build an AgentExecutor carrying only the fields this test reads.
lib/crewai/tests/agents/test_agent.py:3077
↓ 7 callers
Function
_parse_checkpoint_json
Parse checkpoint JSON into metadata dict.
lib/cli/src/crewai_cli/checkpoint_cli.py:107
↓ 7 callers
Function
_pipe
(cells: list[str])
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:85
↓ 7 callers
Method
_prepare_kickoff
Prepare common setup for kickoff execution. This method handles all the common preparation logic shared between kickoff() and kickoff
lib/crewai/src/crewai/agent/core.py:1781
↓ 7 callers
Method
_prepare_tools
( self, agent: BaseAgent, task: Task, tools: list[BaseTool] )
lib/crewai/src/crewai/crew.py:1677
↓ 7 callers
Method
_prompt_input
Show rich panel and prompt for input. Args: crew: The crew instance for context. Returns: User input string
lib/crewai/src/crewai/core/providers/human_input.py:319
↓ 7 callers
Function
_repin_crewai_install
Rewrite ``crewai[extras]==old`` pins in a shell command string. Splits on the known ``crewai[`` prefix and reconstructs the pin with the new
lib/devtools/src/crewai_devtools/cli.py:1432
↓ 7 callers
Function
_repository_response
(status_code: int = 200)
lib/crewai/tests/agents/test_agent.py:2443
↓ 7 callers
Function
_resolve_dotted_path
Import a module and walk attribute lookups to resolve a dotted path. Handles multi-level qualified names like ``"module.ClassName.method"`` b
lib/crewai/src/crewai/types/callback.py:75
↓ 7 callers
Function
_resolve_llm_instance
Resolve a collapse/learn LLM the same way agents resolve theirs. Explicit decorator values win. ``None`` follows ``create_llm``: ``MODEL`` /
lib/crewai/src/crewai/flow/human_feedback.py:267
↓ 7 callers
Function
_resolving
Resolve refs against a temp cwd and cache, with *api* as the registry.
lib/crewai/tests/skills/test_registry.py:82
↓ 7 callers
Method
_run
Execute the search query against the SingleStore database. Args: search_query: The SQL query to execute **kwargs: Add
lib/crewai-tools/src/crewai_tools/tools/singlestore_search_tool/singlestore_search_tool.py:381
↓ 7 callers
Function
_run_sync
Run a coroutine synchronously, handling nested event loops. If called from within a running event loop, runs the coroutine in a separate thre
lib/crewai/src/crewai/utilities/file_store.py:36
↓ 7 callers
Method
_save_documents
Save the documents to the storage. This method should be called after the chunks and embeddings are generated. Raises: V
lib/crewai/src/crewai/knowledge/source/base_knowledge_source.py:60
↓ 7 callers
Function
_save_expired_login
()
lib/cli/tests/authentication/test_login_refresh_callers.py:58
↓ 7 callers
Method
_scroll_all
Scroll all points matching a filter from a shard.
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:257
↓ 7 callers
Method
_submit_save
Submit a save operation to the background thread pool. The future is tracked so that ``drain_writes()`` can wait for it. If the pool
lib/crewai/src/crewai/memory/unified_memory.py:302
↓ 7 callers
Function
_tool_use_input
(block: _AnthropicToolUseBlock)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:227
↓ 7 callers
Function
_tool_use_name
(block: _AnthropicToolUseBlock)
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:223
↓ 7 callers
Function
_traced_crew
()
lib/crewai/tests/tracing/test_tracing.py:72
↓ 7 callers
Function
_tree_record
Build a parent/child tree: crew_start ├── task_start │ ├── agent_start │ └── agent_complete (started=agent_start)
lib/crewai/tests/test_event_record.py:34
↓ 7 callers
Function
_user_data_file
()
lib/crewai-core/src/crewai_core/user_data.py:23
↓ 7 callers
Method
_validate_identifier
Validates table and column names to prevent SQL injection. Simple identifiers must start with a letter and contain only letters, digi
lib/crewai-tools/src/crewai_tools/tools/db2_search_tool/db2_search_tool.py:203
↓ 7 callers
Function
_without_placeholder
(api_key: str | None)
lib/crewai/src/crewai/llms/base_llm.py:93
↓ 7 callers
Method
_write_project
(self, root, tool_line='"custom:landmine"')
lib/crewai/tests/project/test_json_loader.py:584
↓ 7 callers
Method
activate
Bind this session; the caller retains ownership of its lifetime.
lib/crewai/src/crewai/telemetry/tracing/session.py:209
↓ 7 callers
Function
apply_checkpoint
Handle checkpoint config for a kickoff method. If *from_checkpoint* carries a ``restore_from`` path, builds and returns a restored instance (
lib/crewai/src/crewai/state/checkpoint_config.py:215
↓ 7 callers
Function
build_pdf
Return the bytes of a one-page PDF containing *text*.
lib/crewai-tools/tests/rag/test_pdf_loader.py:18
↓ 7 callers
Method
call
( self, messages: str | list[LLMMessage], tools: list[dict[str, Any]] | None = None,
lib/crewai/tests/hooks/test_model_call_hook_reach.py:34
↓ 7 callers
Method
call
( self, messages, tools=None, callbacks=None, avai
lib/crewai/tests/agents/test_lite_agent.py:541
↓ 7 callers
Function
chat_flow
(llm: CompactionLLM, **config: Any)
lib/crewai/tests/test_flow_context_compaction.py:67
↓ 7 callers
Method
checkpoint
Write a JSON checkpoint file. Args: data: The serialized JSON string to persist. location: Base directory where check
lib/crewai/src/crewai/state/provider/json_provider.py:42
↓ 7 callers
Method
clear_tokens
Remove the stored token file (no-op if absent).
lib/crewai-core/src/crewai_core/token_manager.py:207
↓ 7 callers
Method
close
(self)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:44
↓ 7 callers
Function
close_span_with_error
Set span status to ERROR and end it. Used for spans representing work that failed, so failures are distinguishable from successes downstream.
lib/crewai/src/crewai/telemetry/utils.py:126
↓ 7 callers
Function
common_span_attributes
Build the attributes every span carries, once per process. Cached because it reads the project's ``pyproject.toml``, and because a process ca
lib/crewai-core/src/crewai_core/telemetry.py:221
↓ 7 callers
Function
compute_composite_score
Compute a weighted composite relevance score from semantic, recency, and importance. composite = w_semantic * semantic + w_recency * decay + w_im
lib/crewai/src/crewai/memory/types.py:345
↓ 7 callers
Method
configure
(self, enterprise_url: str)
lib/cli/src/crewai_cli/enterprise/main.py:21
↓ 7 callers
Function
configured_project_definition
Return a configured CrewAI definition path for a project type. ``[tool.crewai].type`` must match ``project_type`` and ``definition`` must be
lib/crewai-core/src/crewai_core/project.py:68
↓ 7 callers
Method
connect
(self, **kwargs)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:118
↓ 7 callers
Method
connect
Establish HTTP connection to MCP server. Returns: Self for method chaining. Raises: MCPConnectionError: If t
lib/crewai/src/crewai/mcp/transports/http.py:108
↓ 7 callers
Function
create_agent
Create an experimental standalone agent, using JSON by default.
lib/cli/src/crewai_cli/create_agent.py:13
↓ 7 callers
Method
create_client
Creates a ChromaDB client from configuration.
lib/crewai/src/crewai/rag/config/optional_imports/protocols.py:18
↓ 7 callers
Method
create_panel
Create a standardized panel with consistent styling.
lib/crewai/src/crewai/events/utils/console_formatter.py:52
↓ 7 callers
Function
create_test_pdf
Create a minimal valid PDF for testing.
lib/crewai-files/tests/processing/test_transformers.py:34
↓ 7 callers
Method
crew
(self)
lib/crewai/tests/test_project.py:89
↓ 7 callers
Method
crew_deployment_failed_span
Records that ``crewai deploy create`` failed after the attempt was counted. :meth:`create_crew_deployment_span` counts attempts and :
lib/crewai-core/src/crewai_core/telemetry.py:507
↓ 7 callers
Method
done
(self)
lib/crewai/tests/test_flow.py:317
↓ 7 callers
Method
evaluate
Evaluate this value as a full CEL expression.
lib/crewai/src/crewai/flow/expressions.py:282
↓ 7 callers
Function
find_column
The column named ``column``, exactly or case-insensitively. Raises: QueryError: No such column; the message suggests the closest and list
lib/crewai-files/src/crewai_files/spreadsheets/answers.py:401
↓ 7 callers
Function
finished
(source: str)
lib/cli/tests/authentication/test_login_usage.py:54
↓ 7 callers
Function
finished
(source: str)
lib/crewai/tests/cli/authentication/test_login_usage.py:54
↓ 7 callers
Method
format_error
Format an error message with the given template and error. Args: template: The error message template to use error: T
lib/crewai/src/crewai/utilities/errors.py:42
↓ 7 callers
Function
gateway
An OpenAI-compatible server fronting whatever it calls `model`.
lib/crewai/tests/llms/openai/test_reasoning_effort_forwarding.py:50
↓ 7 callers
Function
get_all_files
Get merged crew and task files. Task files override crew files with the same name. Args: crew_id: Unique identifier for the crew exe
lib/crewai/src/crewai/utilities/file_store.py:250
↓ 7 callers
Method
get_async_page
Get or create a page for the specified thread.
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_toolkit.py:108
↓ 7 callers
Method
get_authorize_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:11
↓ 7 callers
Method
get_input_tokens_count
Get request input tokens with OpenAI's Responses API. The count endpoint uses the configured model but is independent of the generati
lib/crewai/src/crewai/llms/providers/openai/completion.py:594
↓ 7 callers
Method
get_issuer
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:20
↓ 7 callers
Method
get_jwks_url
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:17
↓ 7 callers
Method
get_required_fields
(self)
lib/crewai-core/src/crewai_core/auth/providers/okta.py:37
↓ 7 callers
Method
get_sync_page
Get or create a page for the specified thread.
lib/crewai-tools/src/crewai_tools/aws/bedrock/browser/browser_toolkit.py:113
↓ 7 callers
Function
handle_partial_json
Handle partial JSON in a result string and convert to Pydantic model or dict. Args: result: The result string to process. model:
lib/crewai/src/crewai/utilities/converter.py:305
↓ 7 callers
Function
handle_tool_failure
Apply the effective policy to a failure a tool just reported. Records it on the agent and emits :class:`ToolFailureDetectedEvent`. Returns th
lib/crewai/src/crewai/tools/tool_failure.py:327
↓ 7 callers
Function
import_and_validate_definition
Pydantic-compatible function to import a class/function from a string path. Args: v: Import path string in the format 'module.path.ClassN
lib/crewai/src/crewai/utilities/import_utils.py:87
↓ 7 callers
Function
is_newer_version_available
Return ``(is_newer, current_version, latest_version)``.
lib/crewai-core/src/crewai_core/version.py:184
↓ 7 callers
Method
load
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/json_loader.py:10
↓ 7 callers
Function
load_dataset
Load and validate records from a ``.jsonl`` or ``.json`` file. Args: path: A ``.jsonl`` file (one record per line; blank lines are skippe
scripts/jev_evaluation_runner.py:227
↓ 7 callers
Method
log_success_event
Log successful LLM API call and track token usage.
lib/crewai/src/crewai/utilities/token_counter_callback.py:38
↓ 7 callers
Function
make_span
( number, text="", *, resource=None, scope=None, events=(), attributes=None )
lib/crewai/tests/telemetry/test_grant_export_bounds.py:20
↓ 7 callers
Method
mark_running
Mark a todo as running by step number.
lib/crewai/src/crewai/utilities/planning_types.py:90
↓ 7 callers
Function
memoize
Memoize a method by caching its results per instance, based on arguments. Handles both sync and async methods. Pydantic BaseModel instances are
lib/crewai/src/crewai/project/utils.py:52
↓ 7 callers
Function
normalize_input_files
Convert a list of file sources to a named dictionary of FileInputs. Args: input_files: List of file source inputs or File objects. R
lib/crewai-files/src/crewai_files/resolution/utils.py:50
↓ 7 callers
Function
overlay_model_for
The model the active overlay assigns to ``role``. Whitespace around ``role`` is ignored, as it was around the keys when the overlay was set.
lib/crewai/src/crewai/llm_overlay.py:152
↓ 7 callers
Function
parse_within
(data: bytes, seconds: float = 5.0)
lib/crewai-files/tests/spreadsheets/test_reading.py:75
↓ 7 callers
Method
query
Query across all knowledge sources to find the most relevant information. Returns the top_k most relevant chunks. Raises:
lib/crewai/src/crewai/knowledge/knowledge.py:135
↓ 7 callers
Function
raise_connection_failure
Raise a typed MCP connection error when an HTTP status is known. Args: message: Fallback message when no HTTP status can be recovered.
lib/crewai/src/crewai/mcp/exceptions.py:162
↓ 7 callers
Function
resolve_tracing_credential
The credential tracing sends and where it came from, as ``(source, token)`` — read once, in the one order both functions above follow. A call
lib/crewai/src/crewai/telemetry/tracing/grants.py:141
↓ 7 callers
Method
save_pending_feedback
(self, flow_uuid, context, state_data)
lib/crewai/tests/test_flow_from_definition.py:3749
↓ 7 callers
Method
save_tokens
Save the access token, its expiration time and an optional refresh token. A saved login lasts 72 hours from its last use and at most 30 days
lib/crewai-core/src/crewai_core/token_manager.py:81
↓ 7 callers
Function
set_triggering_event_id
Set the ID of the triggering event for causal chain tracking. Args: event_id: The event_id that triggered the current execution, or None.
lib/crewai/src/crewai/events/event_context.py:109
↓ 7 callers
Method
setup_listeners
(self, crewai_event_bus: CrewAIEventsBus)
lib/crewai/src/crewai/events/event_listener.py:177
↓ 7 callers
Method
setup_mock_response
(self, text, status_code=200, content_type="text/html")
lib/crewai-tools/tests/rag/test_webpage_loader.py:10
↓ 7 callers
Method
setup_mock_response
(self, text, status_code=200, content_type="text/html")
lib/crewai-tools/tests/rag/test_xml_loader.py:10
↓ 7 callers
Method
setup_mock_soup
(self, text, title=None, script_style_elements=None)
lib/crewai-tools/tests/rag/test_webpage_loader.py:18
↓ 7 callers
Method
setup_mock_soup
(self, text, title=None, script_style_elements=None)
lib/crewai-tools/tests/rag/test_xml_loader.py:18
↓ 7 callers
Function
stopped
(reason: str, source: str)
lib/cli/tests/authentication/test_login_usage.py:58
← previous
next →
801–900 of 20,483, ranked by callers