MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,264 in github.com/crewAIInc/crewAI

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/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:168
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:45
Method__init__
Initialize ChromaDBClient with client and embedding function. Args: client: Pre-configured ChromaDB client instance.
lib/crewai/src/crewai/rag/chromadb/client.py:52
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
Method__init__
Initialize the memory saver.
lib/crewai/src/crewai/agents/agent_adapters/langgraph/protocols.py:13
Method__init__
Initialize the LangGraph agent adapter. Args: role: The role description for the agent. goal: The primary goal the ag
lib/crewai/src/crewai/agents/agent_adapters/langgraph/langgraph_adapter.py:63
Method__init__
( self, turns: TurnRunner, *, is_relevant: Callable[[JobRecord], bool] | None
lib/crewai/src/crewai/experimental/flow_replies.py:108
Method__init__
(self, *, publish: UpdatePublisher, **kwargs: Any)
lib/crewai/src/crewai/experimental/flow_jobs.py:193
Method__init__
( self, flow: Flow[Any], *, public_methods: Collection[str] = ("converse_turn"
lib/crewai/src/crewai/experimental/flow_turns.py:119
Method__init__
Initialize the evaluation trace callback.
lib/crewai/src/crewai/experimental/evaluation/evaluation_listener.py:48
Method__init__
(self, llm: BaseLLM | None = None)
lib/crewai/src/crewai/experimental/evaluation/base_evaluator.py:53
Method__init__
(self)
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:40
Method__init__
( self, agents: list[Agent] | list[BaseAgent], evaluators: Sequence[BaseEvaluator] | N
lib/crewai/src/crewai/experimental/evaluation/agent_evaluator.py:48
Method__init__
(self)
lib/crewai/src/crewai/experimental/evaluation/evaluation_display.py:21
Method__init__
(self, dataset: list[dict[str, Any]])
lib/crewai/src/crewai/experimental/evaluation/experiment/runner.py:27
Method__init__
( self, results: list[ExperimentResult], metadata: dict[str, Any] | None = None )
lib/crewai/src/crewai/experimental/evaluation/experiment/result.py:19
Method__init__
(self)
lib/crewai/src/crewai/experimental/evaluation/experiment/result_display.py:11
← previousnext →5,701–5,800 of 19,264, ranked by callers