Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
13,008 in github.com/crewAIInc/crewAI
⨍
Functions
13,008
◇
Types & classes
2,676
↳
Endpoints
753
↓ 4 callers
Method
_setup_messages
Set up messages for the agent execution.
lib/crewai/src/crewai/experimental/agent_executor.py:300
↓ 4 callers
Method
_should_defer_trace_finalization
Whether this kickoff should defer final flow trace finalization.
lib/crewai/src/crewai/flow/runtime/__init__.py:465
↓ 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/experimental/agent_executor.py:543
↓ 4 callers
Method
_spinner
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1200
↓ 4 callers
Function
_supports_native_structured_outputs
Check if the model supports native structured outputs. Native structured outputs are only available for Claude 4.5 models (Sonnet 4.5, Opus 4
lib/crewai/src/crewai/llms/providers/anthropic/completion.py:72
↓ 4 callers
Function
_tar_from_members
Build an in-memory tar archive via `build(tf)` and return it for reading.
lib/crewai/tests/experimental/skills/test_cache.py:40
↓ 4 callers
Method
_tick
(self)
lib/cli/src/crewai_cli/crew_run_tui.py:1182
↓ 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:1889
↓ 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:52
↓ 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:271
↓ 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:382
↓ 4 callers
Function
aget_all_files
Get merged crew and task files asynchronously. Task files override crew files with the same name. Args: crew_id: Unique identifier f
lib/crewai/src/crewai/utilities/file_store.py:154
↓ 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:482
↓ 4 callers
Function
call_stream_override
Override streaming for ``llm`` within the current call scope.
lib/crewai/src/crewai/llms/base_llm.py:127
↓ 4 callers
Function
clear_before_tool_call_hooks
Clear all registered global before_tool_call hooks. Returns: Number of hooks that were cleared Example: >>> register_before_
lib/crewai/src/crewai/hooks/tool_hooks.py:349
↓ 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:222
↓ 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:42
↓ 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
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:383
↓ 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:335
↓ 4 callers
Function
create_client
Create a client from configuration using the appropriate factory. Args: config: The RAG client configuration. Returns: The c
lib/crewai/src/crewai/rag/factory.py:41
↓ 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_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:652
↓ 4 callers
Method
crew
(self)
lib/crewai/tests/test_crew.py:4506
↓ 4 callers
Function
crew_factory
(simple_agent_factory, simple_task_factory)
lib/crewai/tests/test_crew_thread_safety.py:35
↓ 4 callers
Method
crew_status_by_name
(self, project_name: str)
lib/crewai-core/src/crewai_core/plus_api.py:317
↓ 4 callers
Method
crew_status_by_uuid
(self, uuid: str)
lib/crewai-core/src/crewai_core/plus_api.py:322
↓ 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:421
↓ 4 callers
Method
env_context_span
Records the coding tool environment context.
lib/crewai/src/crewai/telemetry/telemetry.py:997
↓ 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
Method
exec_module
(self, module: ModuleType)
lib/crewai/src/crewai/cli/__init__.py:39
↓ 4 callers
Method
fetch
Fetch latest updates from the remote.
lib/cli/src/crewai_cli/git.py:54
↓ 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:976
↓ 4 callers
Function
find_json_project_file
Return ``stem.jsonc`` or ``stem.json``, preferring JSONC.
lib/crewai/src/crewai/project/json_loader.py:173
↓ 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:355
↓ 4 callers
Function
get_auth_token
Return the saved authentication token; raise ``AuthError`` if missing.
lib/crewai-core/src/crewai_core/auth/token.py:12
↓ 4 callers
Method
get_cached_path
Return the cached skill directory path if it exists, else None.
lib/crewai/src/crewai/experimental/skills/cache.py:42
↓ 4 callers
Function
get_conversation_messages
Read message history from flow state or the internal fallback buffer.
lib/crewai/src/crewai/flow/conversation.py:97
↓ 4 callers
Function
get_env_context
()
lib/crewai/src/crewai/utilities/env.py:27
↓ 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
Function
get_project_name
Return the project name from ``pyproject.toml``.
lib/crewai-core/src/crewai_core/project.py:201
↓ 4 callers
Method
get_record
Return a single record by ID, or None if not found. Args: record_id: The unique ID of the record. Returns: T
lib/crewai/src/crewai/memory/storage/backend.py:106
↓ 4 callers
Method
get_scope_info
Get information about a scope. Args: scope: The scope path. Returns: ScopeInfo with record count, categories
lib/crewai/src/crewai/memory/storage/backend.py:135
↓ 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
Function
guardrail
(result: TaskOutput)
lib/crewai/tests/test_task_guardrails.py:53
↓ 4 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:670
↓ 4 callers
Method
has_tool_outputs
Check if there are any built-in tool outputs.
lib/crewai/src/crewai/llms/providers/openai/completion.py:152
↓ 4 callers
Method
initialize
()
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:1997
↓ 4 callers
Method
initialize_for_first_time_user
Check if this is first time and initialize collection.
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:30
↓ 4 callers
Method
invoke
Execute the agent with given inputs. Args: inputs: Input dictionary containing prompt variables. Returns: Di
lib/crewai/src/crewai/agents/crew_agent_executor.py:208
↓ 4 callers
Function
is_inside_event_loop
Check if code is currently running inside an asyncio event loop. This is used to detect when code is being called from within an async context
lib/crewai/src/crewai/utilities/agent_utils.py:82
↓ 4 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:1299
↓ 4 callers
Function
is_registry_ref
Return True if *value* looks like a registry reference (@org/name).
lib/crewai/src/crewai/experimental/skills/registry.py:31
↓ 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
list_triggers
List all available triggers from integrations.
lib/cli/src/crewai_cli/triggers/main.py:23
↓ 4 callers
Method
load
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/mdx_loader.py:18
↓ 4 callers
Method
load
(self, source_content: SourceContent, **kwargs: Any)
lib/crewai-tools/src/crewai_tools/rag/loaders/csv_loader.py:11
↓ 4 callers
Method
load
Load all stored task outputs. Returns: List of task output dictionaries, or None if no outputs exist.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:82
↓ 4 callers
Function
load_crew_from_definition
Load a ``Crew`` from an in-memory JSON/YAML crew definition.
lib/crewai/src/crewai/project/crew_loader.py:40
↓ 4 callers
Function
load_from_url
Load content from a URL. Args: url: The URL to fetch content from kwargs: Additional keyword arguments (can include 'headers' ove
lib/crewai-tools/src/crewai_tools/rag/loaders/utils.py:6
↓ 4 callers
Function
load_skill_instructions
Promote a skill to INSTRUCTIONS disclosure level. Reads the full SKILL.md body text. Args: skill: Skill at METADATA level. Retu
lib/crewai/src/crewai/skills/parser.py:129
↓ 4 callers
Function
load_skills
Load skill inputs into de-duplicated Skill objects. Preserves first-seen order when multiple inputs resolve to the same skill name. Registry
lib/crewai/src/crewai/skills/loader.py:190
↓ 4 callers
Method
log_success_event
Log successful LLM API call and track token usage.
lib/crewai/src/crewai/utilities/token_counter_callback.py:37
↓ 4 callers
Method
mark_failed
Mark a todo as failed by step number.
lib/crewai/src/crewai/utilities/planning_types.py:104
↓ 4 callers
Function
mock_driver_with_html
(html_content)
lib/crewai-tools/tests/tools/selenium_scraping_tool_test.py:12
↓ 4 callers
Function
normalize_package_name
Normalize a pyproject project.name into a Python package directory name. Mirrors the rules in ``crewai.cli.create_crew.create_crew`` so the v
lib/cli/src/crewai_cli/deploy/validate.py:111
↓ 4 callers
Method
on_tool_use_finished
( self, tool: Any, tool_calling: ToolCalling | InstructorToolCalling, from_cac
lib/crewai/src/crewai/tools/tool_usage.py:975
↓ 4 callers
Method
origin_url
Get the Git repository's remote URL.
lib/cli/src/crewai_cli/git.py:191
↓ 4 callers
Function
parse
Parse agent output text into AgentAction or AgentFinish. Expects output to be in one of two formats. If the output signals that an action sh
lib/crewai/src/crewai/agents/parser.py:62
↓ 4 callers
Method
parseColor
(color)
lib/crewai/src/crewai/flow/visualization/assets/interactive.js:274
↓ 4 callers
Function
parse_skill_md
Read and parse a SKILL.md file. Args: path: Path to the SKILL.md file. Returns: Tuple of (SkillFrontmatter, body text).
lib/crewai/src/crewai/skills/parser.py:76
↓ 4 callers
Function
parse_tools
Parse tools to be used for the task. Args: tools: List of tools to parse. Returns: List of structured tools. Raises:
lib/crewai/src/crewai/utilities/agent_utils.py:99
↓ 4 callers
Method
plot
Create interactive HTML visualization of Flow structure. Args: filename: Output HTML filename (default: "crewai_flow.html").
lib/crewai/src/crewai/flow/runtime/__init__.py:3672
↓ 4 callers
Function
pop_event_scope
Pop an event entry from the scope stack.
lib/crewai/src/crewai/events/event_context.py:185
↓ 4 callers
Function
prepare_kickoff
Prepare crew for kickoff execution. Handles before callbacks, event emission, task handler reset, input interpolation, task callbacks, agent
lib/crewai/src/crewai/crews/utils.py:249
↓ 4 callers
Function
process_guardrail
Process the guardrail for the agent output. Args: output: The output to validate with the guardrail guardrail: The guardrail to v
lib/crewai/src/crewai/utilities/guardrail.py:123
↓ 4 callers
Function
prompt_for_inputs
Prompt for each name and return ``{name: value}``. ``describe(name)`` returns an optional hint shown dim above the prompt (used by flows to s
lib/cli/src/crewai_cli/input_prompt.py:53
↓ 4 callers
Method
prune
Remove old checkpoints, keeping at most *max_keep* per branch. Args: location: The storage destination passed to ``checkpoint``.
lib/crewai/src/crewai/state/provider/core.py:64
↓ 4 callers
Function
prune_checkpoints
( location: str, keep: int | None, older_than: str | None, dry_run: bool = False )
lib/cli/src/crewai_cli/checkpoint_cli.py:691
↓ 4 callers
Function
read_file
(path)
lib/crewai-tools/tests/tools/test_file_writer_tool.py:33
↓ 4 callers
Function
record
(method_name: str)
lib/crewai/tests/test_flow.py:1523
↓ 4 callers
Method
record
(cls, tool_name: str, start: float, end: float)
lib/crewai/tests/agents/test_native_tool_calling.py:93
↓ 4 callers
Function
register_cleanup
Register a cleanup callback on the streaming output. Ensures the event handler is unregistered even if aclose()/close() is called before iter
lib/crewai/src/crewai/utilities/streaming.py:400
↓ 4 callers
Method
request_human_input
Request human input during tool hook execution. This method pauses live console updates, displays a prompt to the user, waits for the
lib/crewai/src/crewai/hooks/tool_hooks.py:85
↓ 4 callers
Method
reset
Reset all settings to default values.
lib/crewai-core/src/crewai_core/settings.py:227
↓ 4 callers
Function
resolve_ref
Return the Python symbol named by a project definition field.
lib/crewai/src/crewai/utilities/declarative_refs.py:41
↓ 4 callers
Method
sanitize_tool_name
Sanitize tool name for API compatibility.
lib/crewai/src/crewai/agents/agent_adapters/base_tool_adapter.py:38
↓ 4 callers
Method
save_pending_feedback
(self, flow_uuid, context, state_data)
lib/crewai/tests/test_flow_from_definition.py:3354
← previous
next →
801–900 of 13,008, ranked by callers