Snowflake Cortex Agents integration.
This module provides integration with Snowflake's Cortex Agents REST API, enabling managed orchestration of multiple tools and conversation management.
Key Features:
Architecture:
The agent is built using focused mixins for maintainability:
Snowflake Cortex Agent integration with thread management and feedback.
This class provides access to Snowflake's Cortex Agents REST API, enabling managed orchestration of multiple tools with conversation management.
Mixin class providing feedback management functionality.
Mixin class providing agent management functionality.
Mixin class providing agent execution functionality within threads.
Input schema for creating Cortex Agents.
Input schema for Cortex Agent execution.
This schema defines the parameters for executing a Cortex Agent, following LangChain tool input patterns.
Schema for agent instructions and behavior.
Output schema for Cortex Agent responses.
This schema documents the expected structure of agent responses, following the same documentation patterns as existing tool schemas.
Note: Like other tool schemas in this package, this is for documentation and type hints only. The actual _run methods return JSON strings.
Schema for agent profile information.
Input schema for updating Cortex Agents.
Schema for agent budget constraints.
Enhanced input schema for agent execution with all parameters.
Input schema for agent feedback submission following official API specification.
Output schema for feedback operations following official API response.
Schema for agent model configuration.
Schema for agent orchestration configuration.
Schema for run messages.
Schema for individual streaming chunks.
Schema for streaming response metadata.
Input schema for updating threads.
Schema for agent tool definition.
Schema for tool resource configuration.
Schema for tool specification.
Mixin class providing thread management functionality.
Agent management functionality for Snowflake Cortex Agents.
This module provides CRUD operations for managing Cortex Agents via the REST API.
Pydantic schemas for Snowflake Cortex Agents.
This module defines input and output schemas for Cortex Agent operations, following the same patterns as existing tools in the package.
Thread management functionality for Snowflake Cortex Agents.
This module provides thread CRUD operations for conversation management.
Agent execution functionality for Snowflake Cortex Agents.
This module provides agent execution within threads using the REST API.
Feedback management functionality for Snowflake Cortex Agents.
This module provides feedback submission via the REST API.
Snowflake Cortex Agent implementation.
This module provides the main SnowflakeCortexAgent class that integrates with Snowflake's Cortex Agents REST API for managed orchestration and conversation management.