소스
System prompts
System prompts System prompts let you constrain agent behavior, add domain-specific context, or set the tone and style of responses. By default, the SDK uses a built-in system prompt that provides the agent with its core capabilities, inclu…
Cortex Code Agent SDK reference – Python
Cortex Code Agent SDK reference – Python This topic provides the complete API reference for the Cortex Code Agent SDK for Python, including all functions, classes, and types. Installation CopyExpandpip install cortex-code-agent-sdk Show l…
Cortex Code Agent SDK
Cortex Code Agent SDK Feature - Preview This feature is in preview. The Cortex Code Agent SDK lets you build agentic AI applications using Python and TypeScript. Your agents can read files, run commands, search codebases, execute SQL, and…
Handle approvals and user input
Handle approvals and user input Use allowedTools / disallowedTools rules and the canUseTool callback to control which tools the agent can use and how permission requests are handled. By default, the SDK enforces tool permissions and does no…
Cortex Code Agent SDK reference – TypeScript
Cortex Code Agent SDK reference – TypeScript This topic provides the complete API reference for the Cortex Code Agent SDK for TypeScript, including all functions, types, and interfaces. Installation CopyExpandnpm install cortex-code-agent-…
Hooks
Hooks This topic describes how to use hooks to run custom code at key points in the agent lifecycle. Hooks let you intercept tool calls, audit agent behavior, enforce policies, inject context, and control execution flow. How hooks work Hoo…
Cortex Code Agent SDK quickstart
Cortex Code Agent SDK quickstart This topic walks you through building an AI agent that reads a data pipeline script, finds bugs, and fixes them automatically using the Cortex Code Agent SDK. What you will do: Set up a project with the Cor…
SDK를 사용하여 커넥터 애플리케이션 구현하기
SDK를 사용하여 커넥터 애플리케이션 구현하기 미리 보기 기능 — 공개 모든 클라우드 공급자(정부 리전 포함)의 모든 리전에 있는 계정에서 사용할 수 있습니다. 자세한 내용은 Snowflake 담당자에게 문의하십시오. 이 섹션에서는 SDK 라이브러리를 사용하여 자체 네이티브 애플리케이션을 구현하기 위해 알아야 할 사항을 설명합니다. 첫 단계로 자습서 를 살펴보는 것이 좋습니다. SDK 구성 요소 선택하기 응답 및 오류 …
Multi-turn sessions and streaming input
Multi-turn sessions and streaming input This topic describes the main ways to send prompts to the Cortex Code Agent SDK: single-prompt queries when you want query() to manage the session lifecycle for you, streamed input for incremental pro…
SDK 구성 요소 선택하기
SDK 구성 요소 선택하기 미리 보기 기능 — 공개 모든 클라우드 공급자(정부 리전 포함)의 모든 리전에 있는 계정에서 사용할 수 있습니다. 자세한 내용은 Snowflake 담당자에게 문의하십시오. 커넥터 네이티브 SDK는 여러 구성 요소로 구성되어 있으며, 그중 일부는 독립적이고 일부는 서로 의존하여 작동합니다. 이 섹션에서는 커넥터에서 어떤 구성 요소를 켤지를 사용자 지정하는 방법을 설명합니다. 또한, 각 구성 요소에 …