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
Method
__init__
Initialize LanceDB storage. Args: path: Directory path for the LanceDB database. Defaults to ``$CREWAI_STORAGE_
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:69
Method
__init__
(self, stored_dim: int, new_dim: int)
lib/crewai/src/crewai/memory/storage/backend.py:23
Method
__init__
Initialize Qdrant Edge storage. Args: path: Base directory for shard storage. Defaults to ``$CREWAI_STORAGE_DIR/m
lib/crewai/src/crewai/memory/storage/qdrant_edge_storage.py:90
Method
__init__
(self, db_path: str | None = None)
lib/crewai/src/crewai/memory/storage/kickoff_task_outputs_storage.py:25
Method
__init__
(self, target_name: str)
lib/crewai/src/crewai/cli/__init__.py:33
Method
__init__
Initialize CrewPlanner with tasks and optional planning agent LLM. Args: tasks: List of tasks to be planned. planning
lib/crewai/src/crewai/utilities/planning_handler.py:46
Method
__init__
Initialize the read-write lock.
lib/crewai/src/crewai/utilities/rw_lock.py:24
Method
__init__
Initialize the database operation error. Args: message: The error message to display original_error: The original exc
lib/crewai/src/crewai/utilities/errors.py:17
Method
__init__
Initialize the FileHandler with the specified file path. Args: file_path: Path to the log file or boolean flag.
lib/crewai/src/crewai/utilities/file_handler.py:37
Method
__init__
Initialize the PickleHandler with the name of the file where data will be stored. The file will be saved in the current directory. A
lib/crewai/src/crewai/utilities/file_handler.py:127
Method
__init__
Initialize the ConverterError with a message. Args: message: The error message. *args: Additional arguments for the b
lib/crewai/src/crewai/utilities/converter.py:34
Method
__init__
Initialize InternalInstructor. Args: content: The content to be processed model: The Pydantic model class for the res
lib/crewai/src/crewai/utilities/internal_instructor.py:42
Method
__init__
Initialize the task output storage handler.
lib/crewai/src/crewai/utilities/task_output_storage_handler.py:25
Method
__init__
Initialize the AgentReasoning with an agent and optional task. Args: agent: The agent performing the planning. task:
lib/crewai/src/crewai/utilities/reasoning_handler.py:122
Method
__init__
Create an execution-scoped store under the system temp directory. Args: base_dir: Parent directory for the private execution dire
lib/crewai/src/crewai/utilities/tool_result_artifacts.py:40
Method
__init__
( self, token_cost_process: TokenProcess | None = None, /, **kwargs: Any )
lib/crewai/src/crewai/utilities/token_counter_callback.py:31
Method
__init__
Initialize the exception with the original error message. Args: error_message: The original error message from the LLM.
lib/crewai/src/crewai/utilities/exceptions/context_window_exceeding_exception.py:25
Method
__init__
( self, crew: Crew, eval_llm: BaseLLM | str | None = None, openai_model_name:
lib/crewai/src/crewai/utilities/evaluators/crew_evaluator_handler.py:40
Method
__init__
Initializes the TaskEvaluator with the given LLM and agent. Args: original_agent: The agent to evaluate.
lib/crewai/src/crewai/utilities/evaluators/task_evaluator.py:60
Method
__init__
(self, model: str)
lib/crewai/src/crewai/llms/base_llm.py:140
Method
__init__
Initialize async transport with interceptor. Args: interceptor: HTTP interceptor for modifying raw request/response objects.
lib/crewai/src/crewai/llms/hooks/transport.py:98
Method
__init__
( self, collection_name: str, sources: list[BaseKnowledgeSource], embedder: Em
lib/crewai/src/crewai/knowledge/knowledge.py:111
Method
__init__
(self, **fields: Any)
lib/crewai/src/crewai/a2a/utils/logging.py:92
Method
__init__
(self, metadata: list[tuple[str, str]])
lib/crewai/src/crewai/a2a/utils/delegation.py:857
Method
__init__
( self, client_input_modes: list[str], client_output_modes: list[str], server_
lib/crewai/src/crewai/a2a/utils/content_type.py:61
Method
__init__
Initialize the error with negotiation details. Args: client_transports: Transports supported by the client. server_tr
lib/crewai/src/crewai/a2a/utils/transport.py:51
Method
__init__
( self, status_code: int, detail: str | None = None, headers:
lib/crewai/src/crewai/a2a/auth/server_schemes.py:55
Method
__init__
Initialize the extension registry.
lib/crewai/src/crewai/a2a/extensions/base.py:174
Method
__init__
Initialize the registry with optional extensions. Args: extensions: Initial list of extensions to register.
lib/crewai/src/crewai/a2a/extensions/server.py:196
Method
__init__
Initialize with extension URIs. Args: extensions: List of extension URIs the client supports.
lib/crewai/src/crewai/a2a/extensions/registry.py:58
Method
__init__
(self, message: str, errors: list[Any] | None = None)
lib/crewai/src/crewai/a2a/extensions/a2ui/validator.py:79
Method
__init__
Initialize the A2UI client extension. Args: catalog_id: Catalog identifier to use for prompt generation. allowed_comp
lib/crewai/src/crewai/a2a/extensions/a2ui/client_extension.py:195
Method
__init__
Initialize the A2UI server extension. Args: catalog_ids: Catalog identifiers this server supports. accept_inline_cata
lib/crewai/src/crewai/a2a/extensions/a2ui/server_extension.py:52
Method
__init__
Initialize MCP client. Args: transport: Transport instance for MCP server connection. connect_timeout: Connection tim
lib/crewai/src/crewai/mcp/client.py:84
Method
__init__
Initialize static tool filter. Args: allowed_tool_names: List of tool names to allow. If None, all tools are allo
lib/crewai/src/crewai/mcp/filters.py:54
Method
__init__
Create an MCPConnectionError. Args: message: Description of the failure. status_code: HTTP status the server responde
lib/crewai/src/crewai/mcp/exceptions.py:56
Method
__init__
Create an MCPAuthenticationError. Args: status_code: HTTP status the server responded with (401 or 403). detail: Opti
lib/crewai/src/crewai/mcp/exceptions.py:70
Method
__init__
(self, agent: Any, logger: Logger)
lib/crewai/src/crewai/mcp/tool_resolver.py:72
Method
__init__
Initialize the transport. Args: **kwargs: Transport-specific configuration options.
lib/crewai/src/crewai/mcp/transports/base.py:33
Method
__init__
Initialize HTTP transport. Args: url: Server URL (e.g., "https://api.example.com/mcp"). headers: Optional HTTP header
lib/crewai/src/crewai/mcp/transports/http.py:46
Method
__init__
Initialize stdio transport. Args: command: Command to execute (e.g., "python", "node", "npx"). args: Command argument
lib/crewai/src/crewai/mcp/transports/stdio.py:42
Method
__init__
Initialize SSE transport. Args: url: Server URL (e.g., "https://api.example.com/mcp/sse"). headers: Optional HTTP hea
lib/crewai/src/crewai/mcp/transports/sse.py:27
Method
__init__
(self)
lib/crewai/src/crewai/events/event_listener.py:165
Method
__init__
Initialize a dependency on a handler. Args: handler: The handler function this depends on
lib/crewai/src/crewai/events/depends.py:66
Method
__init__
Initialize the circular dependency error. Args: handlers: The handlers involved in the circular dependency
lib/crewai/src/crewai/events/handler_graph.py:22
Method
__init__
Initialize the event listener and register handlers.
lib/crewai/src/crewai/events/base_event_listener.py:13
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/crew_events.py:18
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/llm_guardrail_events.py:36
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/llm_events.py:131
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/reasoning_events.py:18
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/memory_events.py:17
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/tool_usage_events.py:123
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/mcp_events.py:18
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/artifact_events.py:25
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/observation_events.py:23
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/knowledge_events.py:14
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/skill_events.py:22
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/task_events.py:120
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/task_events.py:132
Method
__init__
(self, **data: Any)
lib/crewai/src/crewai/events/types/task_events.py:188
Method
__init__
(self, verbose: bool = False)
lib/crewai/src/crewai/events/utils/console_formatter.py:43
Method
__init__
(self)
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:62
Method
__init__
Initialize trace collection listener. Args: batch_manager: Optional trace batch manager instance. formatter: Optional
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:169
Method
__init__
(self)
lib/crewai/src/crewai/events/listeners/tracing/first_time_trace_handler.py:23
Method
__init__
( self, condition: Callable[[Any], bool] | None = None, **kwargs: Any, )
lib/crewai/src/crewai/tasks/conditional_task.py:33
Method
__init__
Initialize the HallucinationGuardrail placeholder. Args: llm: The language model that would be used for evaluation. c
lib/crewai/src/crewai/tasks/hallucination_guardrail.py:52
Method
__init__
( self, description: str, llm: BaseLLM, )
lib/crewai/src/crewai/tasks/llm_guardrail.py:61
Method
__init__
Initialize the module wrapper. Args: module_name: Name of the module.
lib/crewai/src/crewai/rag/__init__.py:22
Method
__init__
Initialize WatsonX embedding function. Args: verbose: Whether to print error messages. **kwargs: Configuration parame
lib/crewai/src/crewai/rag/embeddings/providers/ibm/embedding_callable.py:16
Method
__init__
( self, *, conn: Any | None = None, connection_params: dict[str, Any] | None =
lib/crewai/src/crewai/rag/embeddings/providers/oracle/embedding_callable.py:18
Method
__init__
Initialize VoyageAI embedding function. Args: **kwargs: Configuration parameters for VoyageAI.
lib/crewai/src/crewai/rag/embeddings/providers/voyageai/embedding_callable.py:15
Method
__init__
Initialize Google Vertex AI embedding function. Args: **kwargs: Configuration parameters including: - model_name:
lib/crewai/src/crewai/rag/embeddings/providers/google/genai_vertex_embedding.py:73
Method
__init__
Initialize the OpenAI embedding function. Args: api_key: API key. Falls back to the OPENAI_API_KEY environment variable.
lib/crewai/src/crewai/rag/embeddings/providers/openai/embedding_callable.py:21
Method
__init__
Create a ClientMethodMismatchError. Args: method_name: Method that was called incorrectly. expected_client: Required
lib/crewai/src/crewai/rag/core/exceptions.py:11
Method
__init__
( self, type: str, allow_reset: bool = True, embedder_config: ProviderSpec | B
lib/crewai/src/crewai/rag/storage/base_rag_storage.py:15
Method
__init__
Initialize QdrantClient with client and embedding function. Args: client: Pre-configured Qdrant client instance. embe
lib/crewai/src/crewai/rag/qdrant/client.py:50
Method
__init__
Initialize the adapter. Args: embedding_function: CrewAI embedding function to wrap.
lib/crewai/src/crewai/rag/qdrant/embedding_adapter.py:21
Method
__init__
(self, **kwargs: Any)
lib/crewai/src/crewai/rag/qdrant/factory.py:32
Method
__init__
Initialize ChromaDBClient with client and embedding function. Args: client: Pre-configured ChromaDB client instance.
lib/crewai/src/crewai/rag/chromadb/client.py:53
Method
__init__
(self, cache_root: Path | None = None)
lib/crewai/src/crewai/skills/cache.py:37
Method
__init__
Initialize hook context with executor reference or direct parameters. Args: executor: The AgentExecutor or LiteAgent instance (No
lib/crewai/src/crewai/hooks/llm_hooks.py:67
Method
__init__
Initialize tool call hook context. Args: tool_name: Name of the tool being called tool_input: Tool input parameters (
lib/crewai/src/crewai/hooks/tool_hooks.py:54
Method
__init__
(self, reason: str, source: Any = None)
lib/crewai/src/crewai/hooks/dispatch.py:84
Method
__init__
Initialize the hook method wrapper. Args: meth: The method to wrap agents: Optional list of agent roles to filter
lib/crewai/src/crewai/hooks/wrappers.py:38
Method
__init__
Initialize the hook method wrapper.
lib/crewai/src/crewai/hooks/wrappers.py:82
Method
__init__
Initialize the hook method wrapper.
lib/crewai/src/crewai/hooks/wrappers.py:108
Method
__init__
Initialize the hook method wrapper.
lib/crewai/src/crewai/hooks/wrappers.py:136
Method
__init__
Initialize OutputParserError. Args: error: The error message.
lib/crewai/src/crewai/agents/parser.py:52
Method
__init__
( self, agent: BaseAgent, task: Task | None = None, kickoff_input: str = "",
lib/crewai/src/crewai/agents/planner_observer.py:58
Method
__init__
( self, llm: BaseLLM, tools: list[CrewStructuredTool], agent: BaseAgent,
lib/crewai/src/crewai/agents/step_executor.py:96
Method
__init__
Initialize the converter adapter. Args: agent_adapter: The agent adapter to configure for structured output.
lib/crewai/src/crewai/agents/agent_adapters/base_converter_adapter.py:39
Method
__init__
(self, agent_config: dict[str, Any] | None = None, **kwargs: Any)
lib/crewai/src/crewai/agents/agent_adapters/base_agent_adapter.py:28
Method
__init__
(self, tools: list[BaseTool] | None = None)
lib/crewai/src/crewai/agents/agent_adapters/base_tool_adapter.py:21
Method
__init__
Initialize the OpenAI agent adapter. Args: **kwargs: All initialization arguments including role, goal, backstory,
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/openai_adapter.py:71
Method
__init__
Initialize the converter adapter with a reference to the agent adapter. Args: agent_adapter: The OpenAI agent adapter instance.
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/structured_output_converter.py:24
Method
__init__
Initialize the OpenAI agent.
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/protocols.py:24
Method
__init__
Initialize the function tool.
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/protocols.py:66
Method
__init__
Initialize the tool adapter. Args: tools: Optional list of CrewAI tools to adapt.
lib/crewai/src/crewai/agents/agent_adapters/openai_agents/openai_agent_tool_adapter.py:41
Method
__init__
Initialize the tool adapter. Args: tools: Optional list of CrewAI tools to adapt.
lib/crewai/src/crewai/agents/agent_adapters/langgraph/langgraph_tool_adapter.py:22
Method
__init__
Initialize the converter adapter with a reference to the agent adapter. Args: agent_adapter: The LangGraph agent adapter instance
lib/crewai/src/crewai/agents/agent_adapters/langgraph/structured_output_converter.py:22
← previous
next →
5,801–5,900 of 19,663, ranked by callers