Mindset AI sits on top of your infrastructure, not inside it. Your MCP servers are the integration boundary — they receive structured requests from Mindset AI and query Snowflake on your behalf. Tenant isolation is enforced at the request level via the Context API. Business logic lives in two places: inside your MCP tools (the SQL and scoping rules) and in the agent configuration (domain vocabulary and orchestration rules). Getting both right determines agent accuracy. Your existing Snowflake RBAC, row-level security, and column masking apply unchanged throughout.Documentation Index
Fetch the complete documentation index at: https://docs.mindset.ai/llms.txt
Use this file to discover all available pages before exploring further.
Three-layer architecture
Every Snowflake integration follows this pattern. Mindset AI handles the agentic experience. Your infrastructure handles data access. Snowflake stores the data and enforces governance.
Data flow: a single request end to end
Here’s what actually happens when a user sends a message that needs Snowflake data.
- User sends a message in your product’s interface.
- Mindset AI attaches tenant ID and user context via the Context API. This happens on every request, no exceptions.
- The agent resolves intent against registered tools. It decides which MCP tool to call based on tool descriptions and the user’s message.
- Mindset AI calls your MCP server with structured parameters — tenant ID, the specific query parameters, and any context needed.
- Your MCP server executes SQL against Snowflake, applying RBAC, row-level security, and any application-level scoping.
- Your MCP server returns filtered JSON results to Mindset AI. Only the data the user should see crosses the boundary.
- The agent generates a response and renders any widgets or visualisations.
Tenant isolation
Mindset AI is built for B2B SaaS products serving multiple customers from a single deployment. Tenant isolation is enforced at the request level, not the infrastructure level.
WHERE clauses, or both.
Agent sessions are isolated per tenant. Conversation history, memory, and context never cross boundaries. One customer’s session cannot access another’s data or conversation state.
One deployment serves all your customers. You do not need separate Snowflake schemas or separate infrastructure per tenant.
Your existing Snowflake RBAC applies unchanged. Mindset AI does not bypass or replicate your security policies. Row-level security, role-based access, and column masking continue to work exactly as configured.
Where business logic lives
A common misconception is that business logic sits in Snowflake tables. In practice, it lives in two places, and getting both right determines whether your agents are accurate or unreliable.Inside your MCP tools (query-level logic)
This is logic encoded in the SQL your MCP tools run against Snowflake: Calculation definitions. “How we calculate churn” — the specific SQL that defines what churn means for your product. For Cortex users, this is the set of approved queries you provide as a RAG basis. Scoping rules. “Never query March 2024 because the data was corrupted.” “Only pull from these tables for this tenant.” “Exclude test accounts.” Data validation. Transforming and validating Snowflake query results before returning them.In the agent configuration (semantic-level logic)
This is logic that sits above the database — business terminology and orchestration rules: Domain vocabulary. When a user asks “which workflow is performing best,” the agent needs to know what “workflow” means in your product’s context. That’s not a Snowflake query — it’s business terminology injected into the system prompt. Tool descriptions. Tell the agent when to call each Snowflake-backed tool, in what sequence, and what the parameters mean. A well-written tool description is the difference between the agent calling the right Snowflake query and the wrong one. Orchestration rules. Which tools to call first, what data to gather from Snowflake before making a decision, what fallback behaviour looks like.Security and data governance
