MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / types & classes

Types & classes2,624 in github.com/crewAIInc/crewAI

↓ 655 callersClassLLM
lib/crewai/src/crewai/llm.py:368
↓ 542 callersClassAgent
Represents an agent in a system. Each agent has a role, a goal, a backstory, and an optional language model (llm). The agent can also have me
lib/crewai/src/crewai/agent/core.py:170
↓ 449 callersClassTask
Class that represents a task to be executed. Each task must have a description, an expected output and an agent responsible for execution. A
lib/crewai/src/crewai/task.py:114
↓ 371 callersClassCrew
Represents a group of agents, defining how they should collaborate and the tasks they should perform. Attributes: tasks: list of
lib/crewai/src/crewai/crew.py:159
↓ 95 callersClassFileBytes
File created from raw bytes content.
lib/crewai-files/src/crewai_files/core/sources.py:300
↓ 93 callersClassImageFile
File representing an image. Supports common image formats: PNG, JPEG, GIF, WebP, BMP, TIFF, SVG.
lib/crewai-files/src/crewai_files/core/types.py:237
↓ 86 callersClassOauth2Settings
OAuth2 provider configuration.
lib/crewai-core/src/crewai_core/auth/oauth2.py:23
↓ 81 callersClassSourceContent
lib/crewai-tools/src/crewai_tools/rag/source_content.py:16
↓ 68 callersClassMemory
Unified memory: standalone, LLM-analyzed, with intelligent recall flow. Works without agent/crew. Uses LLM to infer scope, categories, importance
lib/crewai/src/crewai/memory/unified_memory.py:76
↓ 65 callersClassTaskOutput
Class that represents the result of a task. Attributes: description: Description of the task name: Optional name of the task
lib/crewai/src/crewai/tasks/task_output.py:14
↓ 65 callersClassText
Displays text content.
lib/crewai/src/crewai/a2a/extensions/a2ui/catalog.py:141
↓ 59 callersClassOpenAICompletion
OpenAI native completion implementation. This class provides direct integration with the OpenAI Python SDK, supporting both Chat Completions
lib/crewai/src/crewai/llms/providers/openai/completion.py:166
↓ 50 callersClassEnvVar
lib/crewai/src/crewai/tools/base_tool.py:96
↓ 45 callersClassAgentFinish
Represents the final answer from an agent.
lib/crewai/src/crewai/agents/parser.py:37
↓ 42 callersClassSQLiteFlowPersistence
SQLite-based implementation of flow state persistence. This class provides a simple, file-based persistence implementation using SQLite. It's
lib/crewai/src/crewai/flow/persistence/sqlite.py:24
↓ 42 callersClassSettings
CrewAI platform settings persisted to ``~/.config/crewai/settings.json``.
lib/crewai-core/src/crewai_core/settings.py:147
↓ 40 callersClassTodoItem
A single todo item representing a step in the execution plan.
lib/crewai/src/crewai/utilities/planning_types.py:27
↓ 39 callersClassTestFlow
lib/crewai/tests/test_flow_ask.py:133
↓ 37 callersClassTextFile
File representing a text document. Supports common text formats: TXT, MD, RST, CSV, JSON, XML, YAML, HTML.
lib/crewai-files/src/crewai_files/core/types.py:248
↓ 34 callersClassOktaProvider
Okta OAuth2 provider implementation.
lib/crewai-core/src/crewai_core/auth/providers/okta.py:8
↓ 32 callersClassPendingFeedbackContext
Context capturing everything needed to resume a paused flow. When a flow is paused waiting for async human feedback, this dataclass stores al
lib/crewai/src/crewai/flow/async_feedback/types.py:19
↓ 31 callersClassCheckpointConfig
Configuration for automatic checkpointing. When set on a Crew, Flow, or Agent, checkpoints are written automatically whenever the specified e
lib/crewai/src/crewai/state/checkpoint_config.py:159
↓ 31 callersClassToolCallHookContext
Context object passed to tool call hooks. Provides hooks with access to the tool being called, its input, the agent/task/crew context, and th
lib/crewai/src/crewai/hooks/tool_hooks.py:24
↓ 30 callersClassTodoList
Collection of todos for tracking plan execution.
lib/crewai/src/crewai/utilities/planning_types.py:45
↓ 30 callersClassTokenManager
Manages encrypted token storage on disk under platform-appropriate paths.
lib/crewai-core/src/crewai_core/token_manager.py:19
↓ 29 callersClassPDFFile
File representing a PDF document.
lib/crewai-files/src/crewai_files/core/types.py:244
↓ 28 callersClassFileUrl
File referenced by URL. For providers that support URL references, the URL is passed directly. For providers that don't, content is fetched o
lib/crewai-files/src/crewai_files/core/sources.py:489
↓ 27 callersClassPlanningConfig
Configuration for agent planning/reasoning before task execution. This allows users to customize the planning behavior including prompts, ite
lib/crewai/src/crewai/agent/planning_config.py:11
↓ 27 callersClassToolUsage
Class that represents the usage of a tool by an agent. Attributes: task: Task being executed. tools_handler: Tools handler that
lib/crewai/src/crewai/tools/tool_usage.py:76
↓ 26 callersClassFile
Generic file that auto-detects the appropriate type. Use this when you don't want to specify the exact file type. The content type is automat
lib/crewai-files/src/crewai_files/core/types.py:269
↓ 26 callersClassLLMCallHookContext
Context object passed to LLM call hooks. Provides hooks with complete access to the execution state, allowing modification of messages, respo
lib/crewai/src/crewai/hooks/llm_hooks.py:24
↓ 26 callersClassStringKnowledgeSource
A knowledge source that stores and queries plain text content using embeddings.
lib/crewai/src/crewai/knowledge/source/string_knowledge_source.py:8
↓ 25 callersClassTraceCollectionListener
Trace collection listener that orchestrates trace collection.
lib/crewai/src/crewai/events/listeners/tracing/trace_listener.py:137
↓ 24 callersClassUsageMetrics
Track usage metrics for crew execution. Attributes: total_tokens: Total number of tokens used. prompt_tokens: Number of tokens us
lib/crewai/src/crewai/types/usage_metrics.py:32
↓ 23 callersClassFlow
Public Flow class with experimental conversational extension behavior.
lib/crewai/src/crewai/flow/flow.py:33
↓ 23 callersClassKnowledgeStorage
Extends Storage to handle embeddings for memory entries, improving search efficiency.
lib/crewai/src/crewai/knowledge/storage/knowledge_storage.py:22
↓ 22 callersClassJsonProvider
Persists runtime state checkpoints as JSON files on the local filesystem.
lib/crewai/src/crewai/state/provider/json_provider.py:37
↓ 22 callersClassMemoryRecord
A single memory entry stored in the memory system.
lib/crewai/src/crewai/memory/types.py:20
↓ 21 callersClassAzureCompletion
Azure AI Inference native completion implementation. This class provides direct integration with the Azure AI Inference Python SDK, offering
lib/crewai/src/crewai/llms/providers/azure/completion.py:71
↓ 21 callersClassConsoleFormatter
lib/crewai/src/crewai/events/utils/console_formatter.py:30
↓ 21 callersClassDeployValidator
Runs the full pre-deploy validation suite against a project directory.
lib/cli/src/crewai_cli/deploy/validate.py:122
↓ 21 callersClassSingleStoreSearchTool
A tool for performing semantic searches on SingleStore database tables. This tool provides a safe interface for executing SELECT and SHOW queries
lib/crewai-tools/src/crewai_tools/tools/singlestore_search_tool/singlestore_search_tool.py:34
↓ 21 callersClassSkillFrontmatter
YAML frontmatter from a SKILL.md file. Attributes: name: Unique skill identifier (1-64 chars, lowercase alphanumeric + hyphens).
lib/crewai/src/crewai/skills/models.py:43
↓ 20 callersClassA2AServerConfig
Configuration for exposing a Crew or Agent as an A2A server. All fields correspond to A2A AgentCard fields. Fields like name, description, an
lib/crewai/src/crewai/a2a/config.py:552
↓ 20 callersClassJSONProjectError
User-facing error raised while loading JSON-first crew projects.
lib/crewai/src/crewai/project/json_loader.py:25
↓ 20 callersClassRuntimeState
lib/crewai/src/crewai/state/runtime.py:177
↓ 20 callersClassSecurityConfig
Configuration for CrewAI security features. This class manages security settings for CrewAI agents, including: - Authentication credenti
lib/crewai/src/crewai/security/security_config.py:20
↓ 19 callersClassConverter
Class that converts text into either pydantic or json.
lib/crewai/src/crewai/utilities/converter.py:42
↓ 19 callersClassFileResolver
Resolves files to their delivery format based on provider capabilities. Decides whether to use inline base64, raw bytes, or file upload based on:
lib/crewai-files/src/crewai_files/resolution/resolver.py:71
↓ 18 callersClassEntraIdProvider
Entra ID (Azure AD) OAuth2 provider implementation.
lib/crewai-core/src/crewai_core/auth/providers/entra_id.py:10
↓ 18 callersClassLLMContextLengthExceededError
Exception raised when the context length of a language model is exceeded. Attributes: original_error_message: The original error message
lib/crewai/src/crewai/utilities/exceptions/context_window_exceeding_exception.py:16
↓ 18 callersClassToolUsageStartedEvent
Event emitted when a tool execution is started
lib/crewai/src/crewai/events/types/tool_usage_events.py:56
↓ 18 callersClassWebPageLoader
lib/crewai-tools/src/crewai_tools/rag/loaders/webpage_loader.py:15
↓ 17 callersClassCrewStreamingOutput
Streaming output wrapper for crew execution. Provides both sync and async iteration over stream chunks, with access to the final CrewOutput v
lib/crewai/src/crewai/types/streaming.py:497
↓ 17 callersClassKnowledge
Knowledge is a collection of sources and setup for the vector store to save and query relevant context. Args: sources: list[BaseKnowl
lib/crewai/src/crewai/knowledge/knowledge.py:88
↓ 17 callersClassLLMStreamChunkEvent
Event emitted when a streaming chunk is received
lib/crewai/src/crewai/events/types/llm_events.py:136
↓ 17 callersClassSnowflakeCompletion
Snowflake Cortex REST API native completion implementation. Snowflake exposes an OpenAI-compatible Chat Completions endpoint at ``/api/v2/cor
lib/crewai/src/crewai/llms/providers/snowflake/completion.py:49
↓ 17 callersClassTelemetry
Handle anonymous telemetry for the CrewAI package. Attributes: ready: Whether telemetry is initialized and ready. trace_set: Whet
lib/crewai/src/crewai/telemetry/telemetry.py:90
↓ 17 callersClassTraceBatchManager
Single responsibility: Manage batches and event buffering
lib/crewai/src/crewai/events/listeners/tracing/trace_batch_manager.py:57
↓ 16 callersClassFileProcessor
Processes files according to provider constraints and per-file mode mode. Validates files against provider-specific limits and optionally transfo
lib/crewai-files/src/crewai_files/processing/processor.py:41
↓ 16 callersClassKeycloakProvider
Keycloak OAuth2 provider implementation.
lib/crewai-core/src/crewai_core/auth/providers/keycloak.py:8
↓ 16 callersClassLoaderResult
lib/crewai-tools/src/crewai_tools/rag/base_loader.py:10
↓ 16 callersClassVideoFile
File representing a video file. Supports common video formats: MP4, AVI, MKV, MOV, WebM, FLV, WMV.
lib/crewai-files/src/crewai_files/core/types.py:262
↓ 15 callersClassMockInputProvider
Mock input provider that returns pre-configured responses.
lib/crewai/tests/test_flow_ask.py:90
↓ 15 callersClassQdrantClient
Qdrant implementation of the BaseClient protocol. Provides vector database operations for Qdrant, supporting both synchronous and asynchronou
lib/crewai/src/crewai/rag/qdrant/client.py:32
↓ 15 callersClassUploadCache
Async cache for tracking uploaded files using aiocache. Supports in-memory caching by default, with optional Redis backend for distributed se
lib/crewai-files/src/crewai_files/cache/upload_cache.py:89
↓ 15 callersClassWorkosProvider
WorkOS OAuth2 provider implementation.
lib/crewai-core/src/crewai_core/auth/providers/workos.py:8
↓ 14 callersClassAudioFile
File representing an audio file. Supports common audio formats: MP3, WAV, OGG, FLAC, AAC, M4A, WMA.
lib/crewai-files/src/crewai_files/core/types.py:255
↓ 14 callersClassEventRecord
Directed record of execution events with O(1) node lookup. Events are added via :meth:`add` which automatically wires edges based on the even
lib/crewai/src/crewai/state/event_record.py:99
↓ 14 callersClassHumanFeedbackPending
Signal that flow execution should pause for async human feedback. When raised by a provider, the flow framework will: 1. Stop execution at th
lib/crewai/src/crewai/flow/async_feedback/types.py:141
↓ 14 callersClassInternalInstructor
Class that wraps an agent LLM with instructor for structured output generation. Attributes: content: The content to be processed
lib/crewai/src/crewai/utilities/internal_instructor.py:32
↓ 14 callersClassLogger
lib/crewai/src/crewai/utilities/logger.py:7
↓ 14 callersClassOpenAICompatibleCompletion
OpenAI-compatible completion implementation. This class provides support for various OpenAI-compatible APIs by automatically configuring the
lib/crewai/src/crewai/llms/providers/openai_compatible/completion.py:113
↓ 14 callersClassSkill
A loaded Agent Skill with progressive disclosure support. Attributes: frontmatter: Parsed YAML frontmatter. instructions: Full SK
lib/crewai/src/crewai/skills/models.py:96
↓ 13 callersClassConditionalTask
A task that can be conditionally executed based on the output of another task. This task type allows for dynamic workflow execution based on the
lib/crewai/src/crewai/tasks/conditional_task.py:14
↓ 13 callersClassEmbeddingService
Enhanced embedding service that uses CrewAI's existing embedding providers. Supports multiple providers: - openai: OpenAI embeddings (te
lib/crewai-tools/src/crewai_tools/rag/embedding_service.py:37
↓ 13 callersClassFingerprint
A class for generating and managing unique identifiers for agents. Each agent has dual identifiers: - Human-readable ID: For debugging and re
lib/crewai/src/crewai/security/fingerprint.py:41
↓ 13 callersClassImageConstraints
Constraints for image files. Attributes: max_size_bytes: Maximum file size in bytes. max_width: Maximum image width in pixels.
lib/crewai-files/src/crewai_files/processing/constraints.py:100
↓ 13 callersClassJSONProjectValidationError
Aggregates validation errors found without executing a JSON project.
lib/crewai/src/crewai/project/json_loader.py:29
↓ 13 callersClassLanceDBStorage
LanceDB-backed storage for the unified memory system.
lib/crewai/src/crewai/memory/storage/lancedb_storage.py:42
↓ 13 callersClassMCPServerAdapter
Manages the lifecycle of an MCP server and make its tools available to CrewAI. Note: tools can only be accessed after the server has been started
lib/crewai-tools/src/crewai_tools/adapters/mcp_adapter.py:97
↓ 13 callersClassPlanStep
A single step in the reasoning plan.
lib/crewai/src/crewai/utilities/planning_types.py:14
↓ 13 callersClassProviderConstraints
Complete set of constraints for a provider. Attributes: name: Provider name identifier. image: Image file constraints. pd
lib/crewai-files/src/crewai_files/processing/constraints.py:175
↓ 13 callersClassStreamChunk
Base streaming chunk with full context. Attributes: content: The streaming content (text or partial content) chunk_type: Type of
lib/crewai/src/crewai/types/streaming.py:300
↓ 12 callersClassAuth0Provider
Auth0 OAuth2 provider implementation.
lib/crewai-core/src/crewai_core/auth/providers/auth0.py:8
↓ 12 callersClassClientMethodMismatchError
Raised when a method is called with the wrong client type. Typically used when a sync method is called with an async client, or vice versa.
lib/crewai/src/crewai/rag/core/exceptions.py:4
↓ 12 callersClassCrewaiPlatformToolBuilder
Builds platform tools from remote action schemas.
lib/crewai-tools/src/crewai_tools/tools/crewai_platform_tools/crewai_platform_tool_builder.py:23
↓ 12 callersClassMemorySaveStartedEvent
Event emitted when a memory save operation is started
lib/crewai/src/crewai/events/types/memory_events.py:53
↓ 12 callersClassPlusAPI
Client for working with the CrewAI+ API.
lib/crewai-core/src/crewai_core/plus_api.py:140
↓ 12 callersClassSkillCacheManager
Manages the global skill cache at ~/.crewai/skills/.
lib/crewai/src/crewai/experimental/skills/cache.py:33
↓ 12 callersClassVideoConstraints
Constraints for video files. Attributes: max_size_bytes: Maximum file size in bytes. max_duration_seconds: Maximum video duration
lib/crewai-files/src/crewai_files/processing/constraints.py:147
↓ 11 callersClassDirectoryLoader
lib/crewai-tools/src/crewai_tools/rag/loaders/directory_loader.py:9
↓ 11 callersClassDummyInterceptor
Simple dummy interceptor for testing.
lib/crewai/tests/llms/hooks/test_unsupported_providers.py:23
↓ 11 callersClassLLMCallCompletedEvent
Event emitted when a LLM call completes
lib/crewai/src/crewai/events/types/llm_events.py:90
↓ 11 callersClassMergeAgentHandlerTool
Wrapper for Merge Agent Handler tools. This tool allows CrewAI agents to execute tools from Merge Agent Handler, which provides secure a
lib/crewai-tools/src/crewai_tools/tools/merge_agent_handler_tool/merge_agent_handler_tool.py:21
↓ 11 callersClassMessage
lib/crewai/tests/test_flow_persistence.py:201
↓ 11 callersClassRWLock
Read-write lock for managing concurrent read and exclusive write access. Allows multiple threads to acquire read locks simultaneously, but ensure
lib/crewai/src/crewai/utilities/rw_lock.py:12
↓ 11 callersClassRoutedFlow
lib/crewai/tests/test_flow_conversation.py:378
↓ 11 callersClassToolUsageErrorEvent
Event emitted when a tool execution encounters an error
lib/crewai/src/crewai/events/types/tool_usage_events.py:72
↓ 11 callersClassToolUsageFinishedEvent
Event emitted when a tool execution is completed
lib/crewai/src/crewai/events/types/tool_usage_events.py:62
next →1–100 of 2,624, ranked by callers